[package] #重新安装 apt update #- 更新可用软件包列表 apt upgrade #- 通过 安装/升级 软件来更新系统 apt full-upgrade #- 通过 卸载/安装/升级 来更新系统 apt edit-sources #- 编辑软件源信息文件 apt autoremove #卸载所有自动安装且不再使用的软件包 apt show [package] #显示软件包具体信息例如:版本...
showsrc Display detailed info about a source package (apt wrapper). versions Displays the versions of specified packages. clean Erase downloaded package files. autoclean Erase old downloaded package files. changelog View a package's changelog. download Download the .deb file for a package (apt wra...
除了看一句话的简介,很多时候,我们也希望知道软件包各方面的详细信息,此时就要使用 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 Source: mongodb Origin: Ubuntu Maintainer...
dpkg 的软件安装分为解包和配置两部份#安装root@ubuntu22:~#dpkg -i /cdrom/pool/restricted/f/firmware-sof/firmware-sof signed_2.0-1ubuntu2_all.debSelecting previously unselected package firmware-sof-signed. (Reading database ...108476 filesanddirectories currently installed.) Preparing to unpack ......
show Display detailed info about a package. showsrc Display detailed info about a source package (apt wrapper). versions Displays the versions of specified packages. clean Erase downloaded package files. autoclean Erase old downloaded package files. ...
apt-cache show packagename 获取包的相关信息,如说明、大小、版本等 apt-cache showpkg package 显示软件包信息,包括包的依赖关系,包的提供者 apt-cache pkgnames 打印软件包列表中所有包的名字 apt-cache dumpavail 打印软件包列表中所有包的简介信息
ForDebian / Ubuntu:apt showpackage ForRocky / Fedora / RHEL:dnf infopackage ForFreeBSD Packages:pkg infopackage ForFreeBSD Ports:cd /usr/ports/category/port&& cat pkg-descr Install a Package from Repositories Once you know the name of a package, you can usually install it and its dependencies...
dpkg --unpack package-name.deb # “解包”:解开软件包到系统目录但不配置,如果和-R一起使用,参数可以是一个目录 dpkg --configure package-name.deb #“配置”:配置软件包 dpkg -c package-name.deb #列出 deb 包的内容 2)安装相关选项 -R, --recursive Recursively handle all regular files matching pa...
apt-file[options] searchpatternapt-file[options] showpackage DESCRIPTION apt-fileis a command line tool for searching files in packages for the APT package management system. Some actions are required to run the search: find Alias for search. list List the contents of a package. This action is...
Only show the APT Offline GUI once in the menu May 20, 2020 apt-offline.8 Update version number to 1.8.6 Feb 8, 2025 apt-offline.html Update apt-offline html manual page Feb 8, 2025 org.debian.apt.aptoffline.policy Enhance policykit integration ...