Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-22-2013, 01:56 PM   #1
Registered: Sep 2011
Location: UK
Posts: 83

Rep: Reputation: 6
apt-get update / install

Hi all,

Your computer has a list (such as a catalog) that contains all the available software that the ubuntu servers have available...
This (quoted from here) seems to say that there is a file on my Ubuntu server which lists all available packages (with their version numbers). If so can anyone please tell me where I can find / view this file?

And anyway after running $ apt-get update can I check what version of a particular package would be installed by $ apt-get install ?

Old 07-22-2013, 02:04 PM   #2
Senior Member
Registered: Feb 2009
Posts: 4,259

Rep: Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206Reputation: 1206
I personally use "apt-cache policy" for example:

apt-cache policy cowsay
Old 07-23-2013, 10:39 AM   #3
LQ Newbie
Registered: Jun 2011
Distribution: Debian
Posts: 27

Rep: Reputation: 14
If you want a list of all packages installed with their version number you can use the following:
dpkg -l | grep '^ii'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apt-get update and apt-get install problem please solve it. regent_royal Linux - Newbie 11 06-26-2008 08:38 AM
Is there knoppix-like distro, that we can: apt-get update; apt-get install programs ? frenchn00b Linux - Distributions 7 04-28-2008 03:06 PM
Connection - install - apt-get update tommytomato Linux - General 2 06-30-2007 08:45 PM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 08:02 PM
Base Redhat9 install, then using apt to update and install slewis1972 Linux - General 1 07-04-2003 05:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

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