It is the process of installation, updating, configuration, and removal
of software packages with package management tools in the Linux OS.
In CentOS, Fedora, Alma Linux, RHEL Linux we can use RPM and YUM
tools used to install, update and remove any software.
To maintain a reliable and consistent system yum tool we can use to
automate installation and updation of RPM packages with the help of
centralized repositories. Repositories are centralized online store with
updated RPM packages.
#rpm –q package_name
#rpm –q zip
Zip-3.0.10.el7.x86_64
#rpm –qa |more
#rpm –e package_name
#rpm –e zsh
#rpm –e zsh --nodeps
#rpm –q zsh To confirm removal
#mount /dev/sr0 /media
VERIFY USING
#mount
#rpm <option> <package_name.rpm>
-i Install
-v Verbose information
-h Show progress using hashes
#rpm –ivh zsh-5.0.2-34.el7_82.x86_64.rpm
#rpm –ivh vsftpd-3.0.2-11.el7_2.x86_64.rpm --force
#rpm –qi package_name
#rpm –ivh ftp://192.168.1.14/pub/zshxxxx.rpm
#rpm -e package_name
#rpm -e vsftpd
#cp /etc/yum.repos.d/CentOS-Base.repo /root
#sudo curl -fsSL
https://raw.githubusercontent.com/AtlasGondal/centos7-eol-repo-
fix/main/CentOS-Base.repo -o /etc/yum.repos.d/CentOS-Base.repo
#sudo yum clean all
#sudo yum makecache
#sudo yum update
#yum search nmap
#yum remove package_name
#yum remove nmap
#yum list package_name
#yum list samba*
#yum list installed package_name
#yum update package_name
#yum update httpd
#yum search nmap
#yum groupinstall “Basic Web Server”
#yum groupremove “Basic Web Server”