GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


bash:using_yum_update_but_excluding_a_package

Centos/RedHat allows simple package install and upgrade using yum. Debian has a comparable function apt-get by the way but we're dealing specifically with yum here.

To update all packages

yum update

but if you want to update all except, for example the kernel, then you can use

yum -y --exclude=kernel\* update
/data/webs/external/dokuwiki/data/pages/bash/using_yum_update_but_excluding_a_package.txt · Last modified: 2019/08/01 11:03 by genadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki