Difference between revisions of "Linux installing updates"

From rdkwiki
Jump to: navigation, search
(Created page with "== Intro == The steps below describe how to install the latest package-updates. == Install package-updates on CentOS 7 == * '''sudo yum update all''' --> install all availabl...")
 
Line 6: Line 6:
 
* '''sudo yum clean all''' --> clean up files
 
* '''sudo yum clean all''' --> clean up files
  
== Install package-update on ubuntu 16.04 ==
+
== Install package-updates on ubuntu 16.04 ==
 
* '''sudo apt-get update''' --> update the package-lists with latest information
 
* '''sudo apt-get update''' --> update the package-lists with latest information
 
* '''sudo apt-get upgrade''' --> install updates without adding or removing packages
 
* '''sudo apt-get upgrade''' --> install updates without adding or removing packages
 
* '''sudo apt-get dist-upgrade''' --> install updates and adds or removes neccessary packages
 
* '''sudo apt-get dist-upgrade''' --> install updates and adds or removes neccessary packages

Revision as of 18:13, 30 October 2016

Intro

The steps below describe how to install the latest package-updates.

Install package-updates on CentOS 7

  • sudo yum update all --> install all available updates
  • sudo yum clean all --> clean up files

Install package-updates on ubuntu 16.04

  • sudo apt-get update --> update the package-lists with latest information
  • sudo apt-get upgrade --> install updates without adding or removing packages
  • sudo apt-get dist-upgrade --> install updates and adds or removes neccessary packages