The company uses Git as source control, but also need to work under Ubuntu, and then, they look for, the current Ubuntu git GUI client, feel smartgit is one of the more useful, the following is the specific installation steps
Description, Smartgit requires JDK, so install the JDK first
1, download the JDK, recommended more than 7,
I am using 8u31, using Ubuntu firefox to download,
Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2, decompression to/USR/LIB/JVM,
$ cd/home/zxh/Download
$ sudo tar zxvf./jdk-8u31-linux-x64.tar.gz-c. /.. /.. /usr/lib/jvm
$ CD/USR/LIB/JVM
$ sudo mv Jdk1.8.0_31/java-8u31-sun
3. Add Environment variables
$ sudo gedit ~/.BASHRC
At the end of the file, add the following/usr/lib/jvm/java-8u31-sun for the 8U31 package you unzipped
Export Java_home=/usr/lib/jvm/java-8u31-sun
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH
#这时, reopen the terminal or load the environment variable directly with source ~/.BASHRC and see if the Java version is expected to determine if the installation was successful
$ java-version
4. Download and install SMARTGITHG
: http://www.syntevo.com/smartgit/download?file=smartgit/smartgit-generic-6_5_5.tar.gz
I'm using the Apt-get download installation
$ sudo add-apt-repository Ppa:eugenesan/ppa
#sudo apt-get Update
$ sudo apt-get install SMARTGITHG
5, Configuration SMARTGITHG,
Refer to Http://www.syntevo.com/smartgit/download?file=smartgit/smartgit-generic-6_5_5.tar.gz for configuration
Create a file according to this directory
Catalog: ~/.smartgit/smartgit.vmoptions
The contents of the file (only one sentence below):
Jre=/usr/lib/jvm/java-8u31-sun/jre
Specific commands:
$ cd ~
$ mkdir. Smartgit
$ CD. smartgit/
#打开gedit, then create a new file, enter the contents of the top file, and save it as "Smartgit.vmoptions"
$ sudo gedit
#修改该文件权限:
$ sudo chmod 666 smartgit.vmoptions
6. Open the SMARTGITHG in the terminal
$ smartgithg
7, git command and Smartgit use introduction
Baidu Library: http://wenku.baidu.com/view/52a36119c5da50e2524d7ff9.html
csdn:http://download.csdn.net/detail/klcf0220/8134329
Well, I csdn no points, Baidu Library also no coupons, download not down, everyone go to see it
JDK8 and SMARTGITHG installed under Ubuntu 14.04