How to update Linux operating systems ?

 French

Linux has various commands to update all installed packages. Please note that system and package updates should be performed with care. It is very important to have up to date backup before you do this. The exact command depends upon your Linux distribution

Debian / Ubuntu / Mint Linux and friends try apt-get command.

apt-get command example to update all packages on the Debian or Ubuntu Linux

$ sudo apt-get update

$ sudo apt-get upgrade

CentOS / RHEL / Red Hat / Fedora Linux and friends try yum command.

yum command example to update all packages on the RHEL/CentOS/Red Hat/Fedora Linux

# yum update

 Suse / OpenSUSE Linux use zypper command or graphical tool called YaST online update.

zypper command example to update all packages on the OpenSUSE/Suse Linux

# zypper refresh

# zypper update

 Slackware Linux user try slackpkg command.

zypper command example to update all packages on the OpenSUSE/Suse Linux

# zypper refresh

# zypper update

 Arch Linux user try pacman command.

pacman command example to update all packages on the Arch Linux

# pacman -Syu

OR

# pacman –sync –refresh –sysupgrade

 Gentoo Linux user try emerge command.

emerge command example to update all packages on the Gentoo Linux

# emerge –sync

# emerge –update –deep –with-bdeps=y @world

Allen THOMPSON

My name is Allen THOMPSON. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, Networks telecom, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem.

One thought on “How to update Linux operating systems ?

  • Pingback: Comment mettre à jour les systèmes d'exploitation Linux? • EasyTutoFr

Leave a Reply