Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
list of installed packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Wed Jun 26, 2002 3:47 am    Post subject: list of installed packages Reply with quote

Hi,

How could I see the list of all installed packages?

Thanks,
Fred.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jun 26, 2002 3:50 am    Post subject: Reply with quote

Code:
# emerge gentoolkit
# man qpkg

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Wed Jun 26, 2002 4:02 am    Post subject: Reply with quote

You mean I have to emerge gentoolkit everytime I want to see a list of installed packages?

Just thought I'd save time :D
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jun 26, 2002 4:10 am    Post subject: Reply with quote

kanuslupus wrote:
You mean I have to emerge gentoolkit everytime I want to see a list of installed packages?

Yes! And read the whole manual page, too! :P
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 6:16 pm    Post subject: Reply with quote

There is another tool called epm that is much faster than qpkg:

Code:

time qpkg -I
real    0m4.246s
user    0m1.495s
sys     0m2.356s


Code:

time epm -qa
real    0m0.354s
user    0m0.142s
sys     0m0.028s


I took out the list of applications because it is too long to post, but epm is a nice tool as is gentoolkits set of scripts.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Wed Jun 26, 2002 6:42 pm    Post subject: Reply with quote

Yep, but no man page on epm.
Where does it get its information from?
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 8:24 pm    Post subject: Reply with quote

I'm just assuming here, but I think it gets information from the same place qpkg and portage does.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Wed Jun 26, 2002 10:56 pm    Post subject: Reply with quote

there is a man page for qpkg
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jun 27, 2002 1:28 am    Post subject: Reply with quote

I didn't write the program/script I just stated that it's in portage and indeed faster than qpkg.

If you want to know more about it I would recommend looking at the ebuild to see who the developer is and email him about it :wink:
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 27, 2002 1:48 am    Post subject: Reply with quote

AutoBot wrote:
There is another tool called epm that is much faster than qpkg:

Code:

time qpkg -I
real    0m4.246s
user    0m1.495s
sys     0m2.356s


Code:

time epm -qa
real    0m0.354s
user    0m0.142s
sys     0m0.028s


I took out the list of applications because it is too long to post, but epm is a nice tool as is gentoolkits set of scripts.

I have to disagree with your conclusion, or at least with the way you conduced this test. If you ran one command after the other and, as you say, they get their data from the same place, the second one probably got the data from the cache, which is indeed much faster. To really conclude anything, you'd have to run each one two or three times, at least.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jun 27, 2002 1:52 am    Post subject: Reply with quote

Actually I ran them the other way around first and epm is faster.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 27, 2002 2:20 am    Post subject: Reply with quote

AutoBot wrote:
Actually I ran them the other way around first and epm is faster.

Ok, fair enough... :P
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jun 27, 2002 2:21 am    Post subject: Reply with quote

Good thinking though, I thought about the db information getting cached.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Russki
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2002
Posts: 119
Location: Prague, Czech Republic

PostPosted: Thu Jun 27, 2002 8:25 am    Post subject: Reply with quote

Hi
there is an ebuild: KPortageMaster
It's a KDE gui for portage.
It also lets you see the list of all installed packages :!:
_________________
Facts are stupid things.
-Ronald Reagan
[img]http://www.danasoft.com/vipersig.jpg[/img]
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Thu Jun 27, 2002 12:51 pm    Post subject: Reply with quote

Excellent. I just tried that, it looks very nice.
Actually, is there a way to see the installation date of the merging?
I believe I'm asking too much, but who knows...

Thanks for the tips all
Back to top
View user's profile Send private message
arkane
l33t
l33t


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

PostPosted: Thu Jun 27, 2002 4:46 pm    Post subject: Reply with quote

One cool thing I've found about qpkg is that it can help emerge actually do the whole world.

I've done it (after much twitching as it was compiling, scared as hell) when I inserted -fomit-frame-pointer into my CFLAGS.

qpkg -nc -I | sort | uniq | NOCOLOR="true" xargs emerge -u (-p for pretend it if you wish)
Back to top
View user's profile Send private message
arkane
l33t
l33t


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

PostPosted: Thu Jun 27, 2002 4:47 pm    Post subject: Reply with quote

kanuslupus wrote:
You mean I have to emerge gentoolkit everytime I want to see a list of installed packages?

Just thought I'd save time :D


You don't need to re-emerge it everytime. Once you emerge it, it's always on your system.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jun 27, 2002 4:51 pm    Post subject: Reply with quote

arkane wrote:
One cool thing I've found about qpkg is that it can help emerge actually do the whole world.

I've done it (after much twitching as it was compiling, scared as hell) when I inserted -fomit-frame-pointer into my CFLAGS.

qpkg -nc -I | sort | uniq | NOCOLOR="true" xargs emerge -u (-p for pretend it if you wish)


That was the only sane way you could re-emerge everything on your system until portage2 came out and fixed emerge -e world.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Thu Jun 27, 2002 4:52 pm    Post subject: Reply with quote

I was just being funny arkane... thats why he replied that I had to read the whole man page every time too :D
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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