Translation(s): English - Español - Français - Italiano - 한국어(Korean)

(!) ?Discussion


패키지명은 aptitude 이다.

aptitude 매뉴얼은 금광과 같다. 더 이상 내용을 추가하지 않아도 될 정도로 참신하게 작성되어 있어서 보다 자세한 도움을 받고자 한다면 직접 참고하기 바란다.

(텍스트 그래픽) 대화식 사용방법

대화식으로 To run interactively, enter the following from a terminal:


After running it, use:

The common use of aptitude in TUI (text user interface) is; run aptitude; press 'u' (update the lists of available packages); press 'U' (Mark all upgradable packages to be upgraded); (search/select some stuff to install, is optional); press 'g' (to see the pending actions and modify if needed); press 'g' (again, to start the download).

Some time when you need to resolve conflicts, you discover that you made a mistake; you can easily use 'Cancel pending actions' in the 'Actions' menu so that you can re-select.

When reviewing pending actions:

See Accessing package information for understanding the letters in the package synopsis line (e.g., 'i' means "will be installed", 'p' means "not installed", etc.)

Manual Use as root

You can also use aptitude like in the same manner as apt-get:

Update the packages list :

# aptitude update

Upgrade the packages :

# aptitude safe-upgrade

Install foo :

# aptitude install foo

Remove bar :

# aptitude remove bar

Purge foo :

# aptitude purge foo

functions for every users

Search for packaging containing foo :

$ aptitude search foo

Personally, I still use apt-cache search foo to perform a search – aptitude search foo is slower. But you should try the aptitude search foo way. You should discover that the output is a bit different from apt-cache, in some case, it may be useful to search for a package to see if it is already installed.

showing if a specific package is installed :

$ aptitude show foo

배포판을 업그레이드하는 방법

아키텍쳐에 맞게 정식 버전 릴리즈에서 다음 버전 (예. Lenny 에서 Squeeze) 으로 업그레이드하려면 release notes 을 참고하라. 32 비트 시스템 유저이면 Release Notes for Intel x86 를 참고하고 64 비트 시스템 유저이면 Release Notes for AMD64을 참고하면 된다.

full-upgrade Using full-upgrade in the regular course of events no longer the recommended practice (unless you are running sid, in which case you should not need to be reading this.)

Minor release upgrades (e.g. from lenny 5.0.1 to 5.0.2) and security updates are done with safe-upgrade.

$ cat /etc/debian_version

etch 4.0r1 에서 4.0r2 ...등으로 업그레이드하거나, 보안 업그레이드를 적용하는 예:

# aptitude update
# aptitude safe-upgrade

apt-get 에서 aptitude 로 옮겨가기


apt-get 명령

aptitude 명령

foo 패키지 설치

apt-get install foo

aptitude install foo

foo 패키지 검색하기

apt-cache search foo

aptitude search foo

foo 패키지 삭제하기

apt-get remove foo

aptitude remove foo

List reverse dependencies

apt-cache rdepends foo

aptitude search ~Dfoo

foo 패키지에 대한 버전 순위 조회

apt-cache policy foo

aptitude versions foo

foo 패키지 소스를 다운로드해서 바이너리 .deb 로 빌드하기

apt-get source --compile foo


관련 자료

and ... apt.conf, preferences, sources.list, Aptitude::Parse-Description-Bullets=true, AptitudeTodo