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...")
 
(Debian)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Installing Updates ===
+
== Installing Updates ==
  
==== Debian ====
+
=== Debian ===
  
 
  $ 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:
  
  $ apt-get upgrade -s
+
  $ apt-get dist-upgrade -s
  
==== RPM based distributions ====
+
=== SUSE Linux Enterprise Server ===
  
===== RHEL =====
+
  $ zypper dup
 
 
$ yum update
 
 
 
===== SLES10 =====
 
 
 
$ zypper up -y -t package
 
 
 
===== SLES11 =====
 
 
 
  $ zypper up
 
  
 
You might need to run
 
You might need to run
Line 30: Line 20:
  
 
to update the repository metadata before running ''zypper up''.
 
to update the repository metadata before running ''zypper up''.
 +
 +
=== RedHat Enterprise Linux ===
 +
 +
$ yum update
  
 
[[Category: OX6]]
 
[[Category: OX6]]

Latest 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 dist-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