<?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>7deeds &#187; ubuntu</title>
	<atom:link href="http://blog.7deeds.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.7deeds.com</link>
	<description>Petros Amiridis - A humble programmer's seven noteworthy actions for the community</description>
	<lastBuildDate>Mon, 31 May 2010 12:09:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL gem doesn&#8217;t work after upgrading Ubuntu</title>
		<link>http://blog.7deeds.com/2010/05/06/mysql-gem-doesnt-work-after-upgrading-ubuntu/</link>
		<comments>http://blog.7deeds.com/2010/05/06/mysql-gem-doesnt-work-after-upgrading-ubuntu/#comments</comments>
		<pubDate>Thu, 06 May 2010 20:54:31 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby-on-rails]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=423</guid>
		<description><![CDATA[I upgraded Ubuntu 9.10 to 10.04. Everything was cool. I tried to work on a Rails project I am involved by issuing the command rake db:migrate to update the database.
I was getting the following error:

Error: uninitialized constant MysqlCompat::MysqlRes

Then I uninstalled the mysql gem and tried to install it again only to get the following error:

Building [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded Ubuntu 9.10 to 10.04. Everything was cool. I tried to work on a Rails project I am involved by issuing the command rake db:migrate to update the database.</p>
<p>I was getting the following error:</p>
<pre class="brush: bash;">
Error: uninitialized constant MysqlCompat::MysqlRes
</pre>
<p>Then I uninstalled the mysql gem and tried to install it again only to get the following error:</p>
<pre class="brush: bash;">
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
</pre>
<p>Then I issued the following command:</p>
<pre class="brush: bash;">
sudo apt-get install libmysqlclient-dev
</pre>
<p>and then installed mysql gem and it installed with no problems. Finally, rake db:migrate worked again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2010/05/06/mysql-gem-doesnt-work-after-upgrading-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable VCS infromation in zsh</title>
		<link>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/</link>
		<comments>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 01:07:59 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[self-note]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=409</guid>
		<description><![CDATA[If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.
After reading &#8220;Zsh Prompt Magic&#8221; I created the zsh_vcs_info file which you can download. You place it in your home directory and open .zshrc and add the following line:

source /home/user/.zsh_vcs_info

Notice that [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.</p>
<p>After reading &#8220;<a href="http://kriener.org/articles/2009/06/04/zsh-prompt-magic">Zsh Prompt Magic</a>&#8221; I created the <a href='http://blog.7deeds.com/wp-content/zsh_vcs_info.zip'>zsh_vcs_info</a> file which you can download. You place it in your home directory and open .zshrc and add the following line:</p>
<pre class="brush: bash;">
source /home/user/.zsh_vcs_info
</pre>
<p>Notice that I added a . (dot) in the filename because I want it to be hidden. Also, notice that &#8220;user&#8221; in the path above, is the username of the account you use to log into Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu experiment post mortem</title>
		<link>http://blog.7deeds.com/2009/04/26/ubuntu-experiment-post-mortem/</link>
		<comments>http://blog.7deeds.com/2009/04/26/ubuntu-experiment-post-mortem/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 23:09:04 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=174</guid>
		<description><![CDATA[A few months ago, I got a new computer in the office. Instead of Windows I decided I wanted to try out Ubuntu.
I mainly develop using Visual Studio and C#, and as result I had to use virtualisation software. Anything else, I would use the available products that run on Ubuntu.
This experiment came to an [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I got a new computer in the office. Instead of Windows I decided I wanted to <a href="http://blog.7deeds.com/?p=70">try out Ubuntu</a>.</p>
<p><span id="more-174"></span>I mainly develop using Visual Studio and C#, and as result I had to use virtualisation software. Anything else, I would use the available products that run on Ubuntu.</p>
<p>This experiment came to an end today. I installed Windows Vista over the Ubuntu installation. Here is the conclusion:</p>
<blockquote><p>I could keep working in Ubuntu for ever. There wasn&#8217;t anything I couldn&#8217;t get right, except working in Visual Studio through a virtual machine was very-very slow. I am sure, if I had a faster computer and maybe an SSD hard disk, I wouldn&#8217;t have to switch to Windows.</p>
<p>However, since VS is the tool I mostly work with every day, I couldn&#8217;t afford to continue the experiment. Ubuntu was a very nice experience and if I ever leave VS I am sure I won&#8217;t have any reason not to switch to it again.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2009/04/26/ubuntu-experiment-post-mortem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to generate the MD5 checksum of a file</title>
		<link>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/</link>
		<comments>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 23:13:18 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=90</guid>
		<description><![CDATA[md5sum file.iso > file.iso.md5
]]></description>
			<content:encoded><![CDATA[<p><code>md5sum file.iso > file.iso.md5</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create an ISO image</title>
		<link>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/</link>
		<comments>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 22:48:57 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=84</guid>
		<description><![CDATA[In order to turn a CD/DVD into an .iso one can:
sudo umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
In order to turn a folder into an .iso one can:
mkisofs -r -o file.iso /location_of_folder/
Related posts:

How to generate the MD5 checksum of a file

]]></description>
			<content:encoded><![CDATA[<p>In order to turn a CD/DVD into an .iso one can:</p>
<p><code>sudo umount /dev/cdrom</code></p>
<p><code>dd if=/dev/cdrom of=file.iso bs=1024</code></p>
<p>In order to turn a folder into an .iso one can:</p>
<p><code>mkisofs -r -o file.iso /location_of_folder/</code></p>
<p>Related posts:</p>
<ul>
<li><a href="http://blog.7deeds.com/?p=90">How to generate the MD5 checksum of a file</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The open source experiment</title>
		<link>http://blog.7deeds.com/2008/12/13/trying-ubuntu/</link>
		<comments>http://blog.7deeds.com/2008/12/13/trying-ubuntu/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 02:34:01 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=70</guid>
		<description><![CDATA[My first computer was an Amstrad CPC 6128, my second an Amiga 500 and my third and Amiga 2000. Then and onward, every computer I owned belonged to the PC category operated through Microsoft products: DOS and later Windows.
I remember a friend from my old neighborhood, when we were kids: I had already started using [...]]]></description>
			<content:encoded><![CDATA[<p>My first computer was an Amstrad CPC 6128, my second an Amiga 500 and my third and Amiga 2000. Then and onward, every computer I owned belonged to the PC category operated through Microsoft products: DOS and later Windows.</p>
<p><span id="more-70"></span>I remember a friend from my old neighborhood, when we were kids: I had already started using a PC but he had an Apple, which for the Greek standards at that time was weird. I was thinking, is he serious? I didn&#8217;t know anyone with an Apple at the time. He was telling me of how much ahead Apple computers where and that he wouldn&#8217;t change it for anything else. I also, remember when I abandoned Amiga and went to use an early PC with only DOS running on it, I was feeling that instead of progress, I was going backwards. I was thinking, what the hell? Why don&#8217;t they continue brilliant computers like the home ones? I met that friend many years later and asked him if he still uses Apple computers. To my surprise he was!</p>
<p>Anyway, we are here now in 2008. I have been programming using languages and tools that run on Microsoft operating systems for more than 10 years. I am not really sure yet, but I get the feeling something is wrong with the commercial tools. First of all, if you don&#8217;t have this supercomputer you cannot really work with the various IDEs without having a nervous breakdown. Then, there are all these new libraries, frameworks and technology that appear almost every month and you are not sure what to learn, if you should learn and if someone decides after you have spent months learning that what you have learned doesn&#8217;t worth funding any more and goes to the trashcan.</p>
<p>I have been hearing things on the open source movement are better and different. My experience in life tells me of course that there isn&#8217;t a perfect solution to all the problems, but I also know that some solutions are a little better than others and maybe more compatible with one&#8217;s character. As a principle, though, I cannot recommend anything to anyone unless I have tried that myself and have been convinced that it is better than the alternatives. More so, when the alternative is mainstream.</p>
<p>For all this, and more, I have decided to start using open source software everyday in every chance I get. I thought of course that in order for this experiment to work, I should really do something extreme or else I couldn&#8217;t really reach a useful conclusion. As a result, I decided to start by switching the operating system of my computer at work from Windows to <a title="Ubuntu" href="http://www.ubuntu.com/">Ubuntu</a>. If this is not extreme, then what is it? Remember, this is the computer I use everyday.</p>
<p>Why Ubuntu? I am in no way affiliated with Ubuntu. It is just the distribution that I liked the most, and it feels the least commercial compared to the majority. I also liked the UI better, and at least here in Europe it is quite popular.</p>
<p>Before doing this of course, I needed to know how to solve a show stopping problem: The fact that I mainly develop .NET applications using Visual Studio 2008 and C#. Enter VMware land! I have decided to download a trial version of VMware Workstation for Linux and installed it in my new Ubuntu installation. Show stopping problem solved.</p>
<p>Generally, considering the fact my Ubuntu is the only Linux computer in a LAN that is composed of several Windows computers, and that I program using tools that don&#8217;t run on Ubuntu, things are great. I love the OS and the tools bundled, it is fast, I have access to other computers in the LAN that I need to control through Terminal Service Client, I develop on a VMware Windows installation, I use OpenOffice instead of Microsoft Office and the experiment continues.</p>
<p>In the next couple of posts I will try to write things about my experiment. Problems I had and how I solved them and generally cover the story. I hope this helps anyone that wants to make a similar experiment. The Ubuntu I am using is version 8.10 Desktop edition.</p>
<p>Has anyone else done something similar? What was your experience?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/13/trying-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
