Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
finding what uninstalled package contains a file
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
jaybird
n00b
n00b


Joined: 11 Jun 2004
Posts: 59
Location: Alberta, Canada

PostPosted: Tue May 31, 2005 8:50 pm    Post subject: finding what uninstalled package contains a file Reply with quote

I often need to find a program and know it is in a portage package but not sure which one. For example, kalarm for kde 3.3.x is in one of the kde packages but I don't know which one.

Is there not a way in portage to give the name of a package (like kdetoys for example) and it will list all the files it will install (better yet, just the program/binaries it will install)? I could do this with rpms but have not been able to figure out how to do this with portage.

If there is no way of doing this can someone tell me where the kalarm program is? (I know there is a kalarm3.4.x package but it's masked as I'm still using kde3.3.x)

Thanks
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue May 31, 2005 9:43 pm    Post subject: Reply with quote

qpkg -q kalarm

Read man qpkg.
Back to top
View user's profile Send private message
JRV
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 291

PostPosted: Tue May 31, 2005 9:45 pm    Post subject: Re: finding what uninstalled package contains a file Reply with quote

jaybird wrote:
Is there not a way in portage to give the name of a package (like kdetoys for example) and it will list all the files it will install (better yet, just the program/binaries it will install)?


Through portage alone, there is no way to do this. The list of files of a package is only known once it is installed (and the list of files depends on your USE flags anyway, right?). The portage tree doesn't contain information that information.
Back to top
View user's profile Send private message
jaybird
n00b
n00b


Joined: 11 Jun 2004
Posts: 59
Location: Alberta, Canada

PostPosted: Tue May 31, 2005 10:14 pm    Post subject: Reply with quote

yaneurabeya wrote:
qpkg -q kalarm

Read man qpkg.


Doesn't work for what I was asking. If I run that it tells me about the kalarm 3.4.x package (as of kde 3.4 it is a separate package). In 3.3 it is part of a larger package, but the documentation for what is in these packages in gentoo seems to be non-existent.
Back to top
View user's profile Send private message
jaybird
n00b
n00b


Joined: 11 Jun 2004
Posts: 59
Location: Alberta, Canada

PostPosted: Tue May 31, 2005 10:17 pm    Post subject: Re: finding what uninstalled package contains a file Reply with quote

JRV wrote:

Through portage alone, there is no way to do this. The list of files of a package is only known once it is installed (and the list of files depends on your USE flags anyway, right?). The portage tree doesn't contain information that information.


I sort of expected this was the case. The point of a package is to install one or more programs. You think the portage files could contain the information of what programs they have the potential at least of installing. Then doing a search such as emerge --program-list kalarm would look through the portage index of these files and tell us what package(s) contains the kalarm binary.

Oh, well I guess I just keep digging for the docs that don't seem to exist.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Tue May 31, 2005 10:37 pm    Post subject: Reply with quote

Moved to Duplicate Threads in favour of emerge --provides ? what package provides what file? and Search for file in portage.
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