Difference between revisions of "Apt-get"
From Knoppix Documentation Wiki
(→clean) |
|||
(10 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | apt-get is a simple command line interface for downloading and | ||
+ | installing packages. The most frequently used commands are update | ||
+ | and install. | ||
+ | |||
=Commands:= | =Commands:= | ||
==update== | ==update== | ||
+ | *Retrieve new lists of packages | ||
==upgrade== | ==upgrade== | ||
+ | *Perform an upgrade | ||
==install== | ==install== | ||
+ | * Install new packages | ||
+ | **For example a package is libc6 not libc6.deb | ||
+ | **You would use apt-get isntall libc6, not apt-get install libc6.deb | ||
==remove== | ==remove== | ||
+ | Remove package | ||
==source== | ==source== | ||
+ | Download source archives | ||
==build-dep== | ==build-dep== | ||
+ | Configure build-dependencies for source packages | ||
==dist-upgrade== | ==dist-upgrade== | ||
+ | Distribution upgrade, see apt-get(8) | ||
==dselect-upgrade== | ==dselect-upgrade== | ||
+ | Follow dselect selections | ||
==clean== | ==clean== | ||
− | Erase downloaded archive files | + | *Erase downloaded archive files |
==autoclean== | ==autoclean== | ||
+ | Erase old downloaded archive files | ||
==check== | ==check== | ||
+ | Verify that there are no broken dependencies | ||
+ | |||
=Options= | =Options= | ||
==-h== | ==-h== |
Latest revision as of 14:49, 1 October 2010
apt-get is a simple command line interface for downloading and installing packages. The most frequently used commands are update and install.
Contents
Commands:
update
- Retrieve new lists of packages
upgrade
- Perform an upgrade
install
- Install new packages
- For example a package is libc6 not libc6.deb
- You would use apt-get isntall libc6, not apt-get install libc6.deb
remove
Remove package
source
Download source archives
build-dep
Configure build-dependencies for source packages
dist-upgrade
Distribution upgrade, see apt-get(8)
dselect-upgrade
Follow dselect selections
clean
- Erase downloaded archive files
autoclean
Erase old downloaded archive files
check
Verify that there are no broken dependencies