Apt: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:


=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

Revision as of 20:50, 26 September 2019

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 git

Install a Package Off-Line

update package lists first then:

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