Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Would it be possible to install portage on other linux OSes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
grapefruithoarder2000
n00b
n00b


Joined: 19 Feb 2024
Posts: 6

PostPosted: Mon Feb 19, 2024 8:24 pm    Post subject: Would it be possible to install portage on other linux OSes Reply with quote

Hello gentoo community! This is my first post. Maybe a stupid one but its been on my mind for quite a while now. Would it be possible to install portage on another linux os?

Like for example on an LFS installation? Now i know that this is kind of stupid because your essentially just turning it into gentoo in the end anyway. But... I like stupid stuff :D

I dont need a tutorial but if you were to try it (asking for a friend :lol: ) where would you start?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 19, 2024 8:41 pm    Post subject: Reply with quote

grapefruithoarder2000,

Welcome to Gentoo.

"Because I can" is as good a reason to do something as any other.

Installing portage on LFS is like installing any other package there.
Install the dependencies, install portage.

Using it is a different matter altogether. You didn't ask about that.
Portage keeps track of every file installed on the system. That's in /var/db/pkg/
After you install portage on LFS, portage will have lost its mind. More exactly, it will have been born without one.
The profiles provided in the ::gentoo repo are some useful defaults too. You will want them.

You didn't ask about the repo(s) but you will need the ::gentoo repo

All in all, a new Gentoo install will be faster that trying to convert LFS but that's not a reason to avoid it.
_________________
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
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3137

PostPosted: Mon Feb 19, 2024 8:41 pm    Post subject: Reply with quote

Yes, by the time you're done, it will just be another gentoo with unnecessarily difficult upbringing.
There are some tutorials for in-place conversion from another distro. Perhaps this wiki article could be useful:
https://wiki.gentoo.org/wiki/Replace_a_Linux_installation_with_Gentoo_in-place

Haven't read it; such conversion is an inherently stupid idea, since there are many things that can go wrong in very obscure ways, but fun is fun. Go ahead and enjoy your journey.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
grapefruithoarder2000
n00b
n00b


Joined: 19 Feb 2024
Posts: 6

PostPosted: Mon Feb 19, 2024 8:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:
grapefruithoarder2000,

Welcome to Gentoo.

"Because I can" is as good a reason to do something as any other.

Installing portage on LFS is like installing any other package there.
Install the dependencies, install portage.

Using it is a different matter altogether. You didn't ask about that.
Portage keeps track of every file installed on the system. That's in /var/db/pkg/
After you install portage on LFS, portage will have lost its mind. More exactly, it will have been born without one.
The profiles provided in the ::gentoo repo are some useful defaults too. You will want them.

You didn't ask about the repo(s) but you will need the ::gentoo repo

All in all, a new Gentoo install will be faster that trying to convert LFS but that's not a reason to avoid it.


Thanks for the feedback. I appreciate any new info :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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