Ubuntu Upgrade

Guest Author

I just upgraded my Ubuntu to 6.06 and it was quite painless. I only specified the Dapper Drake repositories and ran "apt-get dist-upgrade" and after 2 hours I had a new version of Ubuntu. Why can't Microsoft do something like that? I know... they don't have a packaging system with dependencies (they have a DLL hell instead).

The next experiment was to install Sun JDK. So I added the multiverse repository and tried the announced "apt-get install sun-java5-jdk" and it worked! Only one click-through text license and the JDK was there. Running "java -version" but surprisingly showed 1.4.2. Well, I realized I needed to get rid of the GCJ (piece of cake with the Synaptic package manager).

There's no "apt-get install netbeans" yet (hopefully there will be one soon now that Sun JDK is in Ubuntu). Installing Sun Studio on Ubuntu was quite painful, I got the bz2 package from java.sun.com, but it contains only rpm packages. I tried an ugly hack - installed the rpm manager and did rpm -Uvh \* --nodeps --force on the rpms of Sun Studio (yes on a Debian-based distro). Well, it worked for most of the rpms :) Last thing I needed to do was to specify the JDK_HOME environmental variable to make Sun Studio 11 work.

I really look forward to next version of Sun Studio which will be based on 5.5 - Sun Studio 11 is based on 3.5 and it's a really big difference. But the C/C++ pack for NetBeans already shows the direction where Sun's C/C++ tools are heading - it's just so easier to work with the C/C++ pack based on 5.5 than with the original Sun Studio, at least for me.

Join the discussion

Comments ( 8 )
  • pepiino Sunday, June 4, 2006
    Hi Roumen!
    Just about the rpm installation. Have you ever heard about alien? It's powerful utility which can convert rpm packages to deb. I'v used it many times on Ubuntu and it works perfectly. I think it's better way then using rpm manager :)
  • Roumen Sunday, June 4, 2006
    Yes, I know Alien, I actually tried it before installing rpm manager and it didn't work because some of the Sun Studio rpms couldn't be rebuilt (incorrect libraries). I didn't have really time to resolve these issues thus I chose the brute-force way which worked.
  • Kovica Monday, June 5, 2006
    Did you get XGL to work ? :)
    I've tried on Kubuntu and it's a mess... I admit I'm a complete newbie on Ubuntu Linux, since I've used Mandriva in the past and I still do on some computers, but I'd like to try some new since my main machine still runs on Mandrakelinux 10.1 :)
  • Roumen Monday, June 5, 2006
    No, I'm fine with x.org and Gnome :)
  • David Herron Monday, June 5, 2006
    First, Alien is no longer required to convert the RPM's to DEB's. We, the jdk-distros project, are beginning to work with the Linux distributors with a new license that allows any Linux and Open Solaris distribution to redistribute Sun's Java easily. See jdk-distros.dev.java.net for more information.
    Ubuntu in particular has completed the process. and the packages you downloaded are java v5.
    You probably need to run update-java-alternatives.
    The update-java-alternatives command is a variant of the update-alternatives that takes care of switching all the java related commands in one operation.
  • Roumen Monday, June 5, 2006
    The advice to use Alien was because of Sun Studio not because of the JDK. I got the JDK running - I know aboutupdate-java-alternatives, but I decided to rather remove GCJ completely :)
  • Miso Hlavac Wednesday, June 7, 2006
    this is nice to see :)
  • Roumen Wednesday, June 7, 2006
    Miso, guess who made this happen :)))
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.