Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

yum list installed 처럼 현재 시스템에 설치된 전체 패키지 정보 보기

Ubuntu 14 이상은 apt 명령어로 간단하게 처리 가능

Code Block
apt list --installed


특정 패키지 설치 여부 확인

Code Block
apt -qq list gcc


예전 버전의 ubuntu 사용시 debian 의 dpkg 명령 사용

Code Block
dpkg --get-selections | grep -v deinstall

Ubuntu 14 이상은 apt 명령어로 간단하게 처리 가능

apt list --installed
Code Block
Code Block
title특정 패키지 설치 여부 확인

...

code
dpkg --get-selections | grep postgres

...