줘이리의 인생적기

Linux - 패키지 관리 본문

공부/Linux

Linux - 패키지 관리

줘이리 2020. 6. 30. 18:26
728x90

소프트웨어 패키지 관리

- 일반적으로 HTTP, FTP 서버 저장소에 저장되어 있다.

- 패키지 repository는 /etc/apt/sources.list에 저장되어 있다.

 

패키지 저장소 목록 업데이트

$sudo apt update

 

설치할 패키지 이름 검색

$apt-cache search <패키지이름>

 

패키지 설치

$sudo apt install <패키지이름>

 

패키지 업데이트

$sudo apt dist-upgrade

 

패키지 삭제

$sudo apt remove <패키지이름>

$sudo apt purge <패키지이름>

 

해당 패키지 정보

$apt-cache show <패키지이름>

 

 

패키지 관리에 대한 내용 참고

https://www.debian.org/doc/manuals/debian-reference/ch02.en.html

'공부 > Linux' 카테고리의 다른 글

Linux - 쉘 프로그래밍 1 (shell, bash )  (0) 2020.07.03
Linux - 프로세스 관리(ps, pstree, lsof 명령어)  (0) 2020.07.02
Linux - 라이브러리  (0) 2020.07.02
Linux - vim 명령어  (0) 2020.06.25
Linux - 기초 명령어  (0) 2020.06.25