Skip to content

Prepare Development Environment in Ubuntu 10.04

romani edited this page Sep 8, 2012 · 12 revisions

Install GIT

  1. Install Git in Ubuntu: http://help.github.com/linux-set-up-git/

  2. Change fonts in GUI Run GUI by command "git gui", If you do not like ugly font apply following:

sudo aptitude install tk8.5
sudo update-alternatives --config wish

and pick /usr/bin/wish8.5 from the list (3)

Install Java Sun/Oracle

1 Install Sun Java6 JDK from Synaptic Package Manager.

sudo apt-get install sun-java6-jdk sun-java6-source sun-java6-plugin

3 Add to ~/.profile (execute the same, to define these variables in terminal)

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME

make sure that ls -la /etc/alternatives/java point to your JDK.

Install Maven3

  1. Download binaries http://maven.apache.org/download.html

  2. Unpack them and copy to /usr/share/maven3

  3. add to ~/.bashrc

export M2_HOME=/usr/share/maven3
export M2=$M2_HOME/bin
export PATH=$M2:$PATH

Install CVS

Command:

sudo apt-get install cvs

Install Mercurial.

If you are using ubuntu 10.04, you need a new version from ppa: https://launchpad.net/~mercurial-ppa/+archive/releases

sudo add-apt-repository  ppa:mercurial-ppa/releases
sudo apt-get update
sudo apt-get install mercurial

Download Eclipse.

  1. Unpack Eclipse and launch
  2. Install maven plugin from update site http://m2eclipse.sonatype.org/sites/m2e
  3. Install mercurial plugin from update site http://www.javaforge.com/project/HGE#download This update site is working only if you are registered and logged in to this site http://www.javaforge.com.
  4. Install eclipse-cs plugin from http://eclipse-cs.sourceforge.net/downloads.html it is necessary for our plugin compilation.
Clone this wiki locally