Disabling package updates from Yum in Centos and AlmaLinux
Sometimes it happens that we don't want a package to get updated with the rest after running yum update.
Today, a simple way to block a given package from updating with the rest.
We log into the terminal and edit 2 files:
1 | nano /etc/yum.conf |
And
1 | nano /etc/dnf/dnf.conf |
And we search for or add a line:
1 | exclude=httpd php mysql |
It is located in the section:
## Exclude following Packages Updates ##
1 | httpd php mysql |
We replace with packages that we want not to be updated.
Related entries:
Installing the OSA Studio 27.1 w Ubuntu 20.04, Ubuntu 21.04
Installing Oracle Java 16 and Ubuntu 20.04, 18.04, 20.10
Installation of Spotify in the Debian and Ubuntu Systems
gconf-service gconf-service-backend gconf2-common libappindicator1 libc++1 libc++1-9 libc++abi1-9 libdbusmenu-gtk4 libgail-common libgail18 libgconf-2-4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-commonAll-in-one voice and text chat for gamers
All-in-one voice and text chat for gamers that's free 20.04
Installation Nodejs system Centos





