How to check the version before installing a package using apt-get?

前端 未结 10 2071
陌清茗
陌清茗 2021-01-29 17:52

I\'m thinking to install hylafax+ version 5.5.4 which was release last month on my Debian PC.

I checked dpkg -l | grep "hylafax" and found

10条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-29 18:30

    Also, the apt-show-versions package (installed separately) parses dpkg information about what is installed and tells you if packages are up to date.

    Example..

    $ sudo apt-show-versions --regex chrome
    google-chrome-stable/stable upgradeable from 32.0.1700.102-1 to 35.0.1916.114-1
    xserver-xorg-video-openchrome/quantal-security uptodate 1:0.3.1-0ubuntu1.12.10.1
    $
    

提交回复
热议问题