Difference between revisions of "Template:UpdatePackage"

(Installing Updates)
(Debian)
Line 5: Line 5:
 
  $ apt-get update
 
  $ apt-get update
  
  $ apt-get upgrade
+
  $ apt-get dist-upgrade
  
 
If you want to see, what apt-get is going to do without actually doing it, you can run:
 
If you want to see, what apt-get is going to do without actually doing it, you can run:

Revision as of 14:34, 3 April 2012

Installing Updates

Debian

$ apt-get update
$ apt-get dist-upgrade

If you want to see, what apt-get is going to do without actually doing it, you can run:

$ apt-get upgrade -s

SUSE Linux Enterprise Server

$ zypper dup

You might need to run

$ zypper ref

to update the repository metadata before running zypper up.

RedHat Enterprise Linux

$ yum update