注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Gentoo Prefix On Mac OS X"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
Now, let's work on Funtoo Prefix :) | Now, let's work on Funtoo Prefix :) | ||
Latest revision as of 09:19, December 28, 2014
There is a way to install Gentoo so that it runs within Mac OS X. This install method is called "Gentoo Prefix".
There is a handy script you can use to install Gentoo Prefix on any Mac OS X machine.
Requirements
For Gentoo Prefix installation to work, you must have the Xcode command-line tools installed, so that a compiler toolchain exists. Here are the steps to install the Xcode command-line tools:
- Install Xcode itself from the Apple Mac OS X install media. If you are using Mac OS Lion, then the Apple App Store has Xcode available. Search for "Xcode" and you will be able to download and install it.
- Now, start Xcode.
- Go to the Xcode menu, then Preferences, then the Downloads tab.
- Click "Install" next to "Command Line Tools".
- You will need to log in with your Apple Developer ID for the download to continue.
Here's how you do it. As root (sudo su -), type:
The EPREFIX variable controls the install location. The default is ~/gentoo.
user $ wget http://www.cs.stonybrook.edu/~ryao/prefix-install.sh && chmod u+x ./prefix-install.sh && env MAKEOPTS=-j5 ./prefix-install.sh
Bam!
Now, let's work on Funtoo Prefix :)