Share your knowledge at the LQ Wiki.
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 06-24-2008, 11:27 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
How to know what module is in Debian server

I have a debian server , if I want to know if a module ( eg. vsftp ) is installed or not and its version , what can i do ? thx
Old 06-24-2008, 11:48 PM   #2
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey There,

You should be able to do:

dpkg -l vsftp
with "vsftp" being a simple regular expression, so:

dpkg -l vs
would bring that up, too, along with (possibly a few other packages.

You could also not specify a package and then pipe it to a grep:

dpkg -l|grep -i vsftp
Check out this page here, for a more thorough look at all the options explained:

Best wishes,

Old 06-25-2008, 12:45 AM   #3
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
apt-cache policy <packagename>

aptitude show <packagename>

aptitude search
Each search result is listed on a separate line. The first character of each line indicates the current state of the package: the most common states are:
p, meaning that no trace of the package exists on the system,
c, meaning that the package was deleted but its configuration files remain on the system,
i, meaning that the package is installed, and
v, meaning that the package is virtual.

The second character indicates the stored action (if any; otherwise a blank space is displayed) to be performed on the package, with the most common actions being
i, meaning that the package will be installed,
d, meaning that the package will be deleted, and
p, meaning that the package and its configuration files will be removed.

If the third character is A, the package was automatically installed.

for a list of every package installed on the system
dpkg --get-selections > selections.txt
will create a file called selections.txt that contains a list of all installed packages.

Last edited by farslayer; 06-25-2008 at 12:52 AM.


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
Issue with module assistant on debian mazza Linux - Newbie 1 11-05-2010 08:35 PM
Debian / ipw2200 / module-assistent doesn't like me... Darkside_Dave Linux - Wireless Networking 2 01-13-2006 02:43 AM
module in Debian 3.1a swmok Debian 2 07-29-2005 11:30 PM
ipw2200 debian module sh4d0w13 Debian 1 03-16-2005 08:24 PM
debian kernel module subfolders 2.2 v 2.4 h_lina_k Linux - General 0 03-10-2004 05:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 AM.

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