How to install RPM files

Both packages can be used with the RPM command. In this article we will talk about BINAR files (binary), also source rpm file type you can refer to in the same way. For beginners, pay attention to the version of the RPM package. It must match the structure of the destination computer (i386, i586, i686, sparc; usually for i386 devices).

This tutorial is of more information about PRM files and all of its operators and options. There are two types of RPM packages:

- Source rpm file with .src.rpm extension.

- Binary code with extension tail: .rpm .

Both packages can be used with the RPM command. In this article we will talk about BINAR files (binary), also source rpm file type you can refer to in the same way. For beginners, pay attention to the version of the RPM package. It must match the structure of the destination computer (i386, i586, i686, sparc; usually for i386 devices). Most of these packages are hosted on FTP servers. You just need to search in the right directory.

After downloading the file, the problem of installing the directory anywhere does not seem to matter. Even RedHat has a special directory (DIRECTORY) used to store these packages before installing. You don't need to use it if your computer is a multi-user system. That can help things get more organized.

The directory we are talking about can be found in / usr / src / redhat / RPMS on RedHat distributions. Now, we will begin to learn how to install RPM packages.

If you are a beginner, you should use " rpm - help " command to review all RPM options. RPM has many options, you may have to look up to 2 pages or more. To summarize, you should use the command " rpm --help | less " or press Shift + PageUp / PageDown to scroll up, scroll down while watching.

The basic command to install the RPM package is " rpm -i [options] [rpm package] ". For example: " rpm -i daniel.rpm " will install the daniel.rpm package. It is also useful when you add -vf options in the progress bar display. Use the progress bar to end with the command " rpm -ivh daniel.rpm ".

RedHat package manager (Red Hat Package Manager -RPM) also supports UPDATE files with the command: " rpm -U new_daniel.rpm ". You can add the -vf extension in the progress bar. If there is something wrong during the update process, go back to the old version with the command: " rpm -U --oldpackage [name_package_package] ". For example: " rpm -U --oldpackage daniel.rpm ".

If you want to UNINSTALL a package, you can use the command: " rpm -e [package_name] ", for example: " rpm -e new_daniel.rpm ". There are some really useful options for this case. For example " --nodeps " used under the syntax " rpm -e --nodeps new_daniel " will remove the package, but there is no need to check if other package components are destroyed. You should use SIMULATE the UNINSTALL option before actually removing it. The " rpm -e --test new_danie.rpm " command will display a list of all potentially dangerous components if the UNINSTALL process has an error.

Besides these operators, you can use RPM COMMAND (RPM command) for other operations such as:

rpm -q -a # represents a list of packages installed on the system.

rpm -q -l new_daniel # represents a list of files in this package.

rpm -q -c new_daniel # represents "daniel" package configuration files.

rpm -q -d new_daniel # represents the help files (HELP) of the package.

rpm -q -i new_daniel # shows package information (size, url, summary description)

rpm -q -R # represents all package dependencies.

Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile