RPM Red Hat Package Manager Install/Remove/Upgrade/Query Software's



How to Install or Remove an RPM Package

Three Methods:

Many GNU/Linux distributions use the popular Redhat Package Manager (RPM) system of adding or removing programs. Almost all Linux users will encounter the desire to add software to their computer, or remove a program that came with their version of Linux. While installing new software can be a complex, error-prone job, RPM will turn that arduous task into a single command.

Steps

Installation

  1. Download your desired RPM package.There are many RPM depositories on the Internet, but if you're looking for Red Hat RPM packages, you can find them here:
    • The Red Hat Enterprise Linux installation media, which contain many installable RPMs.
    • The initial RPM repositories provided with the YUM package manager.
    • The Extra Packages for Enterprise Linux (EPEL) provides high-quality add-on packages for Red Hat Enterprise Linux.
  2. Install the RPM package.Once downloaded, you have two options:
    • Double-click the package. A package management window will appear with instructions to guide you through the process.
    • Open a terminal window, and typerpm -i *package_location_and_name*(without the spaces inand)

Removal

  1. Open a terminal window, and type:rpm -e *package_name*. Do not type the extension on the file. For example:rpm -e gedit

rpm codes

  1. The rpm -i command syntax is listed below.
  2. Install-specific options:
    • -h (or --hash)Print hash marks ("#") during install
    • --test Performinstallation tests only
    • --percentPrint percentages during install
    • --excludedocsDo not install documentation
    • --includedocsInstall documentation
    • --replacepkgsReplace a package with a new copy of itself
    • --replacefilesReplace files owned by another package
    • --forceIgnore package and file conflicts
    • --noscriptsDo not execute pre- and post-install scripts
    • --prefix <path>Relocate package to <path> if possible
    • --ignorearchDo not verify package architecture
    • --ignoreosDo not verify package operating system
    • --nodepsDo not check dependencies
    • --ftpproxy<host>Use <host> as the FTP proxy
    • --ftpport <port>Use <port> as the FTP port
  3. General Options
    • -vDisplay additional information
    • -vvDisplay debugging information
    • --root <path>Set alternate root to <path>
    • --rcfile <rcfile>Set alternate rpmrc file to <rcfile>
    • --dbpath <path>Use <path> to find the RPM database

Community Q&A

Search
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • Rarely, you will need to force an installation. To do this, pass the--forceargument to therpmcommand. - This will only work on the command line.
  • Using the parameter -U (update) instead of -i (install) guarantees that you install the latest version of the RPM.
  • Some packages will havedependencies. All this means is that you must install another package for the desired one to work. An example of this is Ogle, an open-source DVD player. On its own, Ogle can't play a DVD, but requires a few other programs to be installed, in addition to the main Ogle package. If the rpm has dependencies and you don't care about satisfying them you can use the --nodeps option as well.

Warnings

  • It is possible to over-write some data that is required for another program to run. Always be cautious whenever you add or remove anything from your system.

Related wikiHows

Sources and Citations

Article Info

Categories:

In other languages:

Español: , Deutsch: , Português: , Italiano: , Русский: , 中文: , Français: , Nederlands: , Bahasa Indonesia: , हिन्दी: , العربية: , Tiếng Việt: , 한국어: , Čeština: 

Thanks to all authors for creating a page that has been read 243,056 times.





Video: Using Linux RPM's to install programs

How to Install or Remove an RPM Package
How to Install or Remove an RPM Package images

2019 year
2019 year - How to Install or Remove an RPM Package pictures

How to Install or Remove an RPM Package forecast
How to Install or Remove an RPM Package advise photo

How to Install or Remove an RPM Package pictures
How to Install or Remove an RPM Package photo

How to Install or Remove an RPM Package How to Install or Remove an RPM Package new pics
How to Install or Remove an RPM Package new pictures

photo How to Install or Remove an RPM Package
pics How to Install or Remove an RPM Package

Watch How to Install or Remove an RPM Package video
Watch How to Install or Remove an RPM Package video

Discussion on this topic: How to Install or Remove an RPM , how-to-install-or-remove-an-rpm/
Discussion on this topic: How to Install or Remove an RPM , how-to-install-or-remove-an-rpm/ , how-to-install-or-remove-an-rpm/

Related News


Keeping Up With the Kardashians: Kim Kardashian over Caitlyn Jenner
How Baby Name affects Personality
Watch A Monkey Perform CPR To Save Another Monkey
How to Read a Nautical Chart
Now Playing: Know your spirits: Whisky
WTF Is Plumpy’nut, the Life-Saving Peanut Butter
I Went to a Sex Party I Found On the Internet and It Was Hilariously Awkward
CedarCreekWoodshop Cedar Planter Box planter Size: 12 H x 48 W x 12 D
Signs That Someone Wants to Be Your Friend
Health Benefits of Ajwain (Carom)
See April the Giraffes Calf Meet His Daddy for the First Time



Date: 06.12.2018, 14:44 / Views: 75343