有时候 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
参考:https://www.cnblogs.com/EasonJim/p/7144017.html
Ubuntu apt-get 安装指定版本软件
最新推荐文章于 2025-01-20 16:38:45 发布

本文介绍如何在Ubuntu系统中精确安装指定版本的软件。通过使用sudo apt-get install命令加上软件的具体版本号,可以实现这一目标。此外,还介绍了如何查看软件可用版本的方法。
5216

被折叠的 条评论
为什么被折叠?



