Many versions of the GNU / Linux system use the popular Redhat Package Manager (RPM) system manager, a system for removing and installing programs. Almost all Linux users uninstall and install programs on their computer, for some it is a rather complicated process. The above program will help users install and uninstall programs effortlessly.
Method 1 of 3: Method One: Installation
Step 1. Download the RPM package you need
There are many RPM versions on the Internet, but if you are looking for a regular Red Hat RPM package, you can find it here:
- See the Red Hat Enterprise Linux installation media for many useful RPMs.
- Source RPM packages provided by the YUM package manager.
- Enterprise Linux add-on packages (EPEL) provide high quality applications for Red Hat Enterprise LInux.
Step 2. Install the RPM package
After downloading, you will have two options:
- Double click on the package. A package manager window will open with installation instructions.
- Open a terminal and type
rpm -i * package_location_and_name *(no spaces in the format
Method 2 of 3: Method Two: Removal
Step 1. Open a terminal and enter:
rpm -e * package_name *.
Do not enter the file extension. For example:
rpm -e gedit
Method 3 of 3: rpm codes
Step 1. The syntax for rpm -i commands is shown below
Step 2. Installation - Special Settings
- - h (or --hash) Type sign ("#") during installation
- -- test Perform installation test
- -- percent print percentage during installation
- -- excludedocs do not install documentation
- -- includedocs install documentation
- -- replacepkgs replace a package with a new copy of the same package
- -- replacefiles replace files belonging to other packages
- -- force ignore packages and conflicting files
- -- noscripts do not execute pre- and post-installation scripts
- -- prefix move the package to if possible
- -- ignorearch do not check package architecture
- -- ignoreos do not check the operating system of the package
- -- nodeps do not check dependencies
- -- ftpproxy use as FTP proxy
- -- ftpport use as FTP port
3 General settings
- - v Show additional information
- - vv Display Debug Information
- -- root Set alternate root to
- -- rcfile Install an alternative rpmrc file to
- -- dbpath use to find RPM database
- Sometimes a push installation may be required. To do this, enter
--forceto the team
rpm… This only works on the command line.
- Using the -U (upgrade) option instead of -i (install) ensures that the latest RPM is installed.
- Some packages will have dependencies. This means that you need to install another package in order for this one to work. For example, Ogle is an open source DVD player. Ogle itself cannot play DVDs, for this you need to install several other programs along with the Ogle package. If the rpm package has dependencies but you are not going to satisfy them, use the --nodeps command.