ubuntu apt-get 安装指定版本软件


  • 有时候 Ubuntu安装软件时候会提示你缺少对应版本的软件,这时候你就需要用到 sudo apt-get install softname=version 来安装对应的软件。

    sudo apt-get install  openssh-client=1:6.6p1-2ubuntu1
    // 上面安装的是  1:6.6p1-2ubuntu1    openssh-client
  • 列出一个软件的版本的命令是 sudo apt-cache madison soft_name

    sudo apt-cache madison  openssh-client
![](http://images2017.cnblogs.com/blog/991711/201801/991711-20180131212936640-1313856399.png)


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM