LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2005, 12:08 PM   #1
sureshot324
Member
 
Registered: Mar 2004
Posts: 49

Rep: Reputation: 15
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?
 
Old 10-27-2005, 12:22 PM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
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
 
Old 10-27-2005, 12:50 PM   #3
sureshot324
Member
 
Registered: Mar 2004
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
Old 10-27-2005, 01:06 PM   #4
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
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
 
Old 10-27-2005, 01:14 PM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
rpm -qa

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
Remove package maurovezz Mandriva 3 07-04-2005 07:57 PM
remove package spidna Debian 3 02-26-2005 06:26 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration