<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jduck.net &#187; unix</title>
	<atom:link href="http://jduck.net/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://jduck.net</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 13:01:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Install MacPorts in Local Home Directory</title>
		<link>http://jduck.net/2008/12/12/install-macports-in-local-home-directory/</link>
		<comments>http://jduck.net/2008/12/12/install-macports-in-local-home-directory/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 15:26:40 +0000</pubDate>
		<dc:creator>Jonah</dc:creator>
				<category><![CDATA[macosx]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://jduck.net/?p=142</guid>
		<description><![CDATA[I was needing to install MacPorts on a multi-user system where I didn&#8217;t have root access. Here is what I did. mkdir ${HOME}/macports cd ${HOME}/macports wget http://svn.macports.org/repository/macports/downloads/MacPorts-1.6.0/MacPorts-1.6.0.tar.gz tar -xzvf MacPorts-1.6.0.tar.gz cd MacPorts-1.6.0 ./configure --prefix=${HOME}/macports --with-tclpackage=${HOME}/macports/tcl \ --with-install-user=${USER} --with-install-group=${USER} make make install You will now have a macports directory in your home directory: $ ls macports [...]]]></description>
			<content:encoded><![CDATA[<p>I was needing to install MacPorts on a multi-user system where I didn&#8217;t have root access.  Here is what I did.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #800000;">${HOME}</span><span style="color: #000000; font-weight: bold;">/</span>macports
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #800000;">${HOME}</span><span style="color: #000000; font-weight: bold;">/</span>macports
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.macports.org<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>macports<span style="color: #000000; font-weight: bold;">/</span>downloads<span style="color: #000000; font-weight: bold;">/</span>MacPorts-1.6.0<span style="color: #000000; font-weight: bold;">/</span>MacPorts-1.6.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> MacPorts-1.6.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> MacPorts-1.6.0
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #800000;">${HOME}</span><span style="color: #000000; font-weight: bold;">/</span>macports <span style="color: #660033;">--with-tclpackage</span>=<span style="color: #800000;">${HOME}</span><span style="color: #000000; font-weight: bold;">/</span>macports<span style="color: #000000; font-weight: bold;">/</span>tcl \
<span style="color: #660033;">--with-install-user</span>=<span style="color: #800000;">${USER}</span> <span style="color: #660033;">--with-install-group</span>=<span style="color: #800000;">${USER}</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>You will now have a macports directory in your home directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ls</span> macports
bin     etc     include lib     libexec <span style="color: #c20cb9; font-weight: bold;">man</span>     sbin    share   src     tcl     var     www</pre></div></div>

<p>Add ${HOME}/macports/bin to your path and you&#8217;ll be able to run &#8220;port install *portname*&#8221; ports you install will get installed in your home directory.  Handy for any little tools you need to have available that might not be built on the system you&#8217;re using.</p>
]]></content:encoded>
			<wfw:commentRss>http://jduck.net/2008/12/12/install-macports-in-local-home-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
