Apt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://en.wikipedia.org/wiki/APT_(Package_Manager) =Internal= * Linux =Overview= Debian package manager tool.")
 
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:


* [[Linux#Commands|Linux]]
* [[Linux#Commands|Linux]]
* [[Debian]]


=Overview=
=Overview=


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=
[[#Update|update]] package lists first then:
apt-get install [-y] git package2 package3 ...
=Install a Package Off-Line=
[[#Update|update]] package lists first then:
dpkg -i ./liberror-perl_0.17-1.1_all.deb
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