Apt: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
[[#Update|update]] package lists first then: | [[#Update|update]] package lists first then: | ||
apt-get install git | 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