Difference between revisions of "Gentoo Prefix On Mac OS X"
From Funtoo Linux
| Line 1: | Line 1: | ||
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 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. Here's how you do it. As root (<tt>sudo su -</tt>), type: | + | There is a handy script you can use to install Gentoo Prefix on any Mac OS X machine. ''For this to work, you must have the XCode command-line tools installed, so that a compiler toolchain exists.'' The XCode command-line tools can be installed from the Apple Mac OS X install media. |
| + | |||
| + | Here's how you do it. As root (<tt>sudo su -</tt>), type: | ||
The <tt>EPREFIX</tt> variable controls the install location. The default is <tt>~/gentoo</tt>. | The <tt>EPREFIX</tt> variable controls the install location. The default is <tt>~/gentoo</tt>. | ||
Revision as of 00:37, 13 April 2012
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. For this to work, you must have the XCode command-line tools installed, so that a compiler toolchain exists. The XCode command-line tools can be installed from the Apple Mac OS X install media.
Here's how you do it. As root (sudo su -), type:
The EPREFIX variable controls the install location. The default is ~/gentoo.
$ 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 :)