Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Installation Guide
Installing using rpm
ST Logo
Previous   Contents   Next

Installing using rpm

Installing directly from RPMs directly is different to installing using the installer. Because of the dependencies included in the RPM files, the rpm command must be used to ensure the packages are installed in the correct order. This may require multiple RPM files to be specified on a single rpm install command line.

Before starting the installation, we recommend that you delete any earlier releases installed and install the new release from scratch.

Note: Before deleting your installation, backup any files which you want to keep onto another directory or medium.

Delete the old RPMs, and ensure the install area is clean, ready for the new installation. (Note the use of back-quotes in these commands.)

host# rpm --erase `rpm -qa | grep "^stlinux20-"`
host# rpm --erase --noscripts `rpm -qa | grep "^stlinux20-"`
host# rm -rf /opt/STM/STLinux-2.0

Remember the RPMs for the target are marked as being for the ST40 or ST200/ST231 architectures and you are installing them on an x86 host. Normally rpm will not allow you to install files for a different architecture, so this check should be suppressed by adding the --ignorearch flag. The new packages can now be installed with rpm, taking care of the interdependencies. To install all downloaded RPMs, except the Busybox links (the recommended option):

host# rpm -Uhv --ignorearch `/bin/ls *.rpm | sed -e /busybox-links/d`

Note: Busybox links should not be installed, unless Busybox versions of the tools are explicitly required on the target system.

Previous   Contents   Next
Valid HTML 4.01! Last updated: 2005/11/14 14:29:50
© Copyright STMicroelectronics Limited, 2005
Printer