-
Notifications
You must be signed in to change notification settings - Fork 146
Prepare Development Environment in Ubuntu 12.04
- Install Git in Ubuntu:
sudo apt-get install git gitk
git config --global branch.autosetuprebase always
Follow instructions at github to setup your username and ... : http://help.github.com/linux-set-up-git/, ssh connection setup is here.
- Change fonts in git GUI: Run GUI by command "git gui", If you do not like ugly font apply following
sudo apt-get install tk8.5
sudo update-alternatives --config wish
and pick /usr/bin/wish8.5
- Update your bash prompt to show git status:
For bash(works fine for Ubuntu): https://github.com/magicmonty/bash-git-prompt . Follow instructions in its README.md file.
After all instructions from README.md I recommend do following update for /home/%USER%/.bash/gitprompt.sh :
find this lines
PROMPT_START="$Yellow$PathShort$ResetColor"
PROMPT_END=" \n$WHITE$Time12a$ResetColor $ "
and change them to be like this
PROMPT_START="$WHITE$Time12a $Yellow$PathShort$ResetColor"
PROMPT_END=" $ "
1 Register non-Oracle reporsitory
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
2 Install Oracle Java8 JDK:
Download it from Oracle web site - http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
select either - jdk-8uXX-linux-x64.tar.gz (64bit) or jdk-8uXX-linux-i586.tar.gz (32bit)
save it your Downloads folder (~\Downloads)
unzip it: tar -xvf jdk-8u45-linux-x64.tar.gz
verify unzup : ls ~/Downloads/jdk1.8.0_45
3 Add to ~/.profile (execute the same, to define these variables in terminal)
export JAVA_HOME=~/Downloads/jdk1.8.0_45
export PATH=$JAVA_HOME/bin:$PATH
It will be necessary for compilation
- Install
sudo apt-get install maven
- add to ~/.profile
export PATH=/usr/share/maven/bin:$PATH
- Unpack Eclipse and launch
- So if you do not like the new look of Eclipse, select Window -> Preferences -> General -> Appearance and select “Classic” as the theme. And restart afterwards. Afterwards Eclipse should very similar to what you are used to.
- from "Help -> Eclipse market place" install plugin "Maven Integration for Eclipse". Optional (required only for sevntu-checkstyle development):
- Install eclipse-cs plugin from http://eclipse-cs.sourceforge.net/downloads.html it is necessary for our plugin compilation, this will help you testing, ... .
- Install EclEmma plugin for Eclipse to check that UTs are completely cover code.
- "Open Terminal" for Nautilus file manager. You will be able to open terminal from any folder(see it in context menu) in file-manager.
sudo apt-get install nautilus-open-terminal
- File and Folder compare tool - Meld
sudo apt-get install meld