apt list 在这里插入图片描述 7. 显示已安装软件包列表 列出已安装的软件,使用以下命令。 apt list --installed 在这里插入图片描述 8. 显示软件包的详细信息 显示软件包的详细信息,例如显示net-tools软件包的详细信息。 root@hcss-ecs-f91c:~# apt show net-tools Package: net-tools Version: 1.60+git20...
apt show:显示包详细信息 ┌─[cxxu@CxxuWin11] - [/mnt/d/repos/blogs] - [2022-05-05 12:43:09] └─[0] <git:(main 7b33a7b✗✱✈) > apt show exa Package: exa Version: 0.10.1-2 Built-Using: rustc (= 1.54.0+dfsg1-3) ...
List of installed software packages To visualize the list of installed packages, we use the following command ~# dpkg-query-W To visualize an installed package whose name isscilabfor example, we use the previous command and a redirection (or pipeline) to the ‘grep’ command. Practically, we ...
This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be upgraded in testing. apt-show-versions uses caching for the status information of installed and available packages. If you run apt-show-versions as root the ...
policy - Show policy settings purge - Remove packages and their configuration files recommends - List missing recommended packages for a particular package rdepends - Show reverse dependency information for a package reinstall - Download and (possibly) reinstall a currently installed package ...
sudo apt list --installed|grep firefox WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts. firefox/trusty-security,trusty-updates,now 66.0.3+build1-0ubuntu0.14.04.1 i386 [installed] firefox-gnome-support/now 22.0+build2-0ubuntu0.12.04.2 i386 [installed,local]...
1~18.04.6) but it is not going to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution). Question3 root@soft3-94:/var/lib/dpkg# apt-get -f install Reading package lists… Done Building dependency tree Reading state information… Done...
I'm attempting to access the list of upgradable packages on my host system from within a Docker container using apt list --upgradable to export the count of upgradable packages as a metric. I've tried mounting /var/lib/apt, /var/cache/apt and /etc/apt into the container, b...
$ apt-cache showpkg vsftpd 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 Package:vsftpdVersions:2.3.5-3ubuntu1(/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_Packages)Description Language:File:/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists...
This command is similar to "apt-cache show". dpkg -L <package_name> This command will list files in package <package_name>. dpkg -c foo.deb This command lists files in the package "foo.deb". Note that foo.deb is a pathname. Use this command on .deb packages that you have manually...