Ubuntu Upgrade

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.

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 :)

Posted by pepiino on červen 04, 2006 at 04:53 odp. CEST #

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.

Posted by Roumen on červen 05, 2006 at 01:44 dop. CEST #

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 :)

Posted by Kovica on červen 05, 2006 at 02:20 dop. CEST #

No, I'm fine with x.org and Gnome :)

Posted by Roumen on červen 05, 2006 at 02:22 dop. CEST #

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.

Posted by David Herron on červen 05, 2006 at 09:12 dop. CEST #

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 :)

Posted by Roumen on červen 05, 2006 at 09:23 dop. CEST #

this is nice to see :) ftp://ftp.suse.com/pub/suse/i386/update/10.1/rpm/noarch/

Posted by Miso Hlavac on červen 07, 2006 at 03:04 odp. CEST #

Miso, guess who made this happen :)))

Posted by Roumen on červen 07, 2006 at 07:08 odp. CEST #

Post a Comment:
Comments are closed for this entry.

Roman Strobl


« únor 2015