#WITHYOU
Lum7671's Weblog
#WITHYOU
Debian, aptitude search, 상세 검색 방법 (apt)

debian 패키지 설치에서 세밀하게 검색하는 방법

상세 검색 방법 예 #1

실행 화면

$ aptitude search '~V18.5 !~iv ~n kodi'
p   kodi-addon-dev                - Kodi Media Center (general add-on dev package)
p   kodi-eventclients-kodi-send   - Kodi Media Center (Kodi-send event client package)
p   kodi-eventclients-ps3         - Kodi Media Center (PS3 event client package)
p   kodi-eventclients-wiiremote   - Kodi Media Center (Wii Remote event client package)

옵션 설명

  • ~V18.5 : 18.5 버전만…
  • AND
  • !~iv
    • !pattern : Select any package that does not match pattern.
    • ~i : Select installed packages.
    • ~v : Select virtual packages.
    • 설치나 virtual 패키지가 아닌 것들
  • AND
  • ~n kodi
    • ~nname, name : Select packages with the given name.

결론

  • 패키지명에 “kodi” 라는 글자가 있는 패키지 중
  • 설치 되지 않고 virtual 패키지가 아닌 패키지이고
  • 버전은 18.5 버전인 패키지를 검색 함.

참고

= 끝 =