当你不知道确切的软件包名称时,你可能会在安装apt软件包时遇到问题。与apt一样,你必须提供软件包的...
* apt-get remove packagename ——卸载一个已安装的软件包(保留配置文件) * apt-get --purge remove packagename ——卸载一个已安装的软件包(删除配置文件) * dpkg --force-all --purge packagename ——有些软件很难卸载,而且还阻止了别的软件的应用,就可以用这个,不过有点冒险。 * apt-get autoclean...
apt-get - APT package handling utility -- command-line interface SYNOPSIS apt-get[-asqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {update | upgrade | dselect-upgrade | dist-upgrade | installpkg[{=pkg_version_number| /target_release}]... | re...
可以看到,dists 下面按 suite 分了多个目录(stretch, jessie, buster),suite下面又按CPU架构有不同的 binary-${arch} 目录和 Contents-${arch}.gz 文件;而真正的deb包都放在 pool 目录下,对于vim这样一个软件来说多个suite/cpu的deb包是放在一起的. 这样的好处是: 将所有类型CPU的包列表(Packages或者Packages...
apt-cache showpkg <package> Shows a lot more detail about <package>, and its relationships to other packages. dpkg -i <package.deb> Installs a package file; one that you downloaded manually, for exam- ple. dpkg -c <package.deb> Lists the contents of <package.deb> a .deb file. ...
version - Show the installed version of a package (base) shl@zhihui-mint:~$ 6 apt-get工具的使用 使用man apt-get可以查看更多参数选项信息 (base) shl@zhihui-mint:~$ apt-get -h apt 1.6.12ubuntu0.1 (amd64) 用法: apt-get [选项] 命令 ...
调用dpkg 并带参数 -b, --build, -c, --contents, -e, --control, -I, --info, -f, --field, -x, --extract, -X, --vextract, --ctrl-tarfile, --fsys-tarfile 是针对归档文件的。 (输入 dpkg-deb --help 获取帮助) 选项: --admindir=<目录> 使用 <目录> 而非 /var/lib/dpkg。
When a package is supplied as an argument, the package will be installed prior to the upgrade action. dist-upgrade //dist-upgrade除了执行升级功能外,还智能地处理与新版本包的依赖关系变化;apt-get有一个“智能”的冲突解决系统,必要时它会尝试以牺牲不太重要的包为代价升级最重要的包。因此,dist-upgrad...
o: toggle between the contents of the solution and an explanation of the solution e: examine the solution in the visual user interface x: abort automatic dependency resolution; resolve dependencies by hand instead r (ID|pkg ver) ...: reject the given package versions; don't ...
Table of Contents[hide] Basic Use of Apt-Get Command Advanced Use of the Apt-Get Command Exploring Alternative Package Management Commands Troubleshooting Common Apt-Get Command Errors Understanding the Apt-Get Command and Debian Package Management ...