BrandTroels Selch
  • Archive
  • Categories
  • Tags
  • About

Check if package is installed on Ubuntu

March 6th, 2014

$ sudo apt-cache policy <package name>

Example:

$ sudo apt-cache policy drush
drush:
  Installed: 5.8-1
  Candidate: 5.8-1
  Version table:
 *** 5.8-1 0
        500 http://dk.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status

Categories

Code Snippet

Tags

ubuntu linux terminal package
Check if package is installed on CentOS Makeshift notepad in browser

©2024Troels Selch - A blog with sofware development stuff