<?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>Pathin.org - a software developer&#039;s life</title>
	<atom:link href="http://www.pathin.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pathin.org</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 09:26:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Debian 6 &#8211; HowTo enable gnome root login on Debian 6 (Squeeze)</title>
		<link>http://www.pathin.org/tutorials/debian-6-howto-enable-gnome-root-login-on-debian-6-squeeze/</link>
		<comments>http://www.pathin.org/tutorials/debian-6-howto-enable-gnome-root-login-on-debian-6-squeeze/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 09:25:45 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.pathin.org/?p=205</guid>
		<description><![CDATA[Hello, in this short tutorial I will show you, how you can enable root login on the gnome login screen on Debian 6 (Squeeze). How to enable gnome root login on Debian 6? Note:You will need the root password for this set of commands. Step1: Login to a user account. Step2: Open a terminal window [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pathin.org/wp-content/uploads/2012/01/debian_logo.png" alt="Debian logo" title="debian_logo" width="121" height="150" class="alignright size-full wp-image-202" />Hello, in this short tutorial I will show you, how you can enable root login on the gnome login screen on Debian 6 (Squeeze).</p>
<h2>How to enable gnome root login on Debian 6?</h2>
<blockquote><p><strong>Note:</strong><br />You will need the root password for this set of commands.</p></blockquote>
<p><span id="more-205"></span></p>
<h3>Step1:</h3>
<p><strong>Login to a user account.</strong></p>
<h3>Step2:</h3>
<p><strong>Open a terminal window and type this into your window:</strong></p>
<pre class="brush: plain; title: ; notranslate">su root
gedit</pre>
<h3>Step3:</h3>
<p><strong>Now open the file /etc/pam.d/gdm3 and comment out the fifth line:</strong></p>
<pre class="brush: plain; title: ; notranslate">#auth   required        pam_succeed_if.so user != root quiet_success</pre>
<p><strong><i>/etc/etc/pam.d/gdm3</i></strong></p>
<pre class="brush: plain; title: ; notranslate">#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
#auth	required	pam_succeed_if.so user != root quiet_success
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password</pre>
<h3>Step4:</h3>
<p><strong>Reboot.</strong></p>
<p>I hope this helps some of you, because root is not allowed to login on a fresh Debian 6 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/debian-6-howto-enable-gnome-root-login-on-debian-6-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 6 &#8211; HowTo enable sudo on your user account on Debian 6 (Squeeze)</title>
		<link>http://www.pathin.org/tutorials/howto-enable-sudo-on-user-account-debian-6-squeeze/</link>
		<comments>http://www.pathin.org/tutorials/howto-enable-sudo-on-user-account-debian-6-squeeze/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 12:38:44 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.pathin.org/?p=187</guid>
		<description><![CDATA[Hello, in this short tutorial I want to show you, how you can run programs with root rights on your freshly generated user account, by adding the sudo command to user accounts. What is sudo? sudo &#8211; short for &#8220;substitute user do&#8221; &#8211; is a command which allows users to run commands with other user&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pathin.org/wp-content/uploads/2012/01/debian_logo.png" alt="Debian logo" title="debian_logo" width="121" height="150" class="alignright size-full wp-image-202" />Hello, in this short tutorial I want to show you, how you can run programs with root rights on your freshly generated user account, by adding the sudo command to user accounts.</p>
<h2>What is sudo?</h2>
<p>sudo &#8211; short for &#8220;substitute user do&#8221; &#8211; is a command which allows users to run commands with other user&#8217;s rights (e.g. root).</p>
<h2>How to enable sudo for my user account on Debian 6?</h2>
<blockquote><p><strong>Note:</strong><br />You will need the root password for this set of commands.</p></blockquote>
<p><span id="more-187"></span></p>
<h3><strong>Step1:</strong></h3>
<p>Login to a user account.</p>
<h3><strong>Step2:</strong></h3>
<p> Open a terminal window and type this into your window:</p>
<pre class="brush: plain; title: ; notranslate">su root
adduser YOURUSERNAME sudo</pre>
<h3><strong>Step3:</strong></h3>
<p> Now reboot, and on your next session you will be allowed to run every program or command, which doesnt belong to you, or you don&#8217;t have the rights for with:</p>
<pre class="brush: plain; title: ; notranslate"> sudo COMMAND </pre>
<p>I hope this helps some of you, because sudo isn&#8217;t automatically added to your user account on a fresh Debian 6 install.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/howto-enable-sudo-on-user-account-debian-6-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Tutorial</title>
		<link>http://www.pathin.org/tutorials/jquery-tutorial/</link>
		<comments>http://www.pathin.org/tutorials/jquery-tutorial/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 14:30:22 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery tutorial]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.pathin.org/?p=180</guid>
		<description><![CDATA[Hello, I just decided to write a little jQuery Tutorial, with some examples. Demo 1: Alert Box First, we register a so called: &#8220;ready event&#8221; for the document. In jQuery we do this with: $(document).ready(function()). In the source code it would look like this: The complete source code looks like this: Demo 1: Alert Box [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pathin.org/wp-content/uploads/2011/12/jquery.png" alt="" title="jquery" width="326" height="80" class="alignright size-full wp-image-181" />Hello, I just decided to write a little jQuery Tutorial, with some examples.</p>
<h3>Demo 1: Alert Box</h3>
<p>First, we register a so called: &#8220;ready event&#8221; for the document.<br />
In jQuery we do this with: <em>$(document).ready(function())</em>.<br />
In the source code it would look like this:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function() {
    //Do something, when the document is loaded.
});
</pre>
<p>The complete source code looks like this:<span id="more-180"></span></p>
<p>Demo 1: Alert Box &#8211; Example: <a href="http://www.pathin.org/documents/jquery/demo1.html">That&#8217;s what it looks like</a></p>
<pre class="brush: xml; title: ; notranslate">
&lt;html&gt;
	&lt;head&gt;
		&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

		&lt;!--Code for Demo 1--&gt;
		&lt;script type=&quot;text/javascript&quot;&gt;
		$(document).ready(function(){
			$(&quot;a&quot;).click(function(){
				alert(&quot;Hello World&quot;);
			});
		});
		&lt;/script&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot;&gt;A link&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot;&gt;Another link&lt;/a&gt;&lt;/p&gt;
	&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Now let&#8217;s have a look, what we have done. <em>$(&#8220;a&#8221;)</em> is a jQuery selector. With <em>$(&#8220;element&#8221;)</em> we can select different things. We can select classes <em>(&#8220;.classOfElement&#8221;)</em> or ID&#8217;s <em>$(&#8220;#idOfElement&#8221;)</em>. But we also can combine this, to for example select all divs with the class development: <em>$(&#8220;div.development&#8221;)</em>.</p>
<p>In our case we select all <em>link (a)</em> elements in our document and with <em>click()</em> we add a click event to all selected elements. In our case a normal javascipt function is called then: <em>alert(&#8220;Hello World&#8221;)</em>. So now, what happends at this function? When klicked on an <em>a element</em> in our document, it calls a MessageBox with the text: <strong>&#8220;Hello World&#8221;</strong>. That&#8217;s exactly what we wanted.</p>
<h3>Demo 2: CSS Classes</h3>
<p>Another thing jQuery can do is to add and remove css classes. First we create in css a class called: <em>test</em>. In this case let&#8217;s take a bold and italic font.</p>
<pre class="brush: css; title: ; notranslate">
a.test {
    font-weight: bold;
    font-style: italic;
}
</pre>
<p>Let&#8217;s go over to javascript. When the document is loaded, the class <em>test</em> should be added to all links.<br />
For this goal, we take the previously learned function <em>$(document).ready(function())</em>. With $(&#8220;a&#8221;) we select all <em>a elements</em> and with the function <em>addClass()</em> we add a class to them. In our case it&#8217;s the class <em>test</em>.</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function(){
    $(&quot;a&quot;).addClass(&quot;test&quot;);
});
</pre>
<p>Let&#8217;s add a few more links for testing and we will see what happends.</p>
<p>Demo 2: CSS Classes &#8211; Example: <a href="http://www.pathin.org/documents/jquery/demo2.html">That&#8217;s what it looks like</a></p>
<pre class="brush: xml; title: ; notranslate">
&lt;html&gt;
	&lt;head&gt;
		&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

		&lt;!--Create CSS class &quot;test&quot; bold and italic --&gt;
		 &lt;style type=&quot;text/css&quot;&gt;
			a.test { font-weight: bold; font-style:italic;}
		 &lt;/style&gt;

		&lt;!--Code for Demo 2--&gt;
		&lt;script type=&quot;text/javascript&quot;&gt;
		$(document).ready(function(){
			$(&quot;a&quot;).addClass(&quot;test&quot;);
		});
		&lt;/script&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot;&gt;A link&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot;&gt;Another link&lt;/a&gt;&lt;/p&gt;
	&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Let&#8217;s have a quick look at the site. We see that all links are bold and italic. So the class <em>test</em> was added to them.</p>
<p>jQuery has some special effects, which we will use now. They make some very nice eyecandy without much trouble.<br />
First, let&#8217;s create a simple <em>div</em> container with some text in it.</p>
<pre class="brush: xml; title: ; notranslate">
    &lt;div style=&quot;background-color:#336699;color:#fff;&quot;&gt;
		I'm a textbox and have alot of work to do <img src='http://www.pathin.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
	&lt;/div&gt;
</pre>
<p>I&#8217;ve set the background via style attribute to blue and the font color to white, that we can see the box a little better.<br />
Now, let&#8217;s add a link, that should do something with that box.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a href=&quot;#&quot; id=&quot;shrink&quot;&gt;Shrink the box! (80 x 120px)&lt;/a&gt;
</pre>
<p>I added the id shrink to the link, so we can later select this link with jQuery.<br />
Now, lets add some javascript. I want the link to do something with the box, when we click it.</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function(){
	/*Shrink box*/
		$('a#shrink').click(function(){
		$('div').animate({ height: 80, width: 120 }, &quot;slow&quot;, function(){});
	})
});
</pre>
<p>With <em>$(&#8220;a#shrink&#8221;)</em> we select our previously created link and add the <em>click</em> event to it. Like previously on a click the javascript code in the brackets is executed.<br />
In the next step we select the element, that should be changed in some way, in our case it&#8217;s <em>$(&#8220;div&#8221;)</em>, which means that we select all div elements. We can animate objects with the function <em>animate</em>. <em>Animate</em> has different properties. In our case we set the <em>height</em> to 80px and the <em>width</em> to 120px, we want the effect to be slow, that&#8217;s why we added a <em>slow</em>.</p>
<p>Demo 3: Special Effects &#8211; Example: <a href="http://www.pathin.org/documents/jquery/demo3.html">That&#8217;s what it looks like</a></p>
<pre class="brush: xml; title: ; notranslate">
&lt;html&gt;
	&lt;head&gt;
		&lt;!-- Load jQuery framework --&gt;
		&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

		&lt;!--Code for Demo 3--&gt;
		&lt;script type=&quot;text/javascript&quot;&gt;
		$(document).ready(function(){
			/*Shrink box*/
			$('a#shrink').click(function(){
				$('div').animate({ height: 80, width: 120 }, &quot;slow&quot;, function(){});
			})
			/*Enlarge box*/
			$('a#enlarge').click(function(){
				$('div').animate({ height: 200, width: 800 }, &quot;slow&quot;, function(){});
			})
			/*Hide and Show*/
			$(&quot;a#slideFade&quot;).toggle(function(){
				$(&quot;div&quot;).animate({ height: 'hide', opacity: 'hide' }, 'slow');
			},function(){
				$(&quot;div&quot;).animate({ height: 'show', opacity: 'show' }, 'slow');
			})
		});
		&lt;/script&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;div style=&quot;background-color:#336699;color:#fff;&quot;&gt;
			I'm a textbox and have alot of work to do <img src='http://www.pathin.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
		&lt;/div&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot; id=&quot;shrink&quot;&gt;Shrink the box! (80 x 120px)&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot; id=&quot;enlarge&quot;&gt;Enlarge the box! (200 x 800px)&lt;/a&gt;&lt;/p&gt;
		&lt;p&gt;&lt;a href=&quot;#&quot; id=&quot;slideFade&quot;&gt;Hide/Show the box!&lt;/a&gt;&lt;/p&gt;
	&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>I&#8217;ve added two more links and just like in the previous example i added some more effects. The only thing that differs from the rest is link number 3. It executes another function on the second click, than on the first. On the first click it made the box hide and on the second click it made the box show again. To archieve this, i used the function <em>toggle</em>. You can add as much functions (in rows) as you want to <em>toggle</em>, which will be executed all row by row and when it&#8217;s done restart from the beginning.</p>
<p>The best is to have a look at the example site and to try it for yourself.</p>
<h2>Other jQuery tutorials:</h2>
<p>German translation by d4nza: <a href="http://d4nza.de/blog/tutorials/jquery-tutorial-1">jQuery Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/jquery-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Java / Cassandra &#8211; Fix: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers</title>
		<link>http://www.pathin.org/tutorials/java-cassandra-cannot-support-tls_rsa_with_aes_256_cbc_sha-with-currently-installed-providers/</link>
		<comments>http://www.pathin.org/tutorials/java-cassandra-cannot-support-tls_rsa_with_aes_256_cbc_sha-with-currently-installed-providers/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 18:26:34 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[Cassandra]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cassandra]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.pathin.org/?p=140</guid>
		<description><![CDATA[Today I was playing around a little with apache cassandra, setting up internode encryption with keystore and truststore, following the tutorial in the cassandra.yaml file. But I always ended up getting the error message: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers. How to fix this Error Full error message Solution Note: I&#8217;m using jre6 on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-145" title="cassandra" src="http://www.pathin.org/wp-content/uploads/2011/11/cassandra.jpg" alt="" width="148" height="80" />Today I was playing around a little with apache cassandra, setting up internode encryption with keystore and truststore, following the tutorial in the cassandra.yaml file. But I always ended up getting the error message: Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers.</p>
<h3>How to fix this Error</h3>
<h2>Full error message</h2>
<pre class="brush: plain; title: ; notranslate">java.lang.IllegalArgumentException:
Cannot support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers
at com.sun.net.ssl.internal.ssl.CipherSuiteList.(CipherSuiteList.java:79)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.setEnabledCipherSuites(SSLServerSocketImpl.java:166)
at org.apache.cassandra.security.SSLFactory.getServerSocket(SSLFactory.java:54)
at org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:255)
at org.apache.cassandra.net.MessagingService.listen(MessagingService.java:241)
at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:485)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:462)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:383)
at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:215)
at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:107)</pre>
<h2>Solution</h2>
<blockquote><p>Note: I&#8217;m using jre6 on Debian Squeeze and jre7 on Windows 7 64-bit, it may differ on other distributions or operating systems</p></blockquote>
<p><strong>This error message has to do with missing or corrupt java security libraries.</strong></p>
<p><strong><span id="more-140"></span></strong></p>
<h3>1. Locate your jre lib/security directory</h3>
<p>On Linux it should be by default: <strong>/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/security/</strong><br />
On Windows it should be by default: <strong>C:\Program Files\Java\jre7\lib\security</strong></p>
<h3>2. Download the Java Cryptography Extension (JCE)</h3>
<p>Download for Java 6: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html">http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html</a><br />
Download for Java 7: <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html" >http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html</a></p>
<h3>3. Install the JCE</h3>
<p>Extract the downloaded zip and place the two .jar files US_export_policy.jar and local_policy.jar into your jre/lib/security folder and overwrite old files if any.</p>
<h2>Done</h2>
<p>You are done. Your application should now start up normally.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/java-cassandra-cannot-support-tls_rsa_with_aes_256_cbc_sha-with-currently-installed-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 / Debian 6 &#8211; Build newest Pidgin from source</title>
		<link>http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/</link>
		<comments>http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 22:56:11 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.pathin.org/?p=79</guid>
		<description><![CDATA[This tutorial wraps up how to build and install the newest version of the famous multi-chat-messenger Pidgin on Debian 6 &#8211; &#8220;Squeeze&#8221; and Ubuntu 11.10 &#8211; &#8220;Oneiric Ocelot&#8221;. Note: This tutorial was only tested with the following distributions: Ubuntu 11.10 &#8211; &#8220;Oneiric Ocelot&#8221; Debian 6 &#8211; &#8220;Squeeze&#8221; but it may work with any other Debian [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-94 alignright" title="pidgin" src="http://www.pathin.org/wp-content/uploads/2011/11/pidgin-300x300.png" alt="" width="150" height="150" />This tutorial wraps up how to build and install the newest version of the famous multi-chat-messenger <a href="http://pidgin.im/" rel="external">Pidgin</a> on Debian 6 &#8211; &#8220;Squeeze&#8221; and Ubuntu 11.10 &#8211; &#8220;Oneiric Ocelot&#8221;.<span id="more-79"></span></p>
<h2>Note:</h2>
<p>This tutorial was only tested with the following distributions:</p>
<ul>
<li>Ubuntu 11.10 &#8211; &#8220;Oneiric Ocelot&#8221;</li>
<li>Debian 6 &#8211; &#8220;Squeeze&#8221;</li>
</ul>
<p>but it may work with any other Debian or Ubuntu based distribution like <a href="http://linuxmint.com/" rel="external">Linux Mint</a>.</p>
<h2>What is Pidgin?</h2>
<p>Pidgin is a multi-chat program which has the feature to log you in to various multiple chat networks on your Linux system.<br />
This means that you can chat with your friends on MSN (Windows Live Messenger), Yahoo (Yahoo Messenger), ICQ, xFire (with the plugin: <a href="http://gfireproject.org/" rel="external">gFire</a>), and various other networks at the same time.</p>
<h2>How to build and install pidgin</h2>
<p>As previously mentioned, this tutorial was written for Ubuntu 11.10 &#8211; &#8220;Oneiric Ocelot&#8221; and Debian 6 &#8211; &#8220;Squeeze&#8221;.<br />
It might differ for other distributions.</p>
<blockquote><p><strong>Note for Debian:</strong><br />
On Debian, your user account doesn&#8217;t get added to the sudo group by standard.<br />
If you haven&#8217;t done so already, please add your user account to the sudo group and reboot:</p>
<pre class="brush: plain; title: ; notranslate">su root
adduser YOURUSERNAME sudo</pre>
</blockquote>
<p><strong>Let&#8217;s get rolling!</strong></p>
<h3>Step 1: Preperations</h3>
<p>To be able to compile and install pidgin from source, we need to get sure, that we meet all the dependencies.<br />
<strong>Open a Terminal Window</strong><br />
This can be done by running the following commands:</p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get build-dep pidgin
</pre>
<p>This will add all the dependencies needed to build pidgin from source.</p>
<h3>Step 2: Download and prepare compiling</h3>
<p>Next step is to download the source itself.<strong></strong><strong><br />
</strong>For this tutorial i will refer to the version: <strong>2.10.0</strong> with the packet name: <strong>pidgin-2.10.0.tar.bz2<br />
Open a new Terminal Window<br />
</strong>To download and unpack <strong>pidgin-2.10.0.tar.bz2</strong> type in the following:</p>
<pre class="brush: plain; title: ; notranslate">cd /tmp/
wget http://sourceforge.net/projects/pidgin/files/Pidgin/2.10.0/pidgin-2.10.0.tar.bz2
tar -xjvf pidgin-2.10.0.tar.bz2
cd pidgin-2.10.0/</pre>
<p>this will create a new folder called &#8220;pidgin-2.10.0&#8243;, we just changed into this folder.<strong></strong></p>
<h3>Step 3: Compile and install pidgin</h3>
<p>First of all we need to run the configure script, which is checking if all the dependencies we installed in <strong>Step 1</strong> are met.<br />
To do this run the following command inside the pidgin-2.10.0 directory, which we are in already:</p>
<pre class="brush: plain; title: ; notranslate">./configure</pre>
<p>If the script returns &#8220;configure complete, now type &#8216;make&#8217;&#8221; we are fine. If not, please recheck the dependencies!<br />
Let do this!<br />
<strong>Insert make into the terminal window.</strong></p>
<pre class="brush: plain; title: ; notranslate">make</pre>
<blockquote><p><strong>Pro Tip:</strong><br />
If you have more than one core, you can speed this step up by typing:</p>
<pre class="brush: plain; title: ; notranslate"> make -j YOURNUMBEROFCORES</pre>
</blockquote>
<p>This might take a while, feel free to grab some coffee.<br />
Now, it&#8217;s time to finally install pidgin.<br />
<strong>Insert this into the terminal window:</strong></p>
<pre class="brush: plain; title: ; notranslate">sudo make install</pre>
<p>This will install pidgin into the correct directories, set the correct chmod flags and sets up the Unity/Gnome menu entries.</p>
<h3>Step 4: Start Pidgin</h3>
<p><strong>To make Pidgin appear in the menus, run the following:</strong></p>
<p><strong>For Debian:</strong></p>
<blockquote><pre class="brush: plain; title: ; notranslate">sudo /etc/init.d/gdm3 stop</pre>
<p>Now you have a black screen.<br />
<strong>Press: Alt+F1 to switch to a terminal window and login.</strong><br />
<strong>When you are logged in, type the following:<br />
</strong></p>
<pre class="brush: plain; title: ; notranslate">sudo /etc/init.d/gdm3 start</pre>
<p>Now Login.<br />
Pidgin will now appear in: <strong>Applications-&gt;Internet</strong></p></blockquote>
<p><strong>For Ubuntu:</strong></p>
<blockquote><pre class="brush: plain; title: ; notranslate">sudo service lightdm restart</pre>
<p><strong>Pidgin is in your Dash now.</strong></p></blockquote>
<p>If it doesn&#8217;t you might want to restart your ldm/gdm and/or reboot, you can start pidgin from a terminal window:</p>
<pre class="brush: plain; title: ; notranslate">pidgin</pre>
<p>We are done!</p>
<p><strong>You are free to delete the directory you installed pidgin from now or move it somewhere else if you like to.</strong></p>
<h3>Localized versions of this tutorial</h3>
<p>German by d4nza:<br />
<a href="http://d4nza.de/blog/tutorials/ubuntu-11-10-debian-6-%E2%80%93-kompilieren-der-neusten-pidgin-version-vom-source-code">http://d4nza.de/blog/tutorials/ubuntu-11-10-debian-6-%E2%80%93-kompilieren-der-neusten-pidgin-version-vom-source-code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04 &#8211; Build Pidgin from Source</title>
		<link>http://www.pathin.org/tutorials/ubuntu-11-04-build-pidgin-from-source/</link>
		<comments>http://www.pathin.org/tutorials/ubuntu-11-04-build-pidgin-from-source/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 02:17:28 +0000</pubDate>
		<dc:creator>pathin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pathin.org/?p=45</guid>
		<description><![CDATA[This is an old version. See the new Version here: http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/ Many people seem to be struggeling with installing Pidgin from source. That&#8217;s why I decided to write a little tutorial about how to build and install the famous &#8220;Instant Messenger&#8221; Pidgin from source. What is Pidgin? Pidgin is a chat program which lets you [...]]]></description>
			<content:encoded><![CDATA[<p><strong>This is an old version. See the new Version here:<br />
<a href="http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/">http://www.pathin.org/tutorials/ubuntu-11-10-debian-6-build-newest-pidgin-from-source/</a></strong></p>
<p>Many people seem to be struggeling with installing <a href="http://pidgin.im">Pidgin</a> from source.<br />
That&#8217;s why I decided to write a little tutorial about how to build and install the famous &#8220;Instant Messenger&#8221; Pidgin from source.<span id="more-45"></span></p>
<h2>What is Pidgin?</h2>
<p>Pidgin is a chat program which lets you log in to accounts on multiple chat networks simultaneously.<br />
This means that you can be chatting with friends on MSN, talking to a friend on Google Talk, and sitting in a Yahoo chat room all at the same time.</p>
<h2>How to build and install pidgin</h2>
<p>This tutorial is written for Ubuntu 11.04 &#8211; Natty Narwhal and might differ for other distributions.<br />
If you have problems, following this tutorial, please be kind and drop a little comment!</p>
<h3>Step 1: Preperations<br />
</h3>
<p>To be able to compile and install pidgin from source, we need to get sure, that we meet all the dependencies.<br />
This can be acomplished by running the following command from the Linux Terminal:</p>
<pre class="brush: plain; title: ; notranslate">sudo apt-get build-dep pidgin</pre>
<p>This will add all the dependencies needed to build pidgin from source.</p>
<h3>Step 2: Download and prepare compiling</h3>
<p>Next step is to download the source itself.<br />
Go to the Pidgin download site: <a href="http://www.pidgin.im/download/source/">http://www.pidgin.im/download/source/</a>, download the newest version and save it to <strong>your personal home folder</strong>. (In my case it&#8217;s <strong>/home/pathin</strong>)<strong><br />
</strong>For this tutorial i will refer to the version: <strong>2.8.0</strong> with the packet name: <strong>pidgin-2.8.0.tar.bz2<br />
Open a new Terminal Window<br />
</strong>To unpack <strong>pidgin-2.8.0.tar.bz2</strong> type in the following:</p>
<pre class="brush: plain; title: ; notranslate">cd ~/
tar -xjvf pidgin-2.8.0.tar.bz2</pre>
<p>this will create a new folder called &#8220;pidgin-2.8.0&#8243;.<br />
<strong>Let&#8217;s change into this folder:<br />
</strong></p>
<pre class="brush: plain; title: ; notranslate">cd pidgin-2.8.0/</pre>
<h3>Step 3: Compile and install pidgin</h3>
<p>First of all we need to run the configure script, which is checking if all the dependencies we installed in <strong>Step 1</strong> are met.<br />
To do this run the following command inside the pidgin-2.8.0 directory:</p>
<pre class="brush: plain; title: ; notranslate">./configure</pre>
<p>If the script returns &#8220;configure complete, now type &#8216;make&#8217;&#8221; we are fine. If not, please recheck the dependencies!<br />
Let do this! Insert make into the terminal window!</p>
<pre class="brush: plain; title: ; notranslate">make</pre>
<p>This might take some while, feel free to grab some coffee.<br />
Now, it&#8217;s time to finally Install pidgin.<br />
Insert this into the terminal window:</p>
<pre class="brush: plain; title: ; notranslate">sudo make install</pre>
<p>This will install pidgin into the correct directories, set the correct chmod flags and sets up the Gnome Menu Entries.</p>
<h3>Step 4: Start Pidgin</h3>
<p>At standard Pidgin should appear at <strong>Applications -&gt; Internet -&gt; Pidgin.<br />
</strong>If it doesn&#8217;t you might want to restart your XServer or reboot.<br />
Alternatively you can start pidgin from a terminal window:</p>
<pre class="brush: plain; title: ; notranslate">pidgin</pre>
<p>We are done!</p>
<p><strong>You are free to delete the directory you installed pidgin from now or move it somewhere else if you like to.</strong></p>
<h3>Links:</h3>
<p>German Translation by d4nza:<br />
<a href="http://d4nza.de/blog/tutorials/ubuntu-11-04-%E2%80%93-pidgin-vom-source-code-kompilieren/">http://d4nza.de/blog/tutorials/ubuntu-11-04-%E2%80%93-pidgin-vom-source-code-kompilieren/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pathin.org/tutorials/ubuntu-11-04-build-pidgin-from-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

