Posted
Filed under Computer/Linux
Ubuntu는 package manager를 rpm를 사용하지 않고 dpkg란것을 사용한다.
이 dpkg는 debian용 package manager로 확장자가 deb이다.

Ubuntu에서도 rpm를 설치하면 이용은 되지만 deb package는 컨트롤이 안된다.
어찌 되었던간에... 간략히 dpkg를 살펴보자.

dpkg는 local computer의 package manager
dpkg -l   :  package list 보기
dpkg -i <package name>.deb : install
dpkg -r <package name> : remove just package files
dpkg -P <package name> : remove package files & configuration file of package
dpkg --search <full path file name> : search package for the file
dpkg --status <package name> : show status of package
dpkg -c <package name> : show file list (include patch) for the package
dpkg --info <package name> : show package information


package server의 패키지 관리는 apt-get으로 한다.
apt-get install <package name> : install
apt-get update  : update packages list
apt-get upgrade : upgrade installed packages
apt-cache search <package name> : search package
apt-cache show <package name> : show package information
2010/08/06 00:35 2010/08/06 00:35
[로그인][오픈아이디란?]