• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: apt-get -- How to find version info of an installed module?  (Read 2948 times)
CqCn
Full Member
***

Karma: 0
Posts: 169



View Profile
« on: August 08, 2009, 02:41:34 PM »

Hi,

I looked thru man page of the apt-get installed on my ShPg.  I am very new to apt-get.  I cannot find out how to do the following:

A.  How do I find the full version of any installed module?

B.  How do I find the full list of all the installed modules?

C.  How do I find if a module is available for install, without actually installing it?

D.  How do I find the full list of all the available modules from all the feeds already set in my config?

Thank you very much,
Logged

Cordially, CqCn

rooster
Guest
« Reply #1 on: August 08, 2009, 10:51:24 PM »

I would use the aptitude command.

http://nixdoc.net/man-pages/Linux/man1/aptitude.1.html
Logged

fragfutter
Sr. Member
****

Karma: 12
Posts: 280


View Profile
« Reply #2 on: August 09, 2009, 05:05:47 AM »

Those are debian/ubuntu basics... Multiple ways to get a result, this is what i would use

Quote
A.  How do I find the full version of any installed module?
dpkg -l <packagename>
Quote
B.  How do I find the full list of all the installed modules?
dpkg -l |grep '^ii'

Quote
C.  How do I find if a module is available for install, without actually installing it?
apt-cache search <somestring>
apt-cache show <packagename>

Quote
D.  How do I find the full list of all the available modules from all the feeds already set in my config?
apt-cache dumpavail
Logged

CqCn
Full Member
***

Karma: 0
Posts: 169



View Profile
« Reply #3 on: August 09, 2009, 07:18:45 AM »

fragfutter, rooster,  Thank you very much!  Exactly what I was looking for!
Logged

Cordially, CqCn

Pages: [1]
Print
Jump to: