Redhat Package Manager - yum and rpm
This section covers the RedHat Package Managers (RPM):
- How to find software ?
- How to install software ?
- How to remove software ?
RedHat Package Manager (RPM)
RPM stands for RedHat Package Manager . A package manager is used to install, upgrade, and remove packages.
Here is a list of distributions that are based on the RPM package format.
- Oracle Linux
- Scientific Linux
yum Command line
yum command line utility is a package management program for those Linux distributions that use RPM packages.
You can find packages to by providing a search string to
yum search string. You can also display an information about a package or an application by using
yum info package_name. You can install packages with the
yum install [-y] package_name. Yum will typically ask you to review your request and say yes or no if you want to continue. To automatically answer yes, use
-y option. Also note that installing or removing software requires root or superuser priviledges. To remove a
package, it's simply
yum remove package_name.
| ||Search for string.|
| ||Display information for package_name.|
| ||Install package. Use |
| ||Remove package_name|
In addition to the
yum command, you can also use the
rpm command to interact with a package manager. The
rpm -qa lists all the installed packages. The
rpm -qf path_to_file tells you what package that file belongs to. Using
rpm -ql package_name will list all the files that belong to that particular package. To install a package, use
rpm -ivh package_name.rpm. To erase or uninstall a package, use
rpm -e package_name.
| ||List all installed packages.|
| ||List what package the path_to_file belongs to.|
| ||List package's files.|
| ||Install a .rpm package.|
| ||Erase (uninstall) package.|
References & Resources
- Dependency injection
- Directives and Pipes
- Data binding
- HTTP Get vs. Post
- Node.js is everywhere
- MongoDB root user
- Prefer Async Script Loading
- Components, Bootstrap and DOM
- What is HEAD in git?
- Show the changes in Git.
- What is AngularJS 2?
- Confidence Interval for a Population Mean
- Accuracy vs. Precision
- Sampling Distribution
- Working with the Normal Distribution
- Standardized score - Z score
- Evaluating the Normal Distribution
- What is Nodejs? Advantages and disadvantage?
- How do I debug Nodejs applications?
- Sync directory search using fs.readdirSync