Home » Ubuntu » Ubuntu apt-get uninstall command

Ubuntu apt-get uninstall command

Install
apt-get install XXXX
apt-get remove XXXX uninstall, but do not delete configuration


apt-get purge XXXX uninstall and delete the relevant configuration







through the sudo apt-get install XXXX installation software, always can not uninstall clean, here in Apache example, provide methods:

first of all, sudo apt-get remove apache2

sudo apt-get autoremove
again




Python recently wrote in Ubuntu, need to see the python documentation, I find a lot about the Ubuntu view CHM data, finally determine the installation in the installation of kchmviewernokde, Kchmviewernokde when conflict, and then want to delete some software for data, so


here, record.






when I installed kchmviewer - nokde, I used the new.
(the name was very innovative, and "new immediately got")




there are some discussions about installing software on the Internet. I would like to record here. The easiest thing is to use the new office to get.


I know the command line is apt-get, in fact, there is a better aptitude, the use of similar apt-get and.






when it is installed:





sudo, aptitude, install, kchmviewer-nokde






then, if you want to delete:





sudo aptitude remove kchmviewer-nokde is OK,.





and apt-get compared to the advantages: you can automatically delete the dependent package, and apt-get actually delete function, but the deletion is not clean,


and it's not so convenient to delete. The convenience of a command here reflects.






the disadvantage of comparing with apt-get: the software deleted with sudo aptitude remove must be installed with sudo aptitude instal,


that means they're in pairs,.






add a method: one is to start kchmviewer from the command line two is to let the CHM file automatically, click the right button in the CHM file can be selected. The name is actually the kchmviewer. command in

/ usr/bin, you can see a lot of similar commands. Using LS may be too much to see. You can use redirection LS > ~/log.txt, of course, you can use other shell, such as tail or more






Latest