Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --list
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
fourth
n00b
n00b


Joined: 26 Nov 2004
Posts: 48

PostPosted: Tue Sep 05, 2006 5:30 am    Post subject: emerge --list Reply with quote

I'm looking though man emerge, the handbook and googling around and still can't seem to find a list of the installed packages and versions.

Having just finished installing my first working Gentoo system, and having just emerged xorg(based on the modular Howto) I wanted to see if I just emerged 6.9 or 7.0. Plus I was just curious as to what packages are installed.
Back to top
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Tue Sep 05, 2006 5:34 am    Post subject: Reply with quote

Code:
# emerge eix
# eix xorg-x11
* x11-base/xorg-x11
     Available versions:  6.8.2-r7 6.8.2-r8 [M]6.9.0-r3 7.0-r1 ~7.1
     Installed:           7.0-r1
     Homepage:            http://xorg.freedesktop.org
     Description:         An X11 implementation maintained by the X.Org Foundation (meta package)


or

Code:
# emerge genlop
# genlop xorg-x11
 * x11-base/xorg-x11

     Tue Aug 29 19:53:36 2006 >>> x11-base/xorg-x11-7.0-r1


or simply

Code:
# emerge -s xorg-x11
Searching...
[ Results for search key : xorg-x11 ]
[ Applications found : 1 ]

*  x11-base/xorg-x11
      Latest version available: 7.0-r1
      Latest version installed: 7.0-r1
      Size of files: 0 kB
      Homepage:      http://xorg.freedesktop.org
      Description:   An X11 implementation maintained by the X.Org Foundation (meta package)
      License:       as-is


there are loads of ways to see that info


do
Code:
# genlop -l


to see all merged packages
_________________
Antonino Catinello | http://catinello.eu
Back to top
View user's profile Send private message
fourth
n00b
n00b


Joined: 26 Nov 2004
Posts: 48

PostPosted: Tue Sep 05, 2006 5:39 am    Post subject: Reply with quote

Awesome. thankyou, I was half expected to find a command in emerge or gentoolkit since I saw a very similar list to what I wanted to see during a 'emerge -uDpv world ', of course now that the system was updated I get nothing.

Again thanks, I'll have a look though these tools..
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Sep 05, 2006 5:58 am    Post subject: Reply with quote

You could also have run "emerge -p xorg-x11" and it would show your installed version and that it would be rebuilt (if not for the -p).

If you already have gentoolkit installed, then "equery l xorg-x11", would also show you the installed version.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
leifbk
Guru
Guru


Joined: 05 Jan 2004
Posts: 415
Location: Bærum, Norway

PostPosted: Tue Sep 05, 2006 6:07 am    Post subject: Reply with quote

fourth wrote:
Awesome. thankyou, I was half expected to find a command in emerge or gentoolkit since I saw a very similar list to what I wanted to see during a 'emerge -uDpv world ', of course now that the system was updated I get nothing.


Anytime, you can do a

Code:
emerge -epv world


or the same with long options:

Code:
emerge --emptytree --pretend --verbose world


and get a full list of installed packages with version numbers and use flags. You may even save it to a file, of course.

regards, Leif
_________________
Grumpy old man
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Tue Sep 05, 2006 6:28 am    Post subject: Reply with quote

Or a simple one like this:

Code:
equery list


Funny how many ways there is to do the same thing. :lol: :lol:

:D :D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
leifbk
Guru
Guru


Joined: 05 Jan 2004
Posts: 415
Location: Bærum, Norway

PostPosted: Tue Sep 05, 2006 8:24 am    Post subject: Reply with quote

dalek wrote:
Or a simple one like this:

Code:
equery list



Yes, but the output from "emerge -epv world" has a lot more information :wink:
_________________
Grumpy old man
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Sep 05, 2006 1:18 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this FAQ: GF3: How do I get a list of installed packages?
_________________
Search | Read | Answer | Report | Strip
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