Dave's Brain

Browse - Computer Tips - How can I make all installed packages up-to-date?

Date: 2015may29

Q.  How can I make all installed packages up-to-date?

A.

RedHat/CentOS
yum update yum -y update (Say "yes" to everything - run unattended)
Fedora
dnf update dnf -y update (Say "yes" to everything)
Ubuntu
sudo apt-get upgrade sudo apt-get -y upgrade (Say "yes" to everything)
FreeBSD
pkg upgrade env ASSUME_ALWAYS_YES=YES pkg upgrade (Says "yes" to everything)
FreeBSD on two lines (saying "yes" to everything)
export ASSUME_ALWAYS_YES=YES pkg upgrade

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.