Okay, my posts seem to get shorter and simpler by the day, but this comment by user lighans on my last post prompted me to write another quickie about installing stuff in VectorLinux.
Sometimes I’m a bit disappointed, because very few apps offer Slackware-ready (not to speak of VL-ready) packages on their websites for download. Thanks to the great community over at VectorLinux.com, more and more packages become available for VL on a daily basis, but some won’t be (possibly for good reasons).
However, a lot of times, RPM packages are available, as RPM is the standard package format under the Linux Standard Base. Fair enough, you might think, but how would that help me? Well, being a standard, of course there are options provided to be able to install RPM packages on other systems than RedHat or RH-based distributions. In VectorLinux (and quite possibly in all Slackware and even still possibly in most other distros), you have exactly two tools for installing RPM packages to your non-RedHat system:
rpm2tgz(as described in my last post) converts rpm files to tgz files (d’uh!). The output files can then be processed as usual (e.g., installed with
root:# rpm2tgz package-version.rpm
root:# installpkg package-version.tgz
- Midnight Commander (a file manager similar to Dos Shell (remember that?)) can install RPM packages!
Then, simply select the rpm you want to install and press F2:
The package installs as if it was being installed from command line, and you don’t have to convert (and risk data loss / package corruption) first:
Thanks to user lighans for this great tip!