Installing RPM
From Granular Linux Documentation
Contents |
What is RPM?
Granular Wiki has a detailed page on RPMs.
RPMs in Granular
Granular, like many other Linux distros, utilizes RPMs for package management. So, you are likely to encounter a situation when you need to install a software or a package that comes with .rpm file extension. This tutorial will tell you about several ways to install RPMs.
NOTE: Whenever you are downloading software for Linux from some website and have a choice of downloading the software in .rpm format, opt for that option for easy installation and best results.
Installation using KPackage
- KPackage is included in Granular 1.0. But if you don't have it, install it easily using Synaptic Package Manager.
- Once you have made sure KPackage is installed, you just need to double-click on an RPM file to open it in KPackage. Alternatively, right-click on the RPM and choose Open With > KPackage.
- Click on the Install button below the details of the RPM in KPackage.
- A new window will appear giving several options for installation.
- Remain everything as-is and click on the Install button to start the installation.
- Enter the password for root if prompted for it.
- The result of the installation will be displayed in the big right pane.
- A result of 0 indicates successful installation.
- A result of 1 indicates failed installation.
Installation using Synaptic
Installing packages through Synaptic Package Manager is the easiest way to install new software. Synaptic installs packages using repositories (collection of organized RPM packages). So in a way, when installing something using Synaptic, you install corresponding RPMs packages.
Installation through command-line
The command-line way is, perhaps, the toughest way to install RPMs preferred mostly by advanced Linux users. You can find some RPM related commands in Granular Wiki if you wish to install RPMs this way.