Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

list of installed packages

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
fmalabre
Guru
Guru
User avatar
Posts: 376
Joined: Wed Jun 19, 2002 7:11 pm
Location: Chicago
Contact:
Contact fmalabre
Website

list of installed packages

  • Quote

Post by fmalabre » Wed Jun 26, 2002 3:47 am

Hi,

How could I see the list of all installed packages?

Thanks,
Fred.
Top
fghellar
Bodhisattva
Bodhisattva
User avatar
Posts: 856
Joined: Wed Apr 10, 2002 1:04 am
Location: Porto Alegre, BR

  • Quote

Post by fghellar » Wed Jun 26, 2002 3:50 am

Code: Select all

# emerge gentoolkit
# man qpkg
| www.gentoo.org | www.tldp.org | www.google.com |
Top
pjp
Administrator
Administrator
User avatar
Posts: 20708
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Wed Jun 26, 2002 4:02 am

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

Just thought I'd save time :D
Quis separabit? Quo animo?
Top
fghellar
Bodhisattva
Bodhisattva
User avatar
Posts: 856
Joined: Wed Apr 10, 2002 1:04 am
Location: Porto Alegre, BR

  • Quote

Post by fghellar » Wed Jun 26, 2002 4:10 am

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 |
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Wed Jun 26, 2002 6:16 pm

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

Code: Select all

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

Code: Select all

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.
Top
fmalabre
Guru
Guru
User avatar
Posts: 376
Joined: Wed Jun 19, 2002 7:11 pm
Location: Chicago
Contact:
Contact fmalabre
Website

  • Quote

Post by fmalabre » Wed Jun 26, 2002 6:42 pm

Yep, but no man page on epm.
Where does it get its information from?
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Wed Jun 26, 2002 8:24 pm

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.
Top
fmalabre
Guru
Guru
User avatar
Posts: 376
Joined: Wed Jun 19, 2002 7:11 pm
Location: Chicago
Contact:
Contact fmalabre
Website

  • Quote

Post by fmalabre » Wed Jun 26, 2002 10:56 pm

there is a man page for qpkg
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Thu Jun 27, 2002 1:28 am

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.
Top
fghellar
Bodhisattva
Bodhisattva
User avatar
Posts: 856
Joined: Wed Apr 10, 2002 1:04 am
Location: Porto Alegre, BR

  • Quote

Post by fghellar » Thu Jun 27, 2002 1:48 am

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

Code: Select all

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

Code: Select all

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 |
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Thu Jun 27, 2002 1:52 am

Actually I ran them the other way around first and epm is faster.
This message self destructed a long time ago.
Top
fghellar
Bodhisattva
Bodhisattva
User avatar
Posts: 856
Joined: Wed Apr 10, 2002 1:04 am
Location: Porto Alegre, BR

  • Quote

Post by fghellar » Thu Jun 27, 2002 2:20 am

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 |
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Thu Jun 27, 2002 2:21 am

Good thinking though, I thought about the db information getting cached.
This message self destructed a long time ago.
Top
Russki
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Sun Apr 28, 2002 7:04 pm
Location: Prague, Czech Republic

  • Quote

Post by Russki » Thu Jun 27, 2002 8:25 am

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
Image
Top
fmalabre
Guru
Guru
User avatar
Posts: 376
Joined: Wed Jun 19, 2002 7:11 pm
Location: Chicago
Contact:
Contact fmalabre
Website

  • Quote

Post by fmalabre » Thu Jun 27, 2002 12:51 pm

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
Top
arkane
l33t
l33t
User avatar
Posts: 918
Joined: Tue Apr 30, 2002 9:00 pm
Location: Phoenix, AZ

  • Quote

Post by arkane » Thu Jun 27, 2002 4:46 pm

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)
Top
arkane
l33t
l33t
User avatar
Posts: 918
Joined: Tue Apr 30, 2002 9:00 pm
Location: Phoenix, AZ

  • Quote

Post by arkane » Thu Jun 27, 2002 4:47 pm

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.
Top
AutoBot
l33t
l33t
User avatar
Posts: 968
Joined: Mon Apr 22, 2002 7:04 am
Location: Usually Out

  • Quote

Post by AutoBot » Thu Jun 27, 2002 4:51 pm

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.
Top
pjp
Administrator
Administrator
User avatar
Posts: 20708
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Thu Jun 27, 2002 4:52 pm

I was just being funny arkane... thats why he replied that I had to read the whole man page every time too :D
Quis separabit? Quo animo?
Top
Post Reply

19 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy