주 메뉴 열기

wwiki β

바뀜

Apt

777 바이트 추가됨, 2022년 6월 22일 (수) 02:22
소스 리스트
==옵션Commands==
=== search ===
==non interactive로 설치==
$ export DEBIAN_FRONTEND=noninteractive && [[apt-get ]] install -y postfix
==소스 리스트==
설정파일은 /etc/apt/sources.list에 있고, /etc/apt/sources.list.d에 추가 설정파일들이 있다.
deb-src http://deb.debian.org/debian buster-updates main
</syntaxhighlight>
 
=== apt-key ===
Usage: apt-key [--keyring file] [command] [arguments]
 
Manage apt's list of trusted keys
 
apt-key add <file> - add the key contained in <file> ('-' for stdin)
 
apt-key del <keyid> - remove the key <keyid>
 
apt-key export <keyid> - output the key <keyid>
 
apt-key exportall - output all trusted keys
 
apt-key update - update keys using the keyring package
 
apt-key net-update - update keys using the network
 
apt-key list - list keys
 
apt-key finger - list fingerprints
 
apt-key adv - pass advanced options to gpg (download key)
$ wget -qO - <nowiki>https://도메인/archive.key</nowiki> | sudo apt-key add -
<br />
[[분류:명령어]]
[[분류:Debian]]
편집
2,431