Install a specific version of a package Run the following command to install a specific version of a package {Firefox in our example}. apt-get install package=version -V So the code becomes “sudo apt install firefox=45.0.2+build1-0ubuntu1” which needs to be executed. apt-get install -...
当你得到了软件包的编号,用它来降级已安装的软件包,像这样: sudo apt install package_name=package-version-number Downgrading an installed package via apt-get command 当然,你会看到一个关于降级软件包的警告。 Downgrading apt package 但是当这个过程完成,你的软件包就会被降级到给定的旧版本。 所以,也许要保...
一、通过apt-get安装指定版本的软件 $ sudo apt-get install package=version 1. version是软件版本号,package是要安装的软件 二、查询指定软件有多少个版本 1、通过网站搜索 https://packages.ubuntu.com/ 1. 2、使用 apt-cache madison 列出软件的所有来源 $ sudo apt-cache madison package 1. madison 是一...
https://superuser.com/questions/393681/how-to-find-out-which-versions-of-a-package-can-i-install-on-apt https://stackoverflow.com/questions/18885820/how-to-check-the-version-before-install-packages-using-apt-get https://askubuntu.com/questions/340530/how-can-i-check-the-available-version-of...
Installed Docker version 然后检查可以安装的可用版本: sudo apt-cache policy package_name 它可能会抛出一个巨大的列表,或者只是一个小列表: All installable versions of an apt package 如果它显示至少有一个比当前版本更早的版本,你就很幸运了。 现在,你可能认为一个软件包的版本号将只由数字组成。但情况可能...
--predep-package 列出待解压的预依赖。 --add-architecture <体系结构> 添加 <体系结构> 到体系结构列表。 --remove-architecture <体系结构> 从架构列表中移除 <体系结构>。 --print-architecture 显示 dpkg 体系结构。 --print-foreign-architectures 显示已启用的异质体系结构。
--predep-package 列出待解压的预依赖。 --add-architecture <体系结构> 添加 <体系结构> 到体系结构列表。 --remove-architecture <体系结构> 从架构列表中移除 <体系结构>。 --print-architecture 显示 dpkg 体系结构。 --print-foreign-architectures 显示已启用的异质体系结构。
command may removesomepackages. The/etc/apt/sources.list filecontainsa listoflocationsfromwhichtoretrieve desired package files. See also apt_preferences(5)fora mechanismforoverriding the general settingsforindividual packages. ref: https://www.quora.com/What-does-command-sudo-apt-get-dist-upgrade ...
如果您有版本号或目标版本,apt-get支持选择特定版本或目标版本。更多详细信息可以在 apt-get 的手册页上找到。也可以通过输入 man apt-get 从终端访问它。 sudo apt-get install <package-name>=<package-version-number> 或 sudo apt-get -t=<target release> install <package-name> 0投票 您也许可以找...
For more information of upgrading from a previous version of Ubuntu see http://www.ubuntu.com/getubuntu/upgrading . apt-get check This command is a diagnostic tool. It does an update of the package lists and checks for broken dependencies. apt-get -f install This command does the same ...