Wednesday, October 19, 2011

Eclipse 3.7.1 on Ubuntu 10.4

[0]
The installation file
eclipse-SDK-3.7.1-linux-gtk.tar.gz
is downloaded from the Eclipse site.

[1]
It extracts into the directory "eclipse". The directory "eclipse" is moved to /home/<username>/Applications/eclipse-3.7.1

[2]
The file Eclipse 3.7.1.desktop is created:

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=gnome-panel-launcher
Name[en_US]=Eclipse 3.7.1
Exec=/home/<username>/Applications/eclipse-3.7.1/eclipse -data /home/<username>/works/workspace -vm /opt/java/jdk1.6.0_27/bin/java
Name=Eclipse 3.7.1
Icon=/home/<username>/Applications/eclipse-3.7.1/icon.xpm

The use of the options -data and -vm is well described in the documentation file readme_eclipse.html.
The workspace location /works/workspace can be chosen in any other way.

LibreOffice 3.4 on Ubuntu 10.4

Ubuntu 10.4 comes with OpenOffice 3.2

I want to have the newest LibreOffice.
Download the installation file from the LibreOffice homepage.
The file is LibO_3.4.3_Linux_x86_install-deb_en-US.tar.gz.
Extract it somewhere.
Read the file /readmes/README_en-US and follow the installation guide therein. Everything goes perfect.
When I started LibreOffice 3.4, it complained that Java runtime cannot be found (I installed the Oracle Java, not the standard way for Ubuntu).
After several ignoring "OK", LibreOffice started, and then via menu Tools/Options/Java the actual Java runtime could be added to the LibreOffice configuration.
LibreOffice when started without complaints.
LibreOffice is installed in /opt/libreoffice3.4.
Very fast, as compared to my Windows system.

Adobe Reader on Ubuntu 10.4

Adobe Reader is installed on Ubuntu 10.4.

[0]
Go to the Adobe downloads page. The current link is
http://get.adobe.com/reader/
The page suggests to download the Linux, English Adobe Reader.
The current version is AdbeRdr9.4.2-1_i486linux_enu.bin.

[1]
On console (password should be set where required):

[prompt] sudo cp /home/<where_downloaded>/AdbeRdr9.4.2-1_i486linux_enu.bin /opt/AdbeRdr9.4.2-1_i486linux_enu.bin
[prompt] cd /opt

[2]
[prompt] sudo chmod a+x AdbeRdr9.4.2-1_i486linux_enu.bin
[prompt] sudo ./AdbeRdr9.4.2-1_i486linux_enu.bin
Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 145 MB of free disk space.

Enter installation directory for Adobe Reader 9.4.2 [/opt] 
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

[prompt] /opt/adobe$

[3] 
The suggested installation directory /opt is chosen. The program is installed in  
/opt/Adobe/Reader9/
On the desktop and in the Applications/Office group the link (icon) to the Adobe Reader appears.

Tuesday, October 18, 2011

jEdit 4.4.2 on Ubuntu 10.4

Download the Java-based installer, in this case jedit4.4.2install.jar, from
http://www.jedit.org/index.php?page=download.

On console:
[prompt] cd <where_jedit_installer_is>
[prompt] java -jar jedit4.4.2install.jar
and follow the installation guide.

I choose "Install program in:"
/home/<username>/Applications/jedit/4.4.2 
instead of what is suggested.

To create the launcher for jEdit you may want to have the icon of jEdit. It can be found on
http://www.jedit.org/index.php?page=images

Monday, October 17, 2011

Oracle (Sun) Java on Ubuntu 10.4

Oracle (Sun) Java JDK is installed on Ubuntu 10.4.

[0]
Go to the Oracle downloads page. The current link is
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html.
Choose jdk-6u27-linux-i586.bin (say) to download.

[1]
On console (password should be set where required):

[prompt] sudo mkdir /opt/java/
[prompt] sudo cp /home/<where_downloaded>/jdk-6u27-linux-i586.bin /opt/java/jdk-6u27-linux-i586.bin
[prompt] cd /opt/java

[2]
[prompt] sudo chmod a+x jdk-6u27-linux-i586.bin
[prompt] sudo ./jdk-6u27-linux-i586.bin

Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
   creating: jdk1.6.0_27/
... ... ...
Press Enter to continue.....


Done.

[3]
[prompt] sudo gedit /etc/bash.bashrc

At the end of the file bash.bashrc put the following instructions.

export JAVA_HOME=/opt/java/jdk1.6.0_27
export PATH=$JAVA_HOME/bin:$PATH

[4]
Open a new console and run the command:
[prompt] java -version

to which the following result is expected:

java version "1.6.0_27"
Java (TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot (TM) Server VM (build 20.2-b06, mixed mode)

What's Behind the Keyboard

ASUS F3Sg (2008)
Intel(R) Core(TM)2 Duo CPU T5750 @2.00GHz, RAM 4GB
HDD 320
NVIDIA GeForce 9300M G, Display 1440 x 900

OS: Windows Vista, with
Linux Ubuntu 10.4 (Lucid) LTS, dual boot.