Difference between revisions of "Template:UpdatePackage"

(Created page with "=== Installing Updates === ==== Debian ==== $ apt-get update $ apt-get upgrade If you want to see, what apt-get is going to do without actually doing it, you can run: $ a...")
 
Line 1: Line 1:
=== Installing Updates ===
+
== Installing Updates ==
  
==== Debian ====
+
=== Debian ===
  
 
  $ apt-get update
 
  $ apt-get update
Line 11: Line 11:
 
  $ apt-get upgrade -s
 
  $ apt-get upgrade -s
  
==== RPM based distributions ====
+
=== RPM based distributions ===
  
===== RHEL =====
+
==== RHEL ====
  
 
  $ yum update
 
  $ yum update
  
===== SLES10 =====
+
==== SLES10 ====
  
 
  $ zypper up -y -t package
 
  $ zypper up -y -t package
  
===== SLES11 =====
+
==== SLES11 ====
  
 
  $ zypper up
 
  $ zypper up

Revision as of 11:39, 13 July 2011

Installing Updates

Debian

$ apt-get update
$ apt-get upgrade

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

$ apt-get upgrade -s

RPM based distributions

RHEL

$ yum update

SLES10

$ zypper up -y -t package

SLES11

$ zypper up

You might need to run

$ zypper ref

to update the repository metadata before running zypper up.