LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2012, 11:43 AM   #1
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Rep: Reputation: 7
Can I check install and uninstalled packages via terminal?


I want to know the version number and package description whether I install a package or not. I rather not install a package just to do this, I just don't want to have to go to the package manager every time Then I want to look up a package.

Last edited by LAPIII; 02-09-2012 at 07:52 AM.
 
Old 02-08-2012, 12:45 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Well, this is easy, and (welcome to Linux) the better way to manage software. Ubuntu and Debian, eh? Well, use apt-get for that...

Enjoy!!

Thor
 
Old 02-08-2012, 01:37 PM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 10
in debian you can type dpkg -l 'package-name'.
in redhat type rpm -q 'package-name'.
 
Old 02-08-2012, 02:15 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Thor_2.0 View Post
Well, this is easy, and (welcome to Linux) the better way to manage software. Ubuntu and Debian, eh? Well, use apt-get for that...

Enjoy!!

Thor
Well, on Debian based distros it would rather be apt-cache. Use the policy option to get information about available and installed versions and the show option to get a description of a package.
For example:
Code:
apt-cache show vim
apt-cache policy iceweasel
The apt-cache command is also able to show dependencies, reverse dependencies and so on. For more information on the usage of apt-cache just have a look at
Code:
man apt-cache
 
1 members found this post helpful.
  


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
rpm packages uninstalled - how to reinstall avijitp Linux - Software 8 01-16-2007 06:55 PM
Uninstalled one of two kernels, yum keeps trying to download packages for it ttnunam Linux - General 3 11-16-2006 01:09 AM
Yast does not show UNINSTALLED packages pujansrt SUSE / openSUSE 8 06-06-2006 02:05 AM
Check availability of packages on the install CD chandru.in Ubuntu 1 01-03-2006 07:49 PM
no uninstalled packages in my rpmdatabase, using apt... Mayco Fedora 0 12-14-2004 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 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