Making Your Kubuntu Installation Usable: Install Firefox Java And Flash

Article by Berry van der Linden (2,680 pts ) , published Oct 2, 2009

One of the problems with installing Kubuntu used to be that you had to install all codecs, Java, Flash, and Firefox individually. I found a way to make this easier by using a Bash script. I also added Skype, MPlayer, and other software to the script.

Updated

* 09/24/2009 Updated all of the links to the newest version. Then tested all commands. This version of Perfectbuntu does now work up till 9.10 Karmic Koala all versions of Ubuntu are supported. This solution also works great for 64bit OS's.

Introduction

PerfectbuntuInstead of installing everything on Kubuntu manually, I'll explain how to use a friendly script that anyone will be able to run, whether you are a seasoned pro or just a beginner. The script was created by Robbie Ferguson of Category5 TV, a weekly vidcast all about Ubuntu Linux. Check it out when you get a chance.

His script is great, but I felt the need to improve it a little and add some packages to the version he has released.

We will have to use Terminal. Unfortunately, there's no point and click way to do this in 8.10. Please don't be intimidated if you are a beginner to Konsole (Terminal – command line). It's really not as hard as it looks.

How Do I Get Perfectbuntu?

You can download the script from my blog. Right click on this link and choose “Save Link As”. Save the file to the Desktop. To make the script executable in Kubuntu, right click it and select Properties.

Alternatively, if you want to do the whole thing in Konsole, go to Start in 8.04 Konsole or Kmenu->System->Konsole in 8.10. Click the kmenu button and type Konsole in the search bar. Then click Enter. This will open a Terminal. Now perform the following commands, one by one:

Go to you Desktop:

cd ~/Desktop

Download Perfectbuntu:

wget -c http://www.category5.tv/files/bash/perfectbuntu

To make Perfectbuntu executable, we do not need to be superuser here. That is what the sudo command is for:

sudo chmod +x perfectbuntu

Read the instruction below before doing this.

Run Perfectbuntu:

sudo ./perfectbuntu

What Will It Install?

The newest version of the script has the following features:

  • Installation of Multi Media Codecs - This will install Codecs to play .avi, .wmv, .mov, and more.
  • Installation of Codecs for DVD player functionality - This lets you play DVDs on your Kubuntu installation.
  • Installation of SpamAssasin - If you are using Kmail then you already have Bogofilter installed, but this is nice as an extra spam-fighting measure.
  • Installation of fonts - This option installs all the standard Windows true type fonts. Also, a large number of free fonts will be installed. If you answer yes to this option, then be prepared for a long download time. Otherwise, you can decline to install the fonts.
  • Installation of Wine - Wine can be handy if you want to run Windows programs. However it's not always easy to get Windows programs to work under Wine.
  • Installation of the Avant Dockbar - A very nice dock bar for Ubuntu - see the image below.

Avant Dockbar

  • Installation of Skype - If you used this on Windows, then you can install it on Linux as well.
  • Installation of several archive extractors - For extracting 7z, ZIP, Zip64, CAB, RAR, ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO and DEB archives.

Below added by Berry van der Linden:

  • Installation of Remastersys - Remastersys can make a live backup CD of your installation of Kubuntu. I will be writing an article about Remastersys soon.
  • Installation of Firefox - If you like using Firefox then say yes to this one.
  • Installation of Java and Flash - If you like to watch videos or play games online, then these two are a must.
  • Installation of Mplayer and VLC - If MPlayer can't play it, then VLC will. They will both be a great addition to the standard players in Kubuntu.

When you run Perfectbuntu, it will ask you what to install.

Perfectbuntu adds the necessary repositories for apt in /etc/apt/sources.list so it can install the before mentioned packages. For instance, the codecs are out of the Medibuntu repositories.

After running Perfectbuntu, restart your computer and you're good to go.

10 Comments

