<?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>biotext.org.uk &#187; redhat</title>
	<atom:link href="http://biotext.org.uk/tag/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://biotext.org.uk</link>
	<description>Not a typewriter</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:44:30 +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>Installing Spotify on Fedora 13</title>
		<link>http://biotext.org.uk/installing-spotify-on-fedora-13/</link>
		<comments>http://biotext.org.uk/installing-spotify-on-fedora-13/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 11:52:55 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://biotext.org.uk/?p=496</guid>
		<description><![CDATA[I&#8217;ve recently taken possession of a flashy new workstation running Fedora, and with joy in my heart went to install Spotify on it, only to discover&#8230; Noooo&#8230; They only offer .deb packages for Debian and Ubuntu.
Thankfully, the solution was easier than I thought. Do all the following as root&#8230;
1. Install dpkg, the Debian package management [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently taken possession of a flashy new workstation running Fedora, and with joy in my heart went to install <a href="http://www.spotify.com/uk/download/previews/">Spotify</a> on it, only to discover&#8230; Noooo&#8230; They only offer .deb packages for Debian and Ubuntu.</p>
<p>Thankfully, the solution was easier than I thought. Do all the following as root&#8230;</p>
<p>1. Install dpkg, the Debian package management tool:</p>
<p><code>yum install dpkg</code></p>
<p>2. Download the base package for your architecture, and the gnome support package, from here:</p>
<p><a href="http://repository.spotify.com/pool/non-free/s/spotify/">http://repository.spotify.com/pool/non-free/s/spotify/</a></p>
<p>3. Create a temp directory, and unpack them there (we want to check for clashes):</p>
<p><code>mkdir spotify<br />
cd spotify<br />
dpkg -x ../spotify-client-qt_0.4.7.132.g9df34c0-1_amd64.deb .<br />
dpkg -x ../spotify-client-gnome-support_0.4.7.132.g9df34c0-1_all.deb .</code></p>
<p>4. This gives you a directory tree starting at <code>/usr</code>. You can check for clashes like this:</p>
<p><code>find -not -type d -exec ls -l /'{}' \;</code></p>
<p>&#8230; and make sure there&#8217;s no files found.</p>
<p>5. Then re-extract them into your root partition (hence checking for clashes first):</p>
<p><code>dpkg -x ../spotify-client-qt_0.4.7.132.g9df34c0-1_amd64.deb /<br />
dpkg -x ../spotify-client-gnome-support_0.4.7.132.g9df34c0-1_all.deb /</code></p>
<p>6. Finally, we need to manually install qt-x11 as this dependency is needed:</p>
<p><code>yum install qt-x11</code></p>
<p>7. Then just type <code>spotify</code> and log in!</p>
<p>Seems pretty stable so far, apart from a couple of minor glitches.</p>
<p><strong>EDIT:</strong> As suggested by Tyson Key in <a href="http://getsatisfaction.com/spotify/topics/spotify_on_fedora_13_audio_skips">this thread</a>, I got rid of the audio glitches by starting the PulseAudio volume control (<code>/usr/bin/pavucontrol</code>) before Spotify. Maybe this adds some buffering or something.</p>
<p><em>N.B. I take no responsibility if this process damages your computer, your music collection, your hearing or your sanity. Try at your own risk <img src='http://biotext.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://biotext.org.uk/installing-spotify-on-fedora-13/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing Flash on 64-bit Linux (Centos 5)</title>
		<link>http://biotext.org.uk/installing-flash-on-64-bit-linux-centos-5/</link>
		<comments>http://biotext.org.uk/installing-flash-on-64-bit-linux-centos-5/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 16:23:59 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://biotext.org.uk/?p=166</guid>
		<description><![CDATA[This took a fair bit of searching, and the answer&#8217;s non-obvious&#8230;
Everybody (?) knows that in theory, if you have 64-bit Firefox on 64-bit Linux (x86_64), you can use nspluginwrapper to install 32-bit plugins, like the Flash Player. There&#8217;s some instructions here for example.
However, those instructions are flawed in two regards.
Firstly, Flash Player 10 doesn&#8217;t come [...]]]></description>
			<content:encoded><![CDATA[<p>This took a fair bit of searching, and the answer&#8217;s non-obvious&#8230;</p>
<p>Everybody (?) knows that in theory, if you have 64-bit Firefox on 64-bit Linux (x86_64), you can use <a href="http://gwenole.beauchesne.info/en/projects/nspluginwrapper">nspluginwrapper</a> to install 32-bit plugins, like the Flash Player. There&#8217;s some instructions <a title="Installing Flash Player 9 On 64Bit Linux (x86_64)" href="http://www.howtoforge.com/installing-flash-player9-on-64bit-linux">here</a> for example.</p>
<p>However, those instructions are flawed in two regards.</p>
<p><span id="more-166"></span>Firstly, Flash Player 10 doesn&#8217;t come with a .xpt file any more, but that&#8217;s not apparently a problem.</p>
<p>Secondly, and more mistifyingly, nspluginwrapper seems to require you to give the <strong>absolute </strong>path to the plugin&#8217;s .so file, for some reason. So if you get an error like this:</p>
<pre>$ nspluginwrapper -v -i libflashplayer.so
*** NSPlugin Viewer  *** ERROR: libflashplayer.so: cannot open
shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for libflashplayer.so</pre>
<p>Then try again with the full path to the plugin:</p>
<pre>$ nspluginwrapper -v -i /home/bsm/clegg/.mozilla/plugins/libflashplayer.so
Install plugin /home/bsm/clegg/.mozilla/plugins/libflashplayer.so
  into /home/bsm/clegg/.mozilla/plugins/npwrapper.libflashplayer.so</pre>
<p>Restart Firefox, and away you go, joy! No feeling for stability yet, but I&#8217;ll post again if there are any problems.</p>
<p>Incidentally, I first tried installing nspluginwrapper via yum, and got a whole bunch of unsatisfied dependencies:</p>
<pre>Error: Package devhelp needs libgtkembedmoz.so, this is not available.
Error: Package devhelp needs libxpcom.so, this is not available.
Error: Package devhelp needs gecko-libs = 1.8.0.12, this is not available.</pre>
<p style="text-align: left;">Then I just tried installing the RPMs from the<a href="http://gwenole.beauchesne.info/en/projects/nspluginwrapper"> nspluginwrapper home page</a> (first the one marked Viewer, then the one marked Plugin) and it worked like a charm.</p>
<p style="text-align: left;">Hat tip to <a title="Ubuntu Forums" href="http://ubuntuforums.org/showthread.php?t=646167">this thread on the Ubuntu Forums</a> for finally revealing the key bit of information about absolute vs. relative paths.</p>
<p style="text-align: left;"><strong>UPDATE:</strong> Aaargh, sound doesn&#8217;t work. But that seems to be the fault of my ALSA drivers rather than Flash or nspluginwrapper. Apparently Flash can only use ALSA for sound, and not any of the other various Linux sound architectures, and only OSS works on this PC&#8230;</p>
<p style="text-align: left;">Andrew.</p>
]]></content:encoded>
			<wfw:commentRss>http://biotext.org.uk/installing-flash-on-64-bit-linux-centos-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Updating Subversion on 64-bit Linux (Centos 5)</title>
		<link>http://biotext.org.uk/updating-subversion-on-64-bit-linux-centos-5/</link>
		<comments>http://biotext.org.uk/updating-subversion-on-64-bit-linux-centos-5/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 11:18:28 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://biotext.org.uk/?p=102</guid>
		<description><![CDATA[I just ran into a problem when trying to upgrade to the latest rpm-packaged version of Subversion on Centos 5 x86_64 &#8212; simple solution, but not obvious, so hopefully this will help someone.
It goes like this, as root:
$ yum update subversion
[normal messages snipped]
Transaction Check Error:
  file /usr/share/emacs/site-lisp/psvn.el
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran into a problem when trying to upgrade to the latest rpm-packaged version of Subversion on Centos 5 x86_64 &#8212; simple solution, but not obvious, so hopefully this will help someone.</p>
<p>It goes like this, as root:</p>
<pre>$ yum update subversion</pre>
<p>[normal messages snipped]</p>
<pre>Transaction Check Error:
  file /usr/share/emacs/site-lisp/psvn.el
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/man/man1/svn.1.gz
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/man/man1/svnadmin.1.gz
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/man/man1/svnlook.1.gz
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/man/man5/svnserve.conf.5.gz
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/man/man8/svnserve.8.gz
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5
  file /usr/share/xemacs/site-packages/lisp/psvn.el
from install of subversion-1.5.5-0.1.el5.rf
conflicts with file from package subversion-1.4.2-2.el5</pre>
<p>WTF? Surely doing an update is supposed to replace files from an earlier release with a later one?</p>
<p><span id="more-102"></span>The reason, as my colleague <a title="Ian Sillitoe" href="http://cathdb.info/wiki/doku.php?id=cathteam:sillitoe">Ian</a> discovered, is that 64-bit Centos has both 32 and 64-bit versions of Subversion, which causes it to get its knickers in a twist when doing an update. So we just did the following:</p>
<pre>$ yum erase subversion.i386
$ yum update subversion</pre>
<p>to remove the 32-bit version and then just update the 64-bit one. Works fine. (Touch wood&#8230;)</p>
<p>Probably works with Redhat Enterprise (RHEL) too and possibly other distros.</p>
<p><strong>EDIT:</strong> If you only have the Centos base RPM repository, you won&#8217;t find svn 1.5.5 (or any recent versions). You need to set your system up to use RPMForge as well, as documented <a href="http://www.ultranetsolutions.com/CentOS-5-install-rpmforge-yum-repo.html">here</a>. Thanks to GR in the comments for pointing this out.</p>
<p>Andrew.</p>
]]></content:encoded>
			<wfw:commentRss>http://biotext.org.uk/updating-subversion-on-64-bit-linux-centos-5/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
