LinuxSpot
Having Fun with Linux and Other Open Source Operating Systems

What is RPM and how do you use it?
RPM based distributions are Linux distributions that use RPM (RedHat Package Manager) based packages to add programs and files to Linux. Generally, they are easier to administer than other types of files and install themselves with only a few  small steps. Here is a guide on how to use RPM based sytems:

Using RPM Based Packages


How to use RPM Commands

How to use RPM Commands

This section contains an overview of principal modes using with RPM for installing, uninstalling, upgrading, querying, listing, and checking RPM packages on your Linux system. You must be familiar with these RPM commands now because we'll use them often in the continuation of this book.

 To install a RPM package, use the command:

[root@deep] /#rpm -ivh foo-1.0-2.i386.rpm
                 
Take a note that RPM packages have a file of names like foo-1.0-2.i386.rpm, which include the package name (foo), version (1.0), release (2), and architecture (i386).

To uninstall a RPM package, use the command:

[root@deep] /#rpm -e foo
                 
Notice that we used the package name foo, not the name of the original package file foo-1.0-2.i386.rpm.

To upgrade a RPM package, use the command:

[root@deep] /#rpm -Uvh foo-1.0-2.i386.rpm
                 
With this command, RPM automatically uninstall the old version of foo package and install the new one. Always use rpm -Uvh to install packages, since it works fine even when there are no previous versions of the package installed.

To query a RPM package, use the command:

[root@deep] /#rpm -q foo
                 
This command will print the package name, version, and release number of installed package foo. Use this command to verify that a package is or is not installed on your system.

To display package information, use the command:

[root@deep] /#rpm -qi foo
                 
This command display package information; includes name, version, and description of the installed program. Use this command to get information about the installed package.

To list files in package, use the command:

[root@deep] /#rpm -qlfoo
                 
This command will list all files in a installed RPM package. It works only when the package is already installed on your system.

To check a RPM signature package, use the command:

[root@deep] /#rpm --checksig foo
                 
This command checks the PGP signature of specified package to ensure its integrity and origin. Always use this command first before installing new RPM package on your system. Also, GnuPG or Pgp software must be already installed on your system before you can use this command.



Hints for Successful Deployment of RPM Packages:

  Try to use your Linux distro's package manager whenever possible. This will help alleviate the need to download associated dependant packages (in most cases).

Pick the RPM file that is made specifically for your Linux distro, if possible. Using a RPM file designed for another distribution could spell a disasterous install and a less than stable system.

In most cases, you may need to use the command terminal. Make sure than you log in as root (su) with the appropriate root password, then navigate to the folder that you downloaded the RPM file to:

 cd /home/username/folder with rpm package

Then follow the commands listed above! Usually rpm -Uvh packagename will do the trick!


RPM Based Linux Distributions
  • aLinux: A distribution for home use equivalent to Windows XP Home (formerly Peanut Linux).
  • ALT Linux: A collection of popular Cyrillic-based distributions, such as Master, Compact, Junior, and Castle. APT package management tool.
  • Ark Linux: A distribution that is focused on ease of use and ease of learning, while remaining technically sane.
  • ASPLinux: A distribution that provides support for Russian and other Cyrillic languages.
  • Aurox: a Linux distribution with emphasis on support for several European languages.
  • Berry Linux: A medium Fedora Core based distribution that provides support in Japanese and English.
  • BLAG Linux and GNU: A distribution designed to provide many features while remaining within the size of one CD.
  • Caixa Mágica: "The Portuguese distribution of Linux".
  • cAos Linux: Diversely managed by the community, general purpose, lightweight (fast and can be suitable for running on older hardware) and easily customizable
  • CentOS: Community supported distribution which aims to be 100% compatible with the Red Hat Enterprise Linux distribution without Red Hat branding and various copyrighted software
  • Cobind Desktop
  • Conectiva: A Brazilian company merged with Mandriva Linux.
  • EduLinux: A distribution for educational purposes (cf. Guadalinex, Skolelinux ).
  • Fedora Core: A general purpose distro for workstation, desktop and server use. Developed by Red Hat and the community.
  • Fox Linux: A Fedora Core-based distribution made in Italy, stable and simple to use, designed for basic home computing tasks: browsing the Web, writing and printing documents, using multimedia and burning discs.
  • Linux Mobile System: A Fedora Core-based distribution designed to boot from USB Mass Storage devices, such as keydrives.
  • Magic Linux: An easy-to-use distribution for Chinese users.
  • PCLinuxOS: An easy-to-use LiveCD distribution which can be installed to hard drive. Originally based on Mandrake 9.2 but since pursued its own course of development while remaining an RPM-based distribution. Includes APT package management tool from Debian together with its Synaptic GUI frontend.
  • PCQLinux2005: A distribution made by the Indian magazine PCQuest, based on Fedora Core.
  • PLD Linux Distribution: A Polish distribution intended for more advanced users, while remaining more convenient than Slackware or Gentoo.
  • QiLinux: made in Italy, completely from scratch. The QiLinux staff has developed a desktop and live version as well as a server and advanced server version.
  • Red Flag Linux: A distribution developed in China and optimised for the Chinese market.
  • Scientific Linux: A distribution, solely recompiled from the source distributed under GPL by a commercial Red Hat Enterprise Linux (in RPM-based distributions).
  • Sesco Linux: A secure Linux distribution, solely recompiled from the source distributed under GPL by Sesco information Systems Inc., (in RPM-based distributions).
  • Tinfoil Hat Linux: A distribution for the security-conscious and paranoid.
  • Trustix: A somewhat-hardened distribution focused on security. Contrast SELinux, from NSA, which is a set of kernel modifications, not a distribution, and cannot be used alone, however.
  • Vine Linux: A Japanese distribution based on Red Hat Linux.
  • White Box Enterprise Linux: A distribution designed to be 100% binary-compatible with Red Hat Enterprise Linux 3.
  • Yellow Dog: A Red Hat Linux-based distribution for the PowerPC platform.
  • YOPER: "Your Operating System", a desktop distribution from New Zealand.
