Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to find file from a package not installed
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
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 225
Location: Poland

PostPosted: Sun Dec 30, 2018 6:09 pm    Post subject: How to find file from a package not installed Reply with quote

[This post was originally attached to the 11-year-old thread which package provides "lspci" [solved]. -Hu]

Which is contrary to what is usually wanted.
If I have a package installed, then I most likely know already what it contains.
More often I want to know where to find a certain file and what packages I have to install to get them.
Is there any command that provides that information? (that is, what package contains a certain file when I don't have that package installed yet)
_________________
SasQ
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45359
Location: 56N 3W

PostPosted: Sun Dec 30, 2018 6:24 pm    Post subject: Reply with quote

sasq,

There is Portage File List
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1057
Location: The Holy city of Honolulu

PostPosted: Sun Dec 30, 2018 6:27 pm    Post subject: Reply with quote

sasq wrote:
Is there any command that provides that information? (that is, what package contains a certain file when I don't have that package installed yet)


Google?
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2020 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 225
Location: Poland

PostPosted: Sun Dec 30, 2018 7:00 pm    Post subject: Reply with quote

Muso wrote:
Google?

Not sure if trolling or just a regular dick? -_- Be gone to Stack Overflow with such answers.
(BTW I don't even use Google for my search queries since many years...)

NeddySeagoon wrote:
There is Portage File List


Thanks, nice to know. However it's not a command. It cannot be used offline.
_________________
SasQ
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1057
Location: The Holy city of Honolulu

PostPosted: Sun Dec 30, 2018 7:02 pm    Post subject: Reply with quote

sasq wrote:
Muso wrote:
Google?

Not sure if trolling or just a regular dick?


Neither. Web searching is my usual go to for answers to questions like that.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2020 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3768
Location: Hamburg

PostPosted: Sun Dec 30, 2018 7:08 pm    Post subject: Reply with quote

sasq wrote:
Muso wrote:
Google?

Not sure if trolling or just a regular dick? -_- Be gone to Stack Overflow with such answers.
(BTW I don't even use Google for my search queries since many years...)

NeddySeagoon wrote:
There is Portage File List


Thanks, nice to know. However it's not a command. It cannot be used offline.
Wrong statement.
Code:
emerge pfl; e-file /usr/sbin/lspci
Back to top
View user's profile Send private message
sasq
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 225
Location: Poland

PostPosted: Sun Dec 30, 2018 8:41 pm    Post subject: Reply with quote

toralf wrote:
Wrong statement.
Code:
emerge pfl; e-file /usr/sbin/lspci


Wrong statement indeed: this here is a command. The one from Neddy's link I was refering to wasn't: it was a website.

But I see it now: my mistake was to ask a legitimate question in a lair of trolls. My bad. That won't happen again.
Duly added this forum to my "websites to never go to again" list.

P.S. I can only guess, judging by the familiar tone of the answers above, that it's only a matter of time when Gentoo will force SystemD upon users. Time's a changin'...
_________________
SasQ
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45359
Location: 56N 3W

PostPosted: Sun Dec 30, 2018 9:45 pm    Post subject: Reply with quote

sasq,

Quote:
P.S. I can only guess, judging by the familiar tone of the answers above, that it's only a matter of time when Gentoo will force SystemD upon users. Time's a changin'...

That really depends on ${UPSTREAM} since Gentoo is the portage package manager and the ebuild repository.

You can even do things like Old Fashioned Gentoo Install with Gentoo, which was my "udev is being subsumed into systemd" escape plan.

Almost everything works, except Gnome :)

I admit you need to add USE=olde-gentoo here and there and create a lot of your own /dev nodes
I really need to push my gentoo-static overlay to github.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23980
Location: here

PostPosted: Mon Dec 31, 2018 8:40 am    Post subject: Reply with quote

Muso wrote:
sasq wrote:
Muso wrote:
Google?

Not sure if trolling or just a regular dick?


Neither. Web searching is my usual go to for answers to questions like that.

I agree with muso
_________________
Questions are guaranteed in life; Answers aren't.
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