View previous topic :: View next topic |
Author |
Message |
vinnie n00b
Joined: 20 Apr 2002 Posts: 29 Location: Maryland
|
Posted: Wed May 08, 2002 10:41 pm Post subject: List installed packages? |
|
|
How do I list packages that I've installed? Is there an emerge command for that? _________________ -vin |
|
Back to top |
|
|
jouzts n00b
Joined: 29 Apr 2002 Posts: 68 Location: South Carolina
|
Posted: Wed May 08, 2002 11:15 pm Post subject: |
|
|
emerge gentoolkit
epm -qa
John |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed May 08, 2002 11:27 pm Post subject: |
|
|
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 |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed May 08, 2002 11:29 pm Post subject: |
|
|
jouzts wrote: | emerge gentoolkit
epm -qa
John |
Or you could do it the easy way |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Thu May 09, 2002 1:37 am Post subject: |
|
|
Please look at my post @ https://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 |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Thu May 09, 2002 3:03 am Post subject: |
|
|
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 |
|
|
vinnie n00b
Joined: 20 Apr 2002 Posts: 29 Location: Maryland
|
Posted: Thu May 09, 2002 12:04 pm Post subject: Well I did search... |
|
|
I just didnt find that message. Thanks tho. _________________ -vin |
|
Back to top |
|
|
|