$text = String.new “World”

print “Hello #{$text}”

Archive for the ‘Ubuntu’ Category

Installing Eclipse on Ubuntu 7.10

Posted by siegem on March 21, 2008

This holiday I wanted to use eclipse on my new install of Linux (Ubuntu 7.10 “Gutsy Gibbon”), but found it somewhat strange to do with the Add/Remove tool and searched a way to consistently install it and integrate on the Desktop environment.

The first thing I have done was to go on “Synaptic Package Manager” in “Administration” and search for the last JDK to install, you can do it by searching for jdk using the search button. In the time I’m writing, the latest JDK avaliable package avaliable was sun-java6-jdk. It needed some other packages to be installed (jre, gcc-3.3, and other java packages) for me.

Synaptic Package Manager - JDK Latest package (2008.03.21)

When the installation was complete, I went to the Eclipse site and downloaded the latest Eclipse version for Linux, in the time was Eclipse 3.3.2, from here.

After the download was completed, I changed to a terminal and entered in my root account. With root privileges, I sent the eclipse package to the /root directory and unpacked it with the command “tar -zxvf ./eclipse-java-europa-winter-linux-gtk.tar.gz”. With the new directory /root/eclipse, I sent it to the /usr/lib with the command “mv /root/eclipse /usr/lib” and created a symbolic link to the eclipse application on the /usr/lib/eclipse directory with the command “ln –symbolic /usr/lib/eclipse/eclipse /usr/bin/eclipse”. With this last command, we add a link to call eclipse inside a PATH that is already in our system variable allowing us to call it as a simple command in the console (try it by exiting the root account and using yours type the command “eclipse”, in an gui console).

It’s done, but, if you want to create a menu entry you can access the “Main Menu” software on “Preferences” and add an entry where you would like using the option “New Item”, for me I created on the Programming sub menu, below my entry for eclipse:

Eclipse Entry in Ubuntu Menu “Programming”

I hope this tutorial helps you out installing the Eclipse manually on Ubuntu. I like this way, because I can choose what version, when and where I would like to install it, and manually take care of it.

Best Regards!

Posted in Howto, Java, Linux, Technology, Ubuntu | Tagged: , , , | 7 Comments »

Now along with Gutsy Gibbon

Posted by siegem on March 16, 2008

It has been some time that I didn’t run linux in my desktop at home. Since I changed my desktop (when my old one burn the motherbord up), I haven’t touched on a linux system (where I work, we use windows).

These days, I was talking about some linux distros at work and wanted to install it again at home.

After some problems to install my old Slackware 10.2 and the found the same problems with Ubuntu 6.06 LTS, I managed to download a new distro version and the chosen one was the Ubuntu 7.10 “Gutsy Gibbon” (this link goes to the “Introducing the Gutsy Gibbon” by Mark Shuttleworth).

I never wanted to change from Slackware, but this version of Ubuntu is very cool and simplify some of the manual things I have ever done with my old distro. Like the installation of new software and a very nice updater that points to me the new security and recommended patches.

In the start I had a problem with a slow connection on the new os, but after some research found that the resolv.conf file had a not valid dns server and that made the system too slow to resolv the addresses I wanted to access. (If this information comes in hand for someone with the same problem)

Besides the problem, the system is very nice and simple to use. But I still want to install slackware, along with ubuntu, ofcourse.

Oops, I forgot. In this other link you can download the Ubuntu 7.10 “Gutsy Gibbon”, if you want.

Posted in Linux, Technology, Ubuntu | Tagged: , , , | Leave a Comment »