Apt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 22: Line 22:
[[#Update|update]] package lists first then:
[[#Update|update]] package lists first then:


  apt-get install [-y] git
  apt-get install [-y] git package2 package3 ...


=Install a Package Off-Line=
=Install a Package Off-Line=

Latest revision as of 17:36, 15 April 2021

External

Internal

Overview

Debian package manager tool.

Update

Before installing packages, download and update package lists from repositories.

apt-get update

Install a Package On-Line

update package lists first then:

apt-get install [-y] git package2 package3 ...

Install a Package Off-Line

update package lists first then:

dpkg -i ./liberror-perl_0.17-1.1_all.deb
apt-get install -f