Using the Installer Script

The ST Linux Distribution includes an installer script. This is found in the root directory of the installation CD-ROM and can also be downloaded from the FTP server.

The installer directory contains all the necessary tools for installing the distribution from a local CD-ROM, from the filesystem, or over the internet.

The installer uses yum to handle the installation and dependency checking of RPM files. Details on how to use the ST version of yum without using the installer and on how to update the distribution in future can be found here.

Using the installer

Assuming that the STLinux-2.3-03-11-07.iso ISO image is mounted at /mnt/cdrom, start the installer as follows:

host% su
password
host# cd /mnt/cdrom
host# ./install all-sh4-glibc

Note: you must be the root user to install the distribution. This is the reason for the su command.

The install script accepts a number of options. Use the --help option to display a complete list.

 
host% ./install --help 

Installer options

The installer supports the following options:

-h,--help
Print the help message and then exit
-n, --nonet
Do not attempt to install packages from the FTP repository. This forces the installer to use only the packages found on the ISO image.
all-sh4-glibc
Install all packages for the ST40 architecture and the glibc based toolchain.
all-sh4_uclibc
Install all packages for the ST40 architecture and the uClibc based toolchain.

Note for Redhat Enterprise Linux 4 users

If installing on a RHEL4 host (not a clone such as CentOS 4), then the install script may generate an error indicating that the following packages required by styum are missing and need installing:

  • python-elementtree
  • python-urlgrabber

These packages are not provided by RedHat for RHEL4 and instead have to be downloaded and installed from another repository. Suitable versions of these packages are provided in the equivalent CentOS 4 repositories, for example the following are the CentOS 4.9 packages (equivalent to RHEL 4 Update 9):