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

前端 未结 10 2072
陌清茗
陌清茗 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:26

    on debian :

    apt list --upgradable
    

    gives the list with package, version to be upgraded, and actual version of the package.

    result :

    base-files/stable 8+deb8u8 amd64 [upgradable from: 8+deb8u7]
    bind9-host/stable 1:9.9.5.dfsg-9+deb8u11 amd64 [upgradable from: 1:9.9.5.dfsg-9+deb8u9]
    ca-certificates/stable 20141019+deb8u3 all [upgradable from: 20141019+deb8u2]
    certbot/jessie-backports 0.10.2-1~bpo8+1 all [upgradable from: 0.8.1-2~bpo8+1]
    dnsutils/stable 1:9.9.5.dfsg-9+deb8u11 amd64 [upgradable from: 1:9.9.5.dfsg-9+deb8u9]
    

提交回复
热议问题