목차
옵션
설치가능한 버전
$ apt search [패키지명]
설치된 패키지
$ apt list --installed | grep [패키지명]
non interactive로 설치
$ export DEBIAN_FRONTEND=noninteractive && apt-get install -y postfix
non-free 추가
/etc/apt/sources.list 파일을 다음과 같이 수정한다.
예시는 데비안 10(buster)이다.
deb http://deb.debian.org/debian buster main non-free
deb-src http://deb.debian.org/debian buster main non-free
deb http://deb.debian.org/debian-security/ buster/updates main non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main non-free
deb http://deb.debian.org/debian buster-updates main non-free
deb-src http://deb.debian.org/debian buster-updates main non-free