-V, --version Prints out version of apt-show-versions -i, --initialize Initialize or update package cache only (as root). Do this every time when the status of the installed or available packages has changed. Initialization is done automatically on installation of the package and via a ...
还可以通过apt-show-versions -u package查询是否有升级版本。 7、查询指定包的详情 $ sudo apt-cacheshowpackage 或者 $ dpkg -lpackage 8、显示已安装包的详情 $ dpkg -spackage 或者 dpkg-query -spackage 三、使用技巧 在查询后面,我们可以带上一些参数来实现筛选 $ sudo apt-cache showpackage|grepversion...
curl:amd64/focal-security 7.68.0-1ubuntu2.2 upgradeable to 7.68.0-1ubuntu2.5 1. 2. 未安装在系统中的软件包的输出: $ apt-show-versions mariadb-server mariadb-server:all not installed 1. 2. 带有grep过滤器的dpkg命令可以显示已安装软件包的版本: $ dpkg -s curl | grep Version Version: 7.68...
$ sudo apt-cache show package 或者 $ dpkg -l package 8、显示已安装包的详情 $ dpkg -s package 或者 dpkg-query -s package 三、使用技巧 在查询后面,我们可以带上一些参数来实现筛选 $ sudo apt-cache show package | grep version $ sudo apt-show-versions | more 原文链接:https://blog.csdn.ne...
$ sudo apt-cache show package 1. 或者 $ dpkg -l package 1. 8、显示已安装包的详情 $ dpkg -s package 1. 或者 dpkg-query -s package 1. 三、使用技巧 在查询后面,我们可以带上一些参数来实现筛选 $ sudo apt-cache show package | grep version ...
$ apt show cockpit Package: cockpit Version: 238-1 Priority: optional Section: universe/admin Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org> Bugs: https://bugs.launch...
dpkg-query -s <<package name>> 说明:同上,效果一致。 使用技巧: 1、可以在查询后面带上一些参数来实现筛选 apt-cacheshow package | grep Version apt-show-versions | more 参考: http://wiki.ubuntu.org.cn/Apt%E5%92%8Cdpkg%E5%BF%AB%E9%80%9F%E5%8F%82%E8%80%83(apt-get常用语法) ...
No stable version vim:i386 not installed (base) shl@zhihui-mint:~$ 2.2.3 使用aptitude show <软件包名> 查看安装软件版本 使用aptitude show查看的信息更详细 (base) shl@zhihui-mint:~$ sudo aptitude show vim Package: vim Version: 2:8.0.1453-1ubuntu1.4 ...
sudo apt install <package_name>=<version_number> package_name为包名,version_number为版本号。 移除包可以使用 remove 命令: sudo apt remove mplayer 查找名为 libimobile 的相关包: apt search libimobile 查看pinta 包的相关信息: apt show pinta ...