문서 편집

Dpkg

설치된 패키지 확인

우분투에서 설치된 패키지 목록을 확인하기 위해서는 다음과 같은 명령어를 사용하면 된다.

dpkg -l

그럼 쫙 나온다.

특정 패키지만 보려면

dpkg -l squid*

뒤에 이름을 적으면 된다. 와일드카드도 사용 가능.

상태

First character

The possible value for the first character. The first character signifies the desired state, like we (or some user) is marking the package for installation

u: Unknown (an unknown state) i: Install (marked for installation) r: Remove (marked for removal) p: Purge (marked for purging) h: Hold

Second Character

The second character signifies the current state, whether it is installed or not. The possible values are

n: Not- The package is not installed i: Inst – The package is successfully installed c: Cfg-files – Configuration files are present u: Unpacked- The package is stilled unpacked f: Failed-cfg- Failed to remove configuration files h: Half-inst- The package is only partially installed W: trig-aWait t: Trig-pend

Third Character

This corresponds to the error state. The possible value include

R: Reinst-required The package must be installed.

CC Attribution-Noncommercial-Share Alike 4.0 International 별도로 명시하지 않을 경우, 이 위키의 내용은 다음 라이선스에 따라 사용할 수 있습니다: CC Attribution-Noncommercial-Share Alike 4.0 International
1.2 KB tech/dpkg.txt · 마지막으로 수정됨 2018/05/13 11:12 저자 V_L V_L

0.032 seconds in processing this page on this powerful server.