Apt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:


Debian package manager tool.
Debian package manager tool.
=Update=
Before installing packages, download and update package lists from repositories.
apt-get update


=Install a Package On-Line=
=Install a Package On-Line=


  apt-get install git
[[#Update|update]] package lists first then:
 
  apt-get install [-y] git package2 package3 ...


=Install a Package Off-Line=
=Install a Package Off-Line=
[[#Update|update]] package lists first then:


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

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