Difference between revisions of "Linux installing updates"

From rdkwiki
Jump to: navigation, search
(Install package-updates on ubuntu 16.04)
m
Line 6: Line 6:
 
* '''yum clean all''' --> clean up packages and headers
 
* '''yum clean all''' --> clean up packages and headers
  
== Install package-updates on ubuntu 16.04 ==
+
== Install package-updates on Ubuntu 16.04 ==
 +
* '''apt-get update''' --> update the package-lists with latest information
 +
* '''apt-get upgrade''' --> install packages without adding or removing packages
 +
* '''apt-get dist-upgrade''' --> install packages and adds or removes neccessary packages
 +
* '''apt-get autoclean''' --> clean up local repository
 +
* '''apt-get autoremove''' --> clean up unused automatically installed packages to satisfy dependencies
 +
 
 +
== Install package-updates on Debian 8.6 ==
 
* '''apt-get update''' --> update the package-lists with latest information
 
* '''apt-get update''' --> update the package-lists with latest information
 
* '''apt-get upgrade''' --> install packages without adding or removing packages
 
* '''apt-get upgrade''' --> install packages without adding or removing packages

Revision as of 20:24, 2 November 2016

Intro

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

Install package-updates on CentOS 7

  • yum update all --> install all available updates (includes new kernels)
  • yum clean all --> clean up packages and headers

Install package-updates on Ubuntu 16.04

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

Install package-updates on Debian 8.6

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