Unpacking the Junos XML Protocol Perl Client and Sample Scripts

To uncompress and unpack the gzip tar archive that contains the Junos XML protocol Perl client and sample scripts, perform the following steps:

  1. Create the directory where you want to store the Junos XML protocol Perl client application and sample scripts, and move the downloaded files into this directory. Then make it the working directory:
    % mkdir parent-directory% mv junoscript-perl-release-type.tar.gz parent-directory% cd parent-directory
  2. Issue the following command to uncompress and unpack the Junos XML protocol Perl client package:
    • On FreeBSD and Linux systems:
      % tar zxf junoscript-perl-release-type.tar.gz
    • On Solaris systems:
      % gzip -dc junoscript-perl-release-type.tar.gz | tar xf

where release is the release code (e.g. 10.3R1.1) and type is domestic or export.

Step 2 creates a directory called junoscript-perl-release and writes the contents of the package to it. A typical filename for the compressed tar archive might be junoscript-perl-9.5R1.8-domestic.tar.gz. Unpacking this archive creates the directory junoscript-perl-9.5R1.8/ directly under the parent-directory directory and moves the application files and sample scripts into this new directory.