apt-cache rdepends python3.8 [~]$ apt-cache rdepends python3.8 python3.8 Reverse Depends: python3.8-dbg virtualbox python3.8-venv python3.8-full libpython3.8-testsuite libglib2.0-tests idle-python3.8 idle-python3.8 python3.8-minimal python3.8-doc python3.8-dev python3.8-dbg python3-uno gedit vir...
for i in $(apt-cache depends python | grep -E 'Depends|Recommends|Suggests' | cut -d ':' -f 2,3 | sed -e s/'<'/''/ -e s/'>'/''/); do sudo apt-get download $i 2>>errors.txt; done 该方案与apt-rdepends雷同,尝试过后发现依旧丢了很多包未能下载 失败四 aptitude --download...
sudo apt-get remove package --purge 删除包,包括配置文件等 apt-cache rdepends package 查看该包被哪些包依赖 apt-cache depends package 了解使用该包依赖那些包 sudo apt-get install package --reinstall 重新安装包 apt-cache search package 搜索软件包 apt-cache show package 获取包的相关信息,如说明、大小...
root@localhost:~# apt-cache depends vim #显示vim所依赖的软件包 vim Depends: vim-common Depends: vim-runtime Depends: libacl1 Depends: libc6 Depends: libgpm2 Depends: libpython3.5 Depends: libselinux1 Depends: libtinfo5 Suggests: <ctags> Suggests: <vim-doc> Suggests: <vim-scripts> 1. 2....
apt depends package #了解使用依赖 apt rdepends package #查看该包被哪些包依赖 apt-cache pkgnames #执行pkgnames子命令列出当前所有可用的软件包 apt policy package #使用policy命令显示软件包的安装状态和版本信息。 sudo apt install package #安装包
分类下面再按源码包名称的首字母归档。这些目录包含的文件有:运行于各种系统架构的二进制软件包,生成这些二进制软件包的源码包。 你可以执行命令apt-cache showsrc mypackagename,查看“Directory:”行获知每个软件包的存放位置。3)indices/:维护人员文件和重载文件。 4)project/:大部分为开发人员的资源,如:
Depends: vim-common (=2:8.0.1453-1ubuntu1.1), vim-runtime (=2:8.0.1453-1ubuntu1.1), libacl1 (>=2.2.51-8), libc6 (>=2.15), libgpm2 (>=1.20.7), libpython3.6(>=3.6.5), libselinux1 (>=1.32), libtinfo5 (>=6) Suggests: ctags, vim-doc, vim-scripts ...
APT works in its internal resolver in two stages: First all packages are visited and marked for installation, keep back or removal. OptionDebug::pkgDepCache::Markershows this. This also decides which packages are to be installed to satisfy dependencies, which can be seen byDebug::pkgDepCache...
wdl@UbuntuFisher:~$ apt-cache rdepends rxvt rxvt Reverse Depends: rxvt-ml 9.4 管理软件包 在Ubuntu Linux中,通常使用“apt-get”命令管理软件包,只需告知软件包名字,就可以自动完成软件包的获取、安装、编译和卸载,以及检查软件包依赖关系。 9.4.1 apt-get命令 ...
python-aptcannot be installed without breaking apt: root@raspberrypi:~# apt-cache depends python-apt | grep Breaks Breaks: apt-forktracer Breaks: apt-listchanges Breaks: apt-p2p Breaks: apt-xapian-index Breaks: aptdaemon Breaks: aptoncd Breaks: bcfg2 Breaks: bzr-builddeb Breaks: <computer-jani...