This is usually what people mean when they talk about completely removing a package. But that doesn’t mean your system is the same as it was before the package was installed. In particular: This does not remove packages that were installed as dependencies, when you installed the package you...
sudo apt-get purge package_name 1. Remove the unneeded packages that were once installed as a dependency: sudo apt-get autoremove 1. Remove the retrieved packages from the local cache: sudo apt-get autoclean 1. Check that it was completely removed: dpkg --list | grep partial_package_name...
This article explains how quickly you can learn toinstall,remove,updateandsearchsoftware packages usingapt-getandapt-cachecommands from the command line. This article provides some useful commands that will help you to handle package management inDebian/Ubuntubased systems. What is apt-get? Theapt-g...
Thiscommand completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command. + operator If you want to remove package1 and install package2 in one step: apt-get purge remove <package1> <package2>+ 18.apt-get auto...
用apt-cache search <包名> 查询就是了,其原理应该是到 package 的index文件里去做正则匹配 查询已经安装的package 使用dpkg -S 命令 代码语言:javascript 代码运行次数:0 运行 AI代码解释 payne@payne-desktop:~$ dpkg-Slibgstreamer0.10-dev libgstreamer0.10-dev:/usr/share/doc/libgstreamer0.10-dev/copyrigh...
build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package. By default the dependencies are satisfied to build the package natively. If desired a host-architecture can be specified with the --host-architectureoption instead. ...
option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If packages are specified, these have to completely correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package depe...
apt-get purge <package_name> This command completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command. + operator If you want to remove package1 and install package2 in one step: apt-get remove <package1> ...
Completely clears an installed package. Unlike remove, remove simply deletes data and executable files, and purge deletes all the configuration files. Dpkg -L lists all the files that are installed. Also, look at the dpkg -c to check the contents of a.Deb file. Dpkg -s Displays...
However, this will leave the configuration files intact. This is sometimes what you want, but if you are trying to completely remove the package from your system, you can use thepurgecommand instead, like this: sudo apt-get purge package This operates in almost entirely the...