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...
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...
2.2.2 使用apt-show-versions -a <软件包名>查看安装软件版本 2.2.3 使用aptitude show <软件包名> 查看安装软件版本 3 Linux查看安装软件包的文件路径 3.1 使用dpkg -L <软件包名> 查看安装软件包的文件路径 3.2 使用whereis <软件包名> 查看安装软件包的文件路径 3.3 使用which <软件包名> 查看可执行文件的...
[root@VM-12-9-opencloudos yum.repos.d]# yum update redis Last metadata expirationcheck:0:20:53 ago on Sun 12 May 2024 06:39:57 PM CST. Dependencies resolved. Nothing to do. Complete! 列出所有可安裝的软件清单命令:yum list --all show all packages(default)--available show only available...
––––––Apt-get:用于管理软件包,安装、卸载、升级等操作Apt-cache:查询软件包信息Apt-proxy:搭建apt代理服务器Apt-show-versions:显示系统中软件包版本信息Apt-config:读取apt配置文件Apt-cdrom:将CD-ROM加入软件源配置文件 设置apt源 •/etc/apt/sources.list –DebTypeAddressType://Hostaddress/...
2.2.2 使用apt-show-versions -a <软件包名>查看安装软件版本 需要先安装apt-show-version工具: sudo apt install apt-show-versions (base) shl@zhihui-mint:~$ apt-show-versions vim vim:amd64/bionic-security2:8.0.1453-1ubuntu1.3upgradeable to2:8.0.1453-1ubuntu1.4vim:i386notinstalled ...
APT 使用 /var/lib/apt/lists/* 来跟踪可用的软件包,而 dpkg 使用的是 /var/lib/dpkg/available。如果你使用了 aptitude 或者其他 APT 前端来安装软件包,同时你希望使用 dselect 来安装软件包,请不要忘记使用 dselect 菜单上的 [U]pdate (或者运行”dselect update”) 来更新 /var/lib/dpkg/available。
Usage: /usr/local/bin/ubuntu-mainline-kernel.sh -c|-l|-r|-u Download & install the latest kernel available from kernel.ubuntu.com Arguments: -c Check if a newer kernel version is available -i [VERSION] Install kernel VERSION, see -l for list. You don't have to prefix with v. E....
If you run apt-show-versions as root the cache is updated as needed. If you run as non-root uses the newest available information, but can't update the cache. If you run as root with the option -i the cache is initialized or updated only. ...
Equivalent to running apt-get check. madison [pkgs] Display a table showing the available versions of each specified package. Similar to madison, a Debian tool that checks for package versions and reports their status. This option works locally and doesn’t require access to the Debian project...