RPM Ricerca programma nei pacchetti

Per sapere in quale pacchetto si trova un programma usare il comando “yum provides <programma>” [root@2676d68ee70e /]# yum provides man Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile * base: mirror.spreitzer.ch * extras: mirror.spreitzer.ch * updates: mirror.spreitzer.ch man-db-2.6.3-11.el7.x86_64 : Tools for searching and reading man pages Repo : base Matched from: Provides : …
Continue reading RPM Ricerca programma nei pacchetti

CentOS 6 EOL come riattivare YUM

Per riattivare yum in CentOS6 copiare quanto segue ed incollarlo nel prompt dei comandi, successivamente premere invio: cat <<-‘EOF’ > /etc/yum.repos.d/CentOS-Base.repo [C6.10-base] name=CentOS-6.10 – Base baseurl=http://vault.centos.org/6.10/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1 metadata_expire=never [C6.10-updates] name=CentOS-6.10 – Updates baseurl=http://vault.centos.org/6.10/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1 metadata_expire=never [C6.10-extras] name=CentOS-6.10 – Extras baseurl=http://vault.centos.org/6.10/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1 metadata_expire=never [C6.10-contrib] name=CentOS-6.10 – Contrib baseurl=http://vault.centos.org/6.10/contrib/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 …
Continue reading CentOS 6 EOL come riattivare YUM