<?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>MrBrown blob &#187; Mac</title>
	<atom:link href="http://charles.lescampeurs.org/category/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://charles.lescampeurs.org</link>
	<description>random bits.</description>
	<lastBuildDate>Sat, 10 Apr 2010 09:02:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sudo: port: command not found</title>
		<link>http://charles.lescampeurs.org/2008/08/05/sudo-port-command-not-found</link>
		<comments>http://charles.lescampeurs.org/2008/08/05/sudo-port-command-not-found#comments</comments>
		<pubDate>Tue, 05 Aug 2008 10:28:33 +0000</pubDate>
		<dc:creator>CharlyBr</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://charles.lescampeurs.org/?p=43</guid>
		<description><![CDATA[On MacOSX, if you have installed macports with the package installer, you may encounter the sudo: port: command not found problem. Macports binaries are installed in /opt/local/bin, so you just need to add this path to your PATH environment variable. Example with your user, add to your $HOME/.profile : export PATH=$PATH:/opt/local/bin You can source your [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcharles.lescampeurs.org%2F2008%2F08%2F05%2Fsudo-port-command-not-found"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcharles.lescampeurs.org%2F2008%2F08%2F05%2Fsudo-port-command-not-found&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>On MacOSX, if you have installed <a title="MacPorts" href="http://www.macports.org/" target="_blank">macports</a> with the package installer, you may encounter the <em>sudo: port: command not found</em> problem.</p>
<p>Macports binaries are installed in <em>/opt/local/bin</em>, so you just need to add this path to your PATH environment variable. Example with your user, add to your <em>$HOME/.profile</em> :</p>
<pre>export PATH=$PATH:/opt/local/bin</pre>
<p>You can source your profile file to update your environment:</p>
<pre>$ source .profile</pre>
<p>You are now able to use the port command:</p>
<pre>$ sudo port -v selfupdate</pre>
]]></content:encoded>
			<wfw:commentRss>http://charles.lescampeurs.org/2008/08/05/sudo-port-command-not-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
