How to install RPM files

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.

3.5 ★ | 2 Vote

May be interested

  • How to Open EXE Files on MacbookHow to Open EXE Files on Macbook
    this article shows you how to open executable files (exe) on mac. to do this, you can install the free software wine, or install windows 8 or 10 using your mac's boot camp feature.
  • How to install Microsoft NET Framework 4.5 full for Windows 7, 8 with Windows UpdateHow to install Microsoft NET Framework 4.5 full for Windows 7, 8 with Windows Update
    in the article below, tipsmake.com will guide you on the necessary steps to install net framework 4.5 on windows 7 platform. technically, there are many ways to install the .net framework platform on the operating system. windows such as downloading offline files, installing via windows features ...
  • How to compress and decompress files with WinRar?How to compress and decompress files with WinRar?
    with the advantages of fast compression and decompression speed, support for many different compression formats, simple one-click operation, winrar is the first choice of users when it is necessary to compress files in windows. to use it, first download winrar and install it on your computer.
  • How to install Ubuntu in parallel with Windows using USBHow to install Ubuntu in parallel with Windows using USB
    installing ubuntu in parallel with windows 7 and 8 with usb will help users not to waste time writing files to disk, running on many different computers.
  • How to use ZArchiver to compress and decompress files on AndroidHow to use ZArchiver to compress and decompress files on Android
    not always android also allows you to open all kinds of files downloaded to your device, especially compressed files. if you regularly work with rar or 7z files, you will need to install a support app.
  • How to install CAB files for updates and drivers on Windows 10How to install CAB files for updates and drivers on Windows 10
    on windows 10, you can install the .cab file using the deployment image servicing and management (dism) command-line tool available in the command prompt, and here's how.
  • Instructions to convert FLV files to AVI quicklyInstructions to convert FLV files to AVI quickly
    after downloading the flv video from the internet to your computer, you may want to transfer the file to other popular video formats to watch it (save the effort to install additional flv file reader software). today, tipsmake.com will guide you how to convert flv files to avi (also a popular format on your computer) quickly. please consult.
  • How to Open EXE FilesHow to Open EXE Files
    files with the '.exe' extension are called executable files, or exe files. this is one of the most popular file formats on windows operating systems, they are used to install or run application software. exe files are also used to package and distribute small scripts or macros because they allow users to condense their work into a single file and compress its size. opening an exe file on windows is quite simple, but opening an exe on mac is a bit more complicated. alternatively, you can extract the exe file.
  • 5 Recycle Bin settings on Windows 11 you should know5 Recycle Bin settings on Windows 11 you should know
    the recycle bin changes very little over time. it's where deleted files are stored until you empty the recycle bin, recover files, or run out of space. when the recycle bin runs out of memory, it deletes the oldest file in the recycle bin to make space for the newly deleted files.
  • How to Play FLAC FilesHow to Play FLAC Files
    flac files are created using the free lossless audio codec to compress audio files while maintaining a better audio quality compared to mp3 compression. playing flac files requires you to install a software or filter that supports the flac...