User Tools

Site Tools


apt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apt [2013/10/12 20:03] – Text replace - "<div style="width:55%;margin:0 auto;border:2px solid;border-left:20px solid;border-color:#d9534f;text-align:center;padding:5px;font-weight:bold;">This page is out of date and needs rewriting.<br /> _haydenapt [2026/10/11 07:04] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-{{OODNotice}} 
- 
-Ok, so apparently some people haven't used apt before. This here page is a repository of tidbits of information that might be useful. 
- 
- 
-====== Basics ====== 
- 
- 
-To update the package repositories (for security purposes or whatnot): 
-  apt-get update 
- 
-To upgrade everything 
-  apt-get upgrade 
- 
-To install "foopackage", or upgrade it to the latest version: 
-  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-cache policy foopackage 
- 
-[[category:Admin Documents] 
  
apt.1381608200.txt.gz · Last modified: (external edit)