Uninstalling STLinux
STLinux distribution, is rpm package based. So, it is possible to manage any STLinux package by rpm standard commnads. For more details, please refer to the RPM official site at:
rpm.org.
To simplify uninstall operations, STM provides a simple uninstall script;
click here to download.
Of course, it is mandatory to run it with administrator privileges.
It will uninstall only the specified STLinux distribution. The uninstall script have the following options/parameters:
--arch: specify the architecture to remove (sh4, sh4_uclibc, arm)
--distro: specify the revision of the distribution (2.2, 2.3, 2.4)
--force: force to remove all the installation directories
--dry-run: simulate the uninstall process but don't remove any package
--silent: do not displays what is going on
--debian: uninstall for debian like systems
--help: help messages
For example, to uninstall the STLinux24 sh4 distribution:
host% ./uninstall.sh --arch sh4 --distro 2.4
It will remove all STLinux sh4 rpms packages.
If there are multiple installations of STLinux distributions, (for example sh4 and sh4_uclibc) uninstall, will remove only the specified distribution.
In this case, (more than one STLinux distribution) it is allowed remove them invoking the uninstaller more times. One time for each distribution to remove.