Oct 14, 2009 7:33 PM
kr0w17
It did install gnome!
I just ran perfectbuntu. I Installed my copy of Kubuntu on this computer today from the Jaunty CD. Then I did some normal updates and installed some packages (firefox 3/wine/kubuntu-restricted-extras/nvidia driver) then I stumbled on perfectbuntu, downloaded it and ran the script (apparently there is an issue with 'KDESUDO' which I had been trying to use anytime I ran terminal from the GUI, where when the script or app asks for input like a yes or no question the question does not print to screen, but then ran the script from 'SUDO' and everything went well) after that I restarted my computer and BAMO! Gnome. I had never installed gnome and before Perfectbuntu, it was not listed under the session manager as an option. But now it is.
Oct 5, 2009 10:14 PM
Re: Maciej
Hello,

Glad you have it fixed. Let me stress once again:

The problems you experienced are not invoked by the Perfectbuntu script. After a little research there was an upgrade done to your system that caused this to happen. Perfectbuntu runs update and upgrade commands to be sure the latest software available is used.

This would have happened whenever you would have updated your computer. This is not specific to this Perfectburntu script.

Berry van der Linden
Oct 5, 2009 10:37 AM
Maciej
hello
hey berry,

i was thinking to describe what exactly happened so if anybody has similar problems in the future maybe it will be easier for you to help.

i upgrated kubuntu jaunty to karmic beta few days ago.

maybe i did something wrong but here is what i saw after installing your script and restarting my computer: so desktop looked like gnome one, but most of the applications stayed from kde. however gnome system monitor replaced the kde one, synaptic replaced kpackage manager and there were some few more changes but i dont remember them now. anyway, in gnome tabs 'preferences' and 'administration' that are in a 'system' were 4-6 gnome applications and not any kde. but in tab ''application' there were only or or almost only kde applications. the memory usage was amazingly low (like a little bit more than 100M; usually it is 350M in my computer). i went to synaptic to check if kubuntu desktop is installed and it was. so i tried to log out and check if i can log in to kubuntu but i couldn't manage to do it (i have automatic login set). ctrl+backspace+alt was not working anymore, and nor i could do it in 'traditional way' as computer was turning off instead of logging out (maybe this is bug of ubuntu beta version?) so i went to synaptic again, marked all gnome apps for removal, did it, restarted computer and kubuntu worked again for me.

i didnt see your post yesterday so i didnt reply but thank you for being ready to help!
Oct 4, 2009 6:15 PM
Maciej
fixed
ok, i think i have fixed it. as kubuntu desktop application were still installed i just went to synaptic (which was installed by the script) and uninstalled all gnome apps, restarted computer and kde is here again. i'm quite newbie to linux but i think the sript didnt recognize correctly my graphic environment.
Oct 4, 2009 5:54 PM
re: Maciej
Please come into the chat room so I can help you in real time. I will post a log of our chat session later for everyone with similar problems.

You can find the chat room at http://irc.q3w.org you can use the web-client there.

KDE is still there we just have to change the session.

Berry van der Linden
Oct 4, 2009 5:43 PM
re: Maciej
@Maciej

After only running Perfectbuntu your desktop changed from KDE to Gnome? Perfectbuntu doesn't touch your desktop. If you are running KDE you will still have KDE after.

Are you sure you didn't install ubuntu-desktop in terminal or with adept/synaptec?

Try this boot your computer when it gets to the login screen find the sessions and change it from default to KDE. Now it should start KDE again.

Hope this helps. If problems persist please goto http://irc.q3w.org and enter our #brighthub chat room so I can help in real time.

Berry van der Linden
Oct 4, 2009 5:42 PM
Maciej
changes
could you please tell me how i can remove these changes. i'm using kubuntu karmic beta (well, i'm not sure not if i can call it still kubuntu...) there are many kde application still installed but my desktopo looks like gnome and i really don't like it...
Oct 4, 2009 5:34 PM
Maciej
gnome
well, after restarting computer gone desktop appeared... that's not what i expected....
Aug 4, 2009 10:50 PM
Version not supported here either
I ran this, and got the same message. I'm running the latest version of Kubuntu with the latest kernel on a 32-bit laptop.

Is this just for older versions?
Jul 14, 2009 7:20 PM
Forehead
32bit
Hi,

Detected version: , 32-bit
Your version of Linux is not supported.

This is what I got. Is there not a way around this?