What is an RPM??? How it's used in Linux? Explain with example?
RPM is a very powerful command to install, query, update , verify and delete software packages. These packages are consiste of log of files and meta-data. Meta-data have file attributes and descriptive information about the package.
Packages are of two types:
Binary package - used to compress software that to be installed
Source package - contain source code and recipe to produce binary packages.
1. How to install and upgrade package using rpm command
Before applying rpm install command, you have to download package rpm file on particular location. Then move to that location and use the rpm install command, otherwise it will show an error: no such file or directory
first make a directory with 'mkdir' command, download the rpm package file with 'downloadonly' command. then go for install command.