How do i display the installed and available versions of an ubuntu package?



  • Man page for apt-cache.

    To display the installed version and the available versions of a package.

    $ apt-cache policy tcpdump
    tcpdump:
      Installed: 4.9.2-3
      Candidate: 4.9.2-3
      Version table:
     *** 4.9.2-3 500
            500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
            100 /var/lib/dpkg/status
    

Log in to reply
 

© Lightnetics 2024