<?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>Abraxas &#187; stow</title>
	<atom:link href="http://www.effinger.org/blog/tag/stow/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.effinger.org/blog</link>
	<description>a personal knowledge base</description>
	<lastBuildDate>Sun, 06 Jun 2010 17:41:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Programme mit stow verwalten</title>
		<link>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/</link>
		<comments>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 17:26:01 +0000</pubDate>
		<dc:creator>Markus Effinger</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[RubyRipper]]></category>
		<category><![CDATA[stow]]></category>

		<guid isPermaLink="false">http://www.effinger.org/blog/?p=26</guid>
		<description><![CDATA[<p>Obwohl die meisten Linux-Programme in einer Paket-Version für Ubuntu erhältlich sind und man sich deshalb keine Gedanken um die Installation machen muss, gibt es doch das eine oder andere Programm, das eben noch nicht in einer Paket-Version erhältlich ist. Diese Programme werden dann üblicherweise in /usr/local installiert. In diesem Verzeichnis kann man sehr schnell den [...]]]></description>
			<content:encoded><![CDATA[<p>Obwohl die meisten Linux-Programme in einer Paket-Version für Ubuntu erhältlich sind und man sich deshalb keine Gedanken um die Installation machen muss, gibt es doch das eine oder andere Programm, das eben noch nicht in einer Paket-Version erhältlich ist. Diese Programme werden dann üblicherweise in /usr/local installiert. In diesem Verzeichnis kann man sehr schnell den Überblick verlieren und ist außerdem aufgeschmissen, wenn die Deinstallationsroutine unvollständig ist oder versagt. Aus diesem Grund wurde stow entwickelt. Dabei werden die Programme nicht /usr/local, sondern in /usr/local/programmname installiert. stow erzeugt anschließend entsprechende Symlinks zu den einzelnen Dateien.</p>
<p>Am Beispiel von RubyRipper exerzieren wir das nun durch:</p>
<ol>
<li>Erstmal sicher stellen, dass alle notwendigen Pakete vorhanden sind:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> cd-discid <span style="color: #c20cb9; font-weight: bold;">cdparanoia</span> ruby ruby-pkg-tools libgettext-ruby1.8 libgtk2-ruby</pre></div></div>

</li>
<li>Die neueste Version auf der <a href="http://code.google.com/p/rubyripper/">RubyRipper-Webseite</a> herunterladen</li>
<li>Die Datei entpacken und in das Verzeichnis wechseln

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xjvf rubyripper-0.5.3.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> rubyripper-0.5.3</pre></div></div>

</li>
<li>Wichtig: Zielverzeichnis konfigurieren

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-lang-all</span> <span style="color: #660033;">--enable-gtk2</span> <span style="color: #660033;">--enable-cli</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>rubyripper</pre></div></div>

</li>
<li>Programm installieren

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Stow die Verknüpfungen anlegen lassen

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> stow <span style="color: #660033;">-R</span> rubyripper</pre></div></div>

<p>Fertig!</li>
</ol>
<p>Deinstallation</p>
<ol>
<li>Verweise mit stow entfernen:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> stow <span style="color: #660033;">-D</span> rubyripper</pre></div></div>

</li>
<li>Deinstallation mit

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> uninstall</pre></div></div>

</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.effinger.org/blog/2008/10/09/pakete-mit-stow-verwalten/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
