Difference between revisions of "Linux installing updates"

From rdkwiki
Jump to: navigation, search
Line 3: Line 3:
  
 
== Install package-updates on CentOS 7 ==
 
== Install package-updates on CentOS 7 ==
* '''sudo yum update all''' --> install all available updates
+
* '''sudo yum update all''' --> install all available updates (includes new kernels)
 
* '''sudo yum clean all''' --> clean up packages and headers
 
* '''sudo yum clean all''' --> clean up packages and headers
  

Revision as of 18:30, 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 (includes new kernels)
  • sudo yum clean all --> clean up packages and headers

Install package-updates on ubuntu 16.04

  • sudo apt-get update --> update the package-lists with latest information
  • sudo apt-get upgrade --> install packages without adding or removing packages
  • sudo apt-get dist-upgrade --> install packages and adds or removes neccessary packages
  • sudo apt-get autoclean --> clean up local repository
  • sudo apt-get auto remove --> clean up unused automatically installed packages to satisfy dependencies