LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-16-2008, 05:53 PM   #1
leland9000
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Rep: Reputation: 0
Question How can I list exactly what software is loaded on my machine


I want to find a way to list exactly what modules or software is loaded on a Linux box hopefully with version numbers and other info. I will use Windows as a bad example. In Windows, you can go to control panel and look at the add/remove programs window and get a list of exactly what applications are installed. I realize there are ways to install Windows programs so they donít appear in this list but I am basically looking for the Linux equivalent. I have two boxes right now, one is running Ubuntu and the other box is Debian. I am NOT running a desktop environment; my goal is to set up a MySQL / Apache server environment so I am looking for something to run from the command line.

Please help

Thanks
 
Old 01-16-2008, 06:02 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
http://newbiedoc.sourceforge.net/sys...o.html#LISTING - since Ubuntu is debian based, the commands for Debian will work on Ubuntu.

Use
Code:
dpkg --list
from http://www.debian.org/doc/FAQ/ch-pkgtools.en.html

Welcome to LQ.
 
Old 01-16-2008, 06:12 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by leland9000 View Post
I want to find a way to list exactly what modules or software is loaded on a Linux box hopefully with version numbers and other info. I will use Windows as a bad example. In Windows, you can go to control panel and look at the add/remove programs window and get a list of exactly what applications are installed. I realize there are ways to install Windows programs so they don’t appear in this list but I am basically looking for the Linux equivalent. I have two boxes right now, one is running Ubuntu and the other box is Debian. I am NOT running a desktop environment; my goal is to set up a MySQL / Apache server environment so I am looking for something to run from the command line.

Please help

Thanks
Most Linux distributions have a package manager that keeps track of evry package on your system. Both Ubuntu and Debian use the Debian package manager system so I will explain how to do it on Debian and simply say that Ubuntu is very similar.

The Debian package manager has several programs that will do what you want. You can start a gui program called synaptic. You can find synaptic on the KDE menu under system -> Synaptic Package Manager. Or you can start it from the command line by typing in synaptic. The initial screen has a window top center with a list of every porgram that you could install from any of the repositories that synaptic knows about. The ones that you actually have installed are designated with a green box. On the left side of the screen is a window where you can click on package groups which will give you subsets of the "All" list.

From the command line you can get the same information from dpkg. Type in:

dpkg -l | less

See:

man dpkg

----------------------------------
Steve Stites
 
Old 01-17-2008, 11:05 AM   #4
leland9000
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Cool Thanks so much for your help !! One more question

I can't thank you enuf for answering my question. I am so happy I found this site as a resource. Thanks again !!!!

ok, One more question.

Now that I can see the list, is there a command to easily remove the packages as well ?
 
Old 01-17-2008, 11:13 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Look at the links I posted - they are to the Apt package manager instruction manual.
 
Old 01-17-2008, 11:19 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
aptitude is your friend

http://wiki.debian.org/Aptitude

aptitude remove <packagename>
or
aptitude purge <packagename>
 
  


Reply


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
machine cannot shut down after being loaded with mandrakelinux10.1 paranjyoti Linux - Newbie 2 10-18-2006 08:03 AM
loaded software question cadillac Linux - Software 3 08-10-2006 09:24 PM
Get list of loaded built-in drives? MarleyGPN Linux - Software 1 05-20-2006 10:47 PM
Can I Get A List Of Modules Loaded In The Kernel ? linu_soft Programming 2 06-28-2004 07:39 AM
Music Library Software & a List of M$ like Software for Linux MultiUser Linux - Software 2 02-27-2004 09:20 PM


All times are GMT -5. The time now is 04:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration