본문 바로가기

IT 개발 프로그래밍/Linux

apt-get 리눅스 우분투 데비안 패키지 관리 명령어 도구

apt-get(Advanced Packaging Tool)은 우분투(Ubuntu)를 포함안 데비안(Debian)계열의 리눅스에서 쓰이는 패키지 관리 명령어 도구입니다


apt-get update Retrieve new lists of packages


apt-cache stats 

apt-cache pkgnames List the names of all packages in the system


apt-cache search [검색어] Search the package list for a regex pattern


apt-cache show [패키지명] Show a readable record for the package


apt-get install [패키지명] Install new packages (pkg is libc6 not libc6.deb)

apt-get upgrade Perform an upgrade

apt-get autoremove Remove automatically all unused packages


apt-get remove  Remove packages

apt-get purge Remove packages and config files