LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apt-get: How to remove software without knowing package name? (https://www.linuxquestions.org/questions/linux-software-2/apt-get-how-to-remove-software-without-knowing-package-name-377458/)

sureshot324 10-27-2005 12:08 PM

Apt-get: How to remove software without knowing package name?
 
Is there any easy way to find the package name of a piece of software so i can remove it with apt-get? Is there a way to see a list of all the packages on my computer?

cuiq 10-27-2005 12:22 PM

This is what you need to do:

1. Open a console window
2. Type "dpkg --list"
3. You may want to pipe (redirect) that to a program called "less" since the list will be long (type "dpkg --list | less")



Peace V

sureshot324 10-27-2005 12:50 PM

Thanks

In case anyone else is wondering the same thing, i found another command that lets you search for keywords in your packages:

apt-cache search keyword

cuiq 10-27-2005 01:06 PM

apt-cache search keyword

I believe that command will give you a list of packages installed and not installed. The other command is only for packages that are installed on your system, which is what you requested in your first post.



Peace V

linmix 10-27-2005 01:14 PM

rpm -qa

use "rpm -qa | grep <something>"
if you have an approximate idea of what you're looking for


All times are GMT -5. The time now is 08:23 AM.