PathScale Installer Script Version 3.1

With the PathScale Installer, the PathScale Compiler Suite
can be installed from RPMs, tar files, or an ISO image, to those
directories for which you have access and permissions. The Installer
can also configure your subscription management and make any necessary
library path changes. It can be used to install, upgrade, or install
alongside existing installations. The Installer can also be used to
remove currently installed compiler environments.

Note: You cannot use the Installer to install software to directories for which you do not have access or permission. Root permission is required to install RPMs or the Subscription Management Server (used with a floating subscription). Gain root permission before starting the Installer if you intend to install RPMs or the Subscription Management server.

The PathScale Installer only works for installing the
supported distributions for the PathScale compilers:

  • RedHat Fedora Core 3, 4, 5, 6, 7
  • RedHat Enterprise Linux 4, 5
  • SUSE Linux Enterprise 10
  • OpenSUSE 10.1, 10.2
  • SUSE Linux Enterprise Server 9
  • SUSE Linux Professional 9.3

Installer Pre-requisites

  • The latest version of the installer (see below)
  • Access and permissions for any directory in which you are installing
  • Software in the form of RPMs, a tarfile, or an ISO image
    (mounted) that you want to install
  • Access and permissions for any directory containing this software

Additional Note: SUSE 9.x and SLES 9 users must have
python and the python-curses package installed to
use the Installer. These packages can be found on your distribution
media, but are not part of the default installation. You may want to
use the RPM install method instead.

Right click to download and save the LATEST VERSION OF THE INSTALLER HERE.

Save the link as install (with no file extension) to a temporary directory. Then follow the directions below for downloading the Compiler Suite Software.

Download the PathScale Compiler Suite Software

You can download the PathScale Compiler Suite software to install
from the PathScale
support website
. If you have downloaded a tarball containing RPMs or non-root tar files, you will need to untar these tarballs before running the install script by using the instructions below. Then you change
into the directory where the software is located and run the
installer, as detailed in below Running the Installer.

Untar the tar files

If you downloaded a root/RPM install tarball, use the following commands (as root):

# cd <temporary_directory>
# tar xvf <downloadfilename>.tar

If you downloaded a non-root install tar file, the commands are the same, but you do not need to be root:

$ cd <temporary_directory>
$ tar xvf <downloadfilename>.tar

In both cases, a directory named pathscale-eko-compilers-<version> is created.

Copy the new installer you downloaded into this directory; this is the directory in which you will run the installer.

Note: If you downloaded the ISO image or are using a CD, you do not need to use these commands, as these files are not in the tar format.

Mounting an ISO Image

If you choose to install software from an ISO image, you need to
have root privileges, and also mount the ISO image so that it is
accessible. Before you do this, you need to select an existing mount
point or create a new one.

To create a new mount point named iso use this command (as
root):

# mkdir /mnt/iso 

To mount an ISO image, use the following command (as root):

# mount -r -o loop <iso_file_name> <mount_point>

For example:

# mount -r -o loop PathScale-Compiler-Suite-3.0.99.iso /mnt/iso

Once you have mounted the ISO image, copy the new installer you downloaded into the mount point. This is the directory in which you will run the installer.

Accessing the Physical CD

If you are installing software from a CD, you need access to the
CD. On many systems mounting a CD will occur automatically when the CD
is inserted. If this does not occur, use the following command (as
root):

   # mount /dev/cdrom 

or

   # mount -r -t iso9660 /dev/cdrom /mnt/cdrom

Once you have access to the CD, change directories to the CD and
run the installer.

Running the Installer

To run the installer, change to the proper directory and run the installer as shown below.

For Root/RPM and Non-root tarFile Installation:

If you have downloaded and extracted the tarball for either the root/RPM tar file or the non-root tar file, as described in Untar the tar files, you see that a directory named
pathscale-eko-compilers-<version>
is created. This is where the installer is run. Note that you must be root if you using a root/RPM install.

$ cd pathscale-eko-compilers-<version>
$ ./install

For ISO Image and CD Installation:

$ cd <mount_point>
$ ./install

A screen similar to the one below will prompt you through the
install process.

What the Installer is doing

The installer first checks to see what version(s) of the PathScale
Compiler Suite are already installed on the system, and what access and
permissions you have for installation. Then it will check for and
configure your subscription file.

The Installer will also notify you of suggested configuration
changes to your LD_LIBRARY_PATH environment variable. If
you are doing an RPM install, the Installer will make those changes for
you.

Exiting the Installer

The Installer will automatically exit after completing the
installation. If you type Control-c before entering the
Installation Progress screen, you will exit the Installer without
making any changes. If you exit during or after this screen, you will
have a partial or incomplete installation. To remove an unwanted
installation, re-run the Installer and select "Uninstall" on the first
screen.

Use the Installer to Upgrade or Uninstall Compilers

If you select upgrade, you will be presented with a selection of
available install options (tar, RPM). Choose the option that matches
the type of installation you have already installed (tar, RPM). All
previous instances of the compiler will be removed and the new version
will be installed. Your existing subscription file will be moved to
the new install location with the upgrade.

The Installer can also be used to uninstall existing
PathScale compiler environments. When the Installer finds an existing
PathScale compiler installation, it asks if you want to uninstall this
version or install the newer version alongside. If you select
"Uninstall"> the Installer will remove the existing compiler
installation.

Back to top

categories [ ]