Linux

apt는 apt-get 과 apt-cache를 하나의 명령어로 사용하기 위해 만들어졌다. apt-get은 거의 모두 apt로 대체할 수 있다.

apt-get은 패키지 관리, apt-cache는 검색 기능을 가지고 있다.

 

출처: https://jhhwang4195.tistory.com/69

 

apt와 agt-get의 차이

안녕하세요. 행복한 프로그래머입니다. 오픈 스택을 설치하다보니, Mitaka 버전에서는 install guide에 package management tool로 apt-get을 사용하네요. Newton 버전에서는 install guide에 package management..

jhhwang4195.tistory.com

 


apt 명령 기존 명령 설명
apt install apt-get install 패키지 목록
apt remove apt-get remove 패키지 삭제
apt purge apt-get purge 패키지와 관련된 설정 제거
apt update apt-get update 레파지토리 인덱스 갱신
apt upgrade apt-get upgrade 업그레이드 가능한 모든 패키지 업그레이드
apt autoremove apt-get autoremove 불필요한 패키지 제거
apt full-upgrade apt-get dist-upgrade 의존성 고려한 패키지 업그레이드
apt search apt-cache search 프로그램 검색
apt show apt-cache show 패키지 상세 정보 출력

 

출처: http://taewan.kim/tip/apt-apt-get/#apt-%EB%AA%85%EB%A0%B9%EA%B3%BC-apt-get-apt-cache-%EB%AA%85%EB%A0%B9-%EB%B9%84%EA%B5%90

 

Ubuntu 패키지 관리 툴: apt 사용법

우분투 패키지 관리 툴인 apt와 apt-get의 차이를 알아보고 사용법을 정리합니다.

taewan.kim