2.2.3 使用aptitude show <软件包名> 查看安装软件版本 使用aptitude show查看的信息更详细 (base) shl@zhihui-mint:~$ sudo aptitude show vim Package: vim Version: 2:8.0.1453-1ubuntu1.4 State: installed (2:8.0.1453-1ubuntu1.3), upgrade available (2:8.0.1453-1ubuntu1.4) Automatically installed: ...
[package] #重新安装 apt update #- 更新可用软件包列表 apt upgrade #- 通过 安装/升级 软件来更新系统 apt full-upgrade #- 通过 卸载/安装/升级 来更新系统 apt edit-sources #- 编辑软件源信息文件 apt autoremove #卸载所有自动安装且不再使用的软件包 apt show [package] #显示软件包具体信息例如:版本...
2.2.3 使用aptitude show <软件包名> 查看安装软件版本 使用aptitude show查看的信息更详细 (base) shl@zhihui-mint:~$ sudo aptitude show vim Package: vim Version: 2:8.0.1453-1ubuntu1.4 State: installed (2:8.0.1453-1ubuntu1.3), upgrade available (2:8.0.1453-1ubuntu1.4) Automatically installed: ...
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...
This will find packages whose names contain <search_term>. Similar to apt-cache search, but also shows whether a package is installed on your system by marking it with ii (installed) and un (not installed). apt-cache show <package_name> ...
4.2. 查看详细信息 — apt-cache show 除了看一句话的简介,很多时候,我们也希望知道软件包各方面的详细信息,此时就要使用 apt-cache show 命令了。 $ apt-cache show mongodb-clients Package: mongodb-clients Architecture: amd64 Version: 1:3.6.3-0ubuntu1.1 Priority: optional Section: universe/database ...
To remove an installed package, run: sudo apt remove lsof Typeyafter being prompted, and the command removes the package. Remove All Configuration Files with apt purge Theremovecommand deletes the specified packages. Still, the command doesn't always remove all configuration files. Delete the pac...
package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get::Download-Only.-f,--fix-brokenFix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely sol...
apt-show-versions [-h] [[-p] package name] [-a] [-b] OPTIONS If you don't give any options the status of all installed packages is printed. -p package, --package=package Print available and installed versions for specified package. You can also specify a package name without the ...
使用apt-cyg过程,体验确实比setup轻量、快捷不少,命令行简洁高效,图形界面操作简易,二者各有所长,常用操作一般是install、remove、show、listfiles、searchall。 但在通过apt-cyg安装软件包时,偶尔遇到执行完命令发现仅在/etc/setup/installed.db增加记录实际却未安装的经历。安装执行完后建议cygcheck -c,检查软件包安装...