LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   List of installed packages? (https://www.linuxquestions.org/questions/debian-26/list-of-installed-packages-638541/)

parent's_basement 04-28-2008 09:29 PM

List of installed packages?
 
Hi all,

Excuse my comparison, but I'm used to being able to go into a text file in freebsd: /var/db/packages and just see a list of all packages installed on my machine. I know that I can do this through the aptitude menu in debian, but is there just a file I can look at instead?

thanks,

pb

pljvaldez 04-28-2008 09:54 PM

You can create a file: dpkg --get-selections > packages.txt

pljvaldez 04-28-2008 10:02 PM

Also, here's a link to the debian manual section on package listing.

parent's_basement 04-28-2008 11:22 PM

Excellent! This is dandier that what I used on freebsd. Although, I did use aptitude to install firefox and thunderbird and I don't see them in the list by using dpkg --list.

Thanks,

pb

AlucardZero 04-29-2008 09:21 AM

Code:

alucard@thrawn:~$ dpkg --list | grep thunderbird
ii  icedove                              2.0.0.9-3                        free/unbranded thunderbird mail/news/rss clone
ii  thunderbird                          1.5.0.13+1.5.0.14b.dfsg1-0lenny1 Transition package for icedove rename

works for me :P

parent's_basement 04-29-2008 04:59 PM

Thanks for the reply. Here is what I get as root:

aquamarine:~# dpkg --list | grep thunderbird
aquamarine:~# dpkg --list | grep icedove
aquamarine:~# whereis thunderbird
thunderbird: /usr/bin/thunderbird /usr/lib/thunderbird

as user:

userzero@aquamarine:~$ dpkg --list thunderbird
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-==================================================================================
un thunderbird <none> (no description available)


I installed this with default lenny repositories with aptitude install thunderbird


Thoughts?

-pb

parent's_basement 04-29-2008 05:04 PM

WHOOPS! I downloaded firefox and thunderbird binaries from the mozilla website. I actually didn't use aptitude. My mistake.

Apologies,

pb


All times are GMT -5. The time now is 10:03 PM.