Thursday, May 6, 2010

Installing Ubuntu 10.04 Lucid Lynx (on the Desktop)

Last week Ubuntu 10.04, codename Lucid Lynx, was released.This is a Long Time Support (LTS) release and will be supported until 2013.

After installing Lucid in my desktop my motherboard died, so I had to do a fresh install in a new computer.

I will be the using the 64 bit desktop cd (ubuntu-10.04-desktop-amd64.iso).
Before you start

  • Backup your data 
  • Make a list of software you want to recover after the clean install and all the preferences/options you use. This will make you post install easier and you can start working faster.
  • Make a list of the extra Software Sources you use
  • Check the Release Notes
  • Download Ubuntu
  • Check the file hash (example: md5sum ubuntu-10.04-desktop-amd64.iso) and compare it to UbuntuHashes
  • Burn a cd (you can use Brasero, for example, if you already use Ubuntu).

Running the live cd

Boot from the cd.

After booting it's important to check the integrity of the cd. Burning cds also fails.

Hardware to check (during the live cd session)

  • Graphics (check)
  • Sound (check)
  • Cable network (check)
  • Wireless network (not tested)

Hard Drive Partition Layout

I changed my layout in order to have my home folder in another physical hard drive.

    /dev/sda1      ext4      /                               15 GB          -- primary
    /dev/sda5      swap                                       2 GB          -- extended
    /dev/sda6      ext4     /storage/pool              60 GB          -- extended

    /dev/sdb5      ext4     /home                    250 GB          -- extended

Post-install: Wired Network

I had to manually configure my IP because I don't have DHCP activated in my router.

Post-install: Graphics Card

I had a warning about an available proprietary driver. Just had to activate it. Ubuntu downloaded and installed the driver. Pretty simple.

Post-install: Multimedia

References: Complete Streaming, Multimedia & Video How-to and Medibuntu

  • Adding Medibuntu Repositories

$ sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

  • Install Multimedia packages

$ sudo apt-get install ubuntu-restricted-extras w64codecs libdvdcss2

Post-install: Preferences and Look and Feel

Here's some things I changed right away:

  • Background

  • NTP Time Server (System > Administration > Time and Date)



  • Weather on Clock Preferences

Post-install: SAMBA Server

Click here.

Post-install: LAMP Server

To install Apache, MySQL and PHP, check here.

Post-install: Software Sources

  • deb karmic non-free

  • deb intrepid main

  • deb lucid free non-free

  • deb lucid main

  • deb lucid main

  • deb karmic main

  • deb karmic main

  • deb lucid main

  • deb lucid main

  • deb lucid main

Post-install: extra software

List of extra installation software installed:

  • Xmarks add-on (can’t live without it)

  • Firefox IMDB search-engine

  • GnomeDo (after adding the software source just go to Ubuntu Software Source and look for gnome do)

  • Docky

  • VLC

  • Dropbox

$ sudo apt-key adv --keyserver --recv-keys 5044912E
$ sudo apt-get update
$ sudo apt-get install nautilus-dropbox

  • Synergy

  • GVim

  • Gaupol Subtitle Editor

  • More Firefox add-ons (Portuguese Dictionary, GMail Manager)

  • Powertop (sudo apt-get install powertop)

  • Gnucash

  • Aspell pt-pt (sudo apt-get install aspell-pt-pt)

  • Gnome Partition Editor

  • Virtualbox 3.1

  • Miro

  • GCStar

  • RAR Support (sudo apt-get install rar unrar)

  • Graphical Uncomplicated Firewall (click here to install)

  • KeepassX

  • Banshee

  • Banshee extensions (Indicator Applet, Lyrics, Ubuntu One Music Store)

$ sudo apt-get install libappindicator0.0-cil banshee-extension-appindicator banshee-extension-lyrics banshee-extension-ubuntuonemusicstore

  • aMule

  • screenlets

  • Java

$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts


  1. Hello Paulo.
    It's with great interest that I see you created a blog for linux experiences, since in the last 3 years I've been using almost exclusively linux (ubuntu).
    This post is very complete, it really gives all the instructions you need to install and configure ubuntu, but I think you forgot one important software for those people who are making a change from windows to linux: Wine.
    To install wine, first we need to add the repository to ubuntu's repository list. To achieve this, we can add manually the line ppa:ubuntu-wine/ppa (this is the repository for Lucid Lynx) to the file /etc/apt/sources.list or do it using sudo add-apt-repository ppa:ubuntu-wine/ppa ; with this done, we just have to update the repositories list with apt-get update and install the software using sudo apt-get install wine

  2. Hello Carlos.
    Long time no see.
    I know wine, but I use Virtualbox every time I need Windows software. The seamless mode in Virtualbox integrates Windows software like a champ.

  3. I am new to virtual box, just try it two weeks ago, but I use wine just to run a simple and free program that I wasn't able to find a proper substitute in linux: the audio player foobar2000. There are many audio players for linux and I have tried lots of them, but none gave me what I have from foobar (.cue, conversion between every format and many other details), so I found this solution.

  4. Thanks for sharing such excellent information. I wanted to install in my windows desktop. How i can do that.