To uninstall a package (Ex: tor) installed from repository one should use
sudo apt-get remove tor
I did this but dpkg -l | grep tor
shown something against the package. Next I try
sudo apt-get purge tor
But when I check dpkg -l | grep tor
I got,
reza@reza-N43JM:/$ dpkg -l tor
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un tor <none> (no description available)
I think when I uninstall any package I should not get anything in dpkg -l
list. Is it true? Or apt-get remove
or purge
does another work but not uninstall?