Commercially ( RPM / Debian) "Easy" Distros

  • ASLinux Desktop: A Debian-based distribution with KDE desktop tailored for Spanish speaking persons. Includes office, gaming, science and software development programs. See track record.
  • BlueCat Linux: An implementation of the Linux model enhanced for use in embedded systems ranging from small consumer-type devices to large-scale, multi-CPU systems.
  • Libranet: A Debian-based desktop distribution based upon and mostly compatible with Debian. The installation has hardware detection and the desktop has an 'adminmenu' (in both text and gui mode) to ease hardware and software configuration. The founder Jon Danzig passed away 2005.
  • Linspire: Another desktop-oriented distribution, previously called Lindows, based on Debian. Additional software is available from Linspire or via Debian's apt command, although compatibility with Debian is not guaranteed. Has significant proprietary software.
  • Mandriva Linux formerly known as Mandrakelinux. There are various products for servers, workstations, small businesses as well as individuals. Originally a Red Hat Linux variant optimized for Pentium-class CPUs, Mandriva Linux has since diverged to form its own distribution. While remaining entirely free software, Mandriva's business model adds further enterprise-class support and services, mainly through a subscription basis, as well as a delayed release strategy for individual non-members of their club. See homepage
  • MEPIS: An easy-to-use Debian-based distribution which also runs as a LiveCD, allowing you to try out MEPIS before you decide to install it on your hard drive. There are several flavors to choose from. See homepage.
  • MEPIS Lite - An entry level version of desktop MEPIS designed for home users with smaller hardware requirements (Pentium II/128MB/2G install).
  • SimplyMEPIS - The official name for the "MEPIS" distribution.
  • MEPIS SoHoServer - A general purpose server based on the recent release of Debian. Includes preconfigured Apache, PHP, Perl, MySql, Proftpd, Bind, DHCPd, Postfix, Dovecot, Shorewall, Squid, DansGuardian, Webmin, Usermin etc.
  • Mobilinux: By Montavista for smartphones.
  • Nitix: Developed by Net Integration Technologies Inc., Nitix claims to be the first autonomic Linux-based server operating system.
  • Novell Linux Desktop: A desktop-oriented Linux distribution supplied by Novell, Inc. (homepage) and targeted at the business market. In 2004 Novell acquired SUSE which is based in Nürnberg, Germany. SUSE is one of the most popular distributions in Europe. Like Red Hat Linux, it is a large distribution on several CDs/DVDs. Free Eval version are available that are virtually identical to commercial versions. Custom configuration tool YaST.
  • Open CoLinux: Commercial version of virtualisation engine of Linux for Windows called colinux. Runs Debian based Linux inside Windows with KDE desktop.
  • Progeny Componentized Linux: A Linux distribution developed by Progeny, based on Debian, using Anaconda installer ported from Red Hat Linux.
  • Red Hat Enterprise Linux: The solely-commercial distribution for server market. The inventor or RPM-packaging system for RPM-based distributions. See homepage
  • Sun Wah RAYS LX: A Debian-based desktop distribution, developed in China.
  • Turbolinux: A popular distribution in Asia, based on Red Hat Linux.
  • Xandros: Canadian based Xandros (based on the defunct Corel Linux) focuses on the desktop market and Windows compatibility. The Xandros distribution, unlike most others, may not be freely copied, as it contains proprietary software like the file manager, which allows direct copy-to-CD etc. Based on Debian,Xandros is compatible with Debian's dpkg package management system. Professional, like Lindows and SUSE. See homepage.
  • YES Linux: A turnkey distribution that is specifically targeted to the Small office and Home office (SOHO). See homepage.
© 2006 MyLinuxSpot. All rights reserved.
All Content provided by Barney T.
Powered by  Bravenet.com