Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
List installed packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
vinnie
n00b
n00b


Joined: 20 Apr 2002
Posts: 29
Location: Maryland

PostPosted: Wed May 08, 2002 10:41 pm    Post subject: List installed packages? Reply with quote

How do I list packages that I've installed? Is there an emerge command for that?
_________________
-vin
Back to top
View user's profile Send private message
jouzts
n00b
n00b


Joined: 29 Apr 2002
Posts: 68
Location: South Carolina

PostPosted: Wed May 08, 2002 11:15 pm    Post subject: Reply with quote

emerge gentoolkit
epm -qa

John
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed May 08, 2002 11:27 pm    Post subject: Reply with quote

what I just did was read the man page on emerge, it told me about the /etc/make.profile/packages file, and I opened it up in vi, read the contents, and it told me that packages that are installed have a star (asterisk * ) next to them.. so what I did was this:

Code:

grep -i "^*" /etc/make.profile/packages | sed s/*//g | sed s/\>//g | sed s/\=//g


it gave me:
Code:

sys-apps/baselayout-1.7.3
sys-apps/portage-1.8.9_pre25
~sys-devel/binutils-2.11.92.0.12.3
sys-devel/gcc-2.95.3-r5
~sys-libs/glibc-2.2.5
dev-lang/python
app-shells/sash
sys-devel/perl
app-editors/nano
net-ftp/ftp
net-misc/dhcpcd
net-misc/netkit-telnetd
net-misc/rsync
net-misc/wget
sys-apps/bash
sys-apps/bzip2
sys-apps/kbd
sys-apps/cpio
sys-apps/debianutils
sys-apps/diffutils
sys-apps/e2fsprogs
sys-apps/ed
sys-apps/fbset
sys-apps/file
sys-apps/fileutils
sys-apps/findutils
sys-apps/gawk
sys-apps/grep
sys-apps/groff
sys-apps/grub
sys-apps/gzip
sys-apps/hdparm
sys-apps/iptables
sys-apps/less
sys-apps/lsof
sys-apps/man
sys-apps/man-pages
sys-apps/modutils
sys-apps/net-tools
sys-apps/netkit-base
sys-apps/procps
sys-apps/psmisc
sys-apps/raidtools
sys-apps/reiserfsprogs
sys-apps/sed
sys-apps/setserial
sys-apps/sh-utils
<sys-apps/shadow-5
sys-apps/sharutils
sys-apps/tar
sys-apps/textutils
sys-apps/util-linux
sys-apps/which
sys-devel/autoconf
sys-devel/automake
sys-devel/bc
sys-devel/bin86
sys-devel/bison
sys-devel/flex
sys-devel/gettext
sys-devel/ld.so
sys-devel/libtool-1.4.1-r4
sys-devel/m4
sys-devel/make
sys-devel/patch
sys-libs/cracklib
sys-libs/db
sys-libs/gdbm
sys-libs/pam
sys-libs/pwdb
sys-libs/readline
sys-libs/slang
sys-libs/zlib
net-misc/openssh-3.0.1_p1
sys-apps/devfsd-1.3.20


You can take it further than that with a little cut action, but you get the jist.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed May 08, 2002 11:29 pm    Post subject: Reply with quote

jouzts wrote:
emerge gentoolkit
epm -qa

John


Or you could do it the easy way :? :lol:
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Thu May 09, 2002 1:37 am    Post subject: Reply with quote

Please look at my post @ http://forums.gentoo.org/viewtopic.php?p=6984#6984

It is the same exact question.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Thu May 09, 2002 3:03 am    Post subject: Reply with quote

Nitro wrote:
Please look at my post @ http://forums.gentoo.org/viewtopic.php?p=6984#6984

It is the same exact question.


awww sweet.. I didn't know thats were it was....

Now I have a full listing of everything that is installed with one commandline!
should be easy to write a tool to crossreference each....

Now if I only knew if emerge took stdin
Back to top
View user's profile Send private message
vinnie
n00b
n00b


Joined: 20 Apr 2002
Posts: 29
Location: Maryland

PostPosted: Thu May 09, 2002 12:04 pm    Post subject: Well I did search... Reply with quote

I just didnt find that message. Thanks tho. :-)
_________________
-vin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum