<?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>The Educated New Village Boy &#187; setup</title>
	<atom:link href="http://envb.sapphirewillow.com/writings/tag/setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://envb.sapphirewillow.com/writings</link>
	<description>Taglines encourage pigeonholing</description>
	<lastBuildDate>Fri, 31 Dec 2010 03:18:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup</title>
		<link>http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/</link>
		<comments>http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 02:02:39 +0000</pubDate>
		<dc:creator>feicipet</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://envb.sapphirewillow.com/writings/?p=10</guid>
		<description><![CDATA[Kubuntu is my preferred Linux distro. I&#8217;ve pretty much stuck with KDE since my varsity days in 1997 and I&#8217;m still a happy KDE camper right now. There&#8217;s been ups and downs, not least during the &#8220;transition period&#8221; when KDE 4.0 first came out, but I&#8217;m still firmly in the KDE camp. In contrast, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Kubuntu" href="http://www.kubuntu.org">Kubuntu</a> is my preferred Linux distro. I&#8217;ve pretty much stuck with <a title="KDE" href="http://www.kde.org">KDE</a> since my varsity days in 1997 and I&#8217;m still a happy KDE camper right now. There&#8217;s been ups and downs, not least during the &#8220;transition period&#8221; when KDE 4.0 first came out, but I&#8217;m still firmly in the KDE camp. In contrast, I&#8217;ve used several different distros over the years. RedHat, Fedora, OpenSuSE, Mepis, Gentoo&#8230; and for the past 3 years I&#8217;ve settled on Kubuntu. Not that the rest suck, but at this point of time, I find that Kubuntu saves me the most time in terms of setup, configuration and maintenance. Not that it doesn&#8217;t come with its own set of trials and tribulations, but on the whole it still sucks less than any of the other distros I&#8217;ve used.</p>
<p>I get plenty of practice doing Linux installation work when I set up machines for my staff. I&#8217;ve pretty much got my routine down to a science by now. What follows here is some documentation of how I setup a standard developer&#8217;s machine running Kubuntu Jaunty. It&#8217;s not a stock install; I pull in several PPAs to get to a reasonably stable and performant desktop configuration. And it&#8217;s still far from ideal; even if I&#8217;m a daily user of Linux, I&#8217;d be the first to bitch about its current state and how I wish things could be better.</p>
<p>To begin, we&#8217;ll obviously need the <a title="Kubuntu Jaunty release" href="http://www.kubuntu.org/news/9.04-release">installation CD</a> (duh). By default, I&#8217;ll use the 64-bit version &#8216;cos most of the developer machines in my office are 64-bit capable already. Note that I do have a couple of 32-bit machines still being used and for most part, the instructions here still apply. I pretty much stick to the default install, with the exception of the partition layout, which looks like this:</p>
<ul>
<li>/boot &#8211; 150MB</li>
<li>/ &#8211; 15GB</li>
<li>swap &#8211; 4GB</li>
<li>/home &#8211; whatever&#8217;s left</li>
</ul>
<p>Yeah, I know what most people are thinking: &#8220;you don&#8217;t need that much swap on a modern Linux install&#8221;. Disk space isn&#8217;t really a luxury for me anymore, fortunately. And the automatic partitioning provides a measly 1GB for swap space and I run into errors installing Oracle XE which needs more than 1GB. So, 4GB just to be safe.</p>
<p>After the initial install, reboot the machine and view your shiny new Kubuntu install. &#8216;cept that it ain&#8217;t shiny enough. Let&#8217;s spruce it up by giving it an update:</p>
<pre name="code">
sudo aptitude update
sudo aptitude safe-upgrade
</pre>
<p>Now, your Kubuntu installation is pretty much usable, but not terribly interesting or entertaining. You can&#8217;t play a whole lot of media stuff on it, for one thing. Let&#8217;s give the installation a whole lot more bling by adding the <a title="Medibuntu" href="http://www.medibuntu.org/">Medibuntu</a> repo to it. Just run this simple one liner:</p>
<p><code>sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update</code></p>
<p>Credit to <a title="Adding Medibuntu repos" href="https://help.ubuntu.com/community/Medibuntu">Medibuntu</a> for this.</p>
<p>With this, it&#8217;s time to add more applications to our default install:</p>
<p><code>sudo aptitude install firefox subversion cvs vim ssh umbrello kdesvn msttcorefonts libmp3lame0 libtunepimp5-mp3 libdvdread4 libavcodec-unstripped-52 flashplugin-installer libxine1-ffmpeg soprano-backend-sesame digikam semantik skrooge basket gimp dia libdvdcss2 w64codecs skype kgpg sun-java6-jdk zsh</code></p>
<p>That one-liner basically helped us install a host of useful applications such as Skype, most proprietary media support, Firefox, Subversion, Java and then some. Do scrutinize the list to see what applies to you and what doesn&#8217;t.</p>
<p>Currently, the stock Kubuntu 9.04 desktop suffers from a serious performance issue. Unusable, basically. To get it up to acceptable levels, you&#8217;ll need to following the instructions in the <a href="http://ubuntuforums.org/showthread.php?t=1130582">Jaunty Intel Graphics Performance Guide</a>. </p>
<p>The default installation of KDE 4.2 works just fine, I guess, but I like trying out the latest from Seigo and company, so I add on a PPA repo to update to the latest <del datetime="2009-08-05T14:57:52+00:00">beta</del> release of KDE 4.3 <del datetime="2009-08-05T14:57:52+00:00">(currently at <del datetime="2009-07-19T15:06:58+00:00">beta 2</del> release candidate 2)</del>. I&#8217;ve also been <a href="http://envb.sapphirewillow.com/writings/2009/06/who-should-use-alpha-status-chromium-on-linux/">using the daily builds of Chromium</a>, the opensource project on which Google Chrome is based on. And on top of that, one more browser won&#8217;t hurt (I <strong>am</strong> a web developer, after all).</p>
<p>Edit <code>/etc/apt/source.list</code> and add the following lines:</p>
<p><code><br />
# KDE backports PPA - for KDE 4.3 <del datetime="2009-07-19T15:06:58+00:00">beta 2</del>release <del datetime="2009-08-05T14:57:52+00:00">candidate 2</del><br />
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu jaunty main<br />
</code></p>
<p><code># Chromum daily builds<br />
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main</p>
<p></code></p>
<p><code># Opera<br />
deb http://deb.opera.com/opera/ stable non-free<br />
</code></p>
<p>After that, do another update and additional install:</p>
<p><code><br />
sudo aptitude update<br />
sudo aptitude safe-upgrade<br />
sudo aptitude install opera chromium-browser<br />
</code></p>
<p>Note that you&#8217;d probably get a warning about unsigned repo keys. It&#8217;s safe to answer yes and proceed. You might also want to google around for how to get rid of the warnings (I forgot to record that down so can&#8217;t recall it for this particular article).</p>
<p>Note that above, I&#8217;d already install a package called <code>msttcorefonts</code>, which basically gives me most of the stock Microsoft fonts that comes with pre-Vista versions of Windows. There&#8217;s one more Microsoft font that I like to use: Tahoma. The following instructions were copied from <a href="http://www.howtoforge.com/sharp_fonts_gnome_p2">Howto Forge</a>. First, I copy the TTF files (<code>tahomabd.ttf</code> and <code>tahoma.ttf</code>) out from any existing Windows installation and place it in the <code>/tmp</code> folder. Then, to install the fonts, I do the following:</p>
<p><code><br />
sudo mkdir /usr/share/fonts/truetype/custom<br />
sudo cp /tmp/tahoma*ttf /usr/share/fonts/truetype/custom<br />
sudo touch /etc/defoma/hints/custom.hints<br />
</code></p>
<p>Now, edit <code>/etc/defoma/hints/custom.hints</code> and add in the following lines:</p>
<p><code><br />
category truetype<br />
begin /usr/share/fonts/truetype/custom/tahoma.ttf<br />
  Family = Tahoma<br />
  FontName = Tahoma-Regular<br />
  Encoding = Unicode<br />
  Location = Magyar Dutch Spanish Czech Russian English Catalan Slovak Italian Turkish Danish Slovenian Basque Portuguese German Polish Swedish Norwegian French Finnish Greek<br />
  Charset = ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-10 ISO8859-13 ISO8859-14 ISO8859-15 KOI8-R KOI8-U CP1251 VISCII1.1-1 TCVN-5712 ISO10646-1<br />
  UniCharset = ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-10 ISO8859-13 ISO8859-14 ISO8859-15 KOI8-R KOI8-U CP1251 VISCII1.1-1 TCVN-5712<br />
  GeneralFamily = SansSerif<br />
  Weight = Medium<br />
  Width = Variable<br />
  Shape = NoSerif Upright<br />
  Foundry = Microsoft<br />
  Priority = 20<br />
end<br />
begin /usr/share/fonts/truetype/custom/tahomabd.ttf<br />
  Family = Tahoma<br />
  FontName = Tahoma-Bold<br />
  Encoding = Unicode<br />
  Location = Magyar Dutch Spanish Czech Russian English Catalan Slovak Italian Turkish Danish Slovenian Basque Portuguese German Polish Swedish Norwegian French Finnish Greek<br />
  Charset = ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-10 ISO8859-13 ISO8859-14 ISO8859-15 KOI8-R KOI8-U CP1251 VISCII1.1-1 TCVN-5712 ISO10646-1<br />
  UniCharset = ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 ISO8859-7 ISO8859-9 ISO8859-10 ISO8859-13 ISO8859-14 ISO8859-15 KOI8-R KOI8-U CP1251 VISCII1.1-1 TCVN-5712<br />
  GeneralFamily = SansSerif<br />
  Weight = Bold<br />
  Width = Variable<br />
  Shape = NoSerif Upright<br />
  Foundry = Microsoft<br />
  Priority = 20<br />
end<br />
</code></p>
<p>Finally, run the following commands to register the fonts:</p>
<p><code><br />
sudo /usr/bin/defoma-font -v register-all /etc/defoma/hints/custom.hints<br />
sudo dpkg-reconfigure fontconfig<br />
</code></p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Sharing is caring</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Del.icio.us"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Del.icio.us" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to digg"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to digg" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to reddit"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to reddit" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Technorati"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Technorati" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Stumble Upon"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Stumble Upon" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Bookmarks"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Bookmarks" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Bookmarks" /></a><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Bloglines"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/bloglines.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Bloglines" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Bloglines" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup&amp;url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to SlashDot"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to SlashDot" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;t=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to FaceBook"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to FaceBook" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogsvine.com/submit.php?url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Blogsvine"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/blogsvine.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Blogsvine" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Blogsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Twitter"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Twitter" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/reader/link?url=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/&amp;title=Kubuntu+Jaunty+%26%238211%3B+A+Java+Developer%26%238217%3Bs+Setup&amp;srcURL=http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Buzz"><img src="http://envb.sapphirewillow.com/writings/wp-content/plugins/social-bookmarking-reloaded/googlebuzz.png" title="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Buzz" alt="Add 'Kubuntu Jaunty &#8211; A Java Developer&#8217;s Setup' to Google Buzz" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://envb.sapphirewillow.com/writings/2009/06/kubuntu-jaunty-a-java-developers-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

