Featured

    Featured Posts

RPM Package Manager

Some of the RPM-based distributions are Red Hat, Fedora, Fermi Linux, CentOS, SUSE Enterprise, openSUSE, and Mandriva. RPM is used to build, install, verify, update, and uninstall software in these distributions. This is done by using the rpm command, along with options that specify the action you would like to perform.
Some common options used with the rpm command are:
linux rpm options
The convention for naming RPM packages is: packagename-a.b.c-x.arch.rpm. Each part of the package name has a meaning:
Package Name – the name of the package (packagename)
Version Number – package’s version number (a.b.c)
Build Number – software release number (x)
Architecture – the architecture for which the package was built (arch)
For example, the package name kdessh-4.3.5-0.3.3.x86_64.rpm represents a program named kdessh, version 4.3.5, build 0.3.3 for x86_64 systems.
Installing packages using rpm
To install a package using the rpm command, type rpm followed by the -i option and the name of the package. For example, to install kdessh we would use the following command:
linux rpm install package
NOTE – we have used the -v option to get more detailed information
Getting information about packages using rmp
To determine the version and release information for software packages, use the rpm command with the -q option:
rpm query package
To get even more information use -qi options:
rpm qi options
Uninstall packages using rpm
To uninstall software packages using rpm, use the -e option:
rpm uninstall package


NOTE – rpm does not install dependencies. Some higher level tools (like yum) are used for dependency management.
author

Author Name

Author Description!

Get Free Email Updates to your Inbox!

Post a Comment

www.ccna.ma

yu
Powered by Blogger.

Translate

Copyright © Learn Linux Th3pro.xyz | Blogger Templates | Designed By Code TAOUSSI