Chapter 2. Installation

Table of Contents

2.1. Unpacking the Archive
2.2. Testing the SRR Module
2.3. Installing the SRR Module
2.4. Enabling Auto-Loading for the SRR Module
2.5. Example Code

The library installs as a dynamically loadable kernel module. It has been allocated an official minor number from the kernel's miscellaneous minor-number space.

[Note]

The SRR Module will not compile on a 64-bit Linux kernel.

2.1. Unpacking the Archive

The SRR Module is shipped as a gzipped tar file.

[Note]

If you download the archive using a Windows based browser you may find that the browser saves the archive as a .gz file instead of a .tgz file. If this happens, simply modify the file extension to be .tgz before proceeding.

To unpack the archive in preparation for installation, follow this procedure:

  1. Log in as root, or su to root.
  2. Download or move the srr-x.x.x.tgz file to a temporary directory and then cd to that directory.
  3. Issue the tar command:
    # tar xzvf srr-x.x.x.tgz
    This will create the directory srr-x.x.x/ and its sub-directories.
  4. Change to the srr-x.x.x/ directory:
    # cd srr-x.x.x/
  5. Issue the make command:
    # make