문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:apt [2022/01/02 13:18] kwon37xi [apt-mark] |
linux:apt [2022/12/05 21:16] kwon37xi [Linux apt (Advanced Packaging Tool) 및 Debian 계열 패키지 관리] |
||
---|---|---|---|
줄 4: | 줄 4: | ||
* [[linux: | * [[linux: | ||
* [[linux: | * [[linux: | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
+ | |||
+ | ===== 설치 ===== | ||
+ | <code sh> | ||
+ | sudo apt install < | ||
+ | |||
+ | sudo apt install < | ||
+ | # apt-mark hold 로 버전 고정 | ||
+ | </ | ||
===== 검색 ===== | ===== 검색 ===== | ||
줄 50: | 줄 62: | ||
===== 특정 패키지의 저장소 정보 ===== | ===== 특정 패키지의 저장소 정보 ===== | ||
+ | * 존재하는 모든 버전과 해당 저장소 목록을 볼 수 있다. | ||
<code sh> | <code sh> | ||
apt-cache policy [package-name] | apt-cache policy [package-name] | ||
줄 101: | 줄 114: | ||
===== Pinning ===== | ===== Pinning ===== | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== apt-key ===== | ||
+ | <code sh> | ||
+ | man apt-key 8 | ||
+ | </ | ||
+ | * '' | ||
+ | <code sh> | ||
+ | wget -qO- https:// | ||
+ | wget -qO- https:// | ||
+ | </ | ||
+ | * 명시적 '' | ||
+ | * ASCII armored 파일의 경우 파일 확장자가 **'' | ||
+ | * Open PGP 바이너리의 경우('' | ||
===== CheatSheet ===== | ===== CheatSheet ===== |