apt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apt [2006/11/15 01:41] – _bung | apt [2026/10/11 07:04] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Ok, so apparently some people haven' | ||
| - | |||
| - | |||
| - | ====== Basics ====== | ||
| - | |||
| - | |||
| - | To update the package repositories (for security purposes or whatnot): | ||
| - | apt-get update | ||
| - | |||
| - | To upgrade everything | ||
| - | apt-get upgrade | ||
| - | |||
| - | To install " | ||
| - | apt-get install foopackage | ||
| - | |||
| - | |||
| - | ====== Other stuff ====== | ||
| - | |||
| - | To prevent a package from being upgraded (for example we use this with apache, as we need to maintain our own version): | ||
| - | echo foopackage hold | dpkg --set-selections | ||
| - | apt-get upgrade # or whatever | ||
| - | |||
| - | To see the changelogs for a package: | ||
| - | aptitude changelog foopackage | ||
| - | |||
| - | To check the current version of a package, and the version that apt wants to install: | ||
| - | | ||
apt.1163554880.txt.gz · Last modified: (external edit)
