Ubuntu16.04 development software installation settings

1. System settings

1. Display on the left side of the taskbar: gsettings set com.canonical.Unity.Launcher launcher-position Left


2. Software installation

1, google-chrome installation

a. Download : wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

b、安装:sudo dpkg -i google-chrome-stable_current_amd64.deb


2. JDK installation

a. Decompression

b. Environment variable modification: modify the configuration:  ~/.bashrc 

      export JAVA_HOME=/home/develop/software/jdk1.8.0_60

      export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH  

      export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH 



3. git installation

a. Installation: sudo apt install git

b. Learning: http://blog.csdn.net/jiangxuexuanshuang/article/details/48749719


4. maven installation

a. Download: http://maven.apache.org/download.cgi

b. Decompression

c. Configuration: Modify the file: ~/.bashrc

export MVN_HOME=/home/develop/software/apache-maven-3.3.3

        export PATH=$MVN_HOME/bin:$PATH

d, maven default jdk settings:

<strong><span style="font-family:Microsoft YaHei;font-size:14px;"><profile>
      <id>jdk-1.7</id>

      <activation>
        <jdk>1.7</jdk>
        <activeByDefault>true</activeByDefault>  
      </activation>
      <properties>
		<maven.compiler.source>1.7</maven.compiler.source>
		<maven.compiler.target>1.7</maven.compiler.target>
		<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
      </properties>
    </profile></span></strong>
e. Verify: mvn -v

5, ant installation

a. Download: http://ant.apache.org/bindownload.cgi

b. Configuration

c. Configuration: Modify the file: ~/.bashrc

     export ANT_HOME=/home/develop/software/apache-ant-1.9.6
     export PATH=$ANT_HOME/bin:$PATH

d、验证:ant -v


6、sublime安装

a、下载:http://www.sublimetext.com/3

b、安装:sudo dpkg -i sublime-text_build-3114_amd64.deb 

c、支持搜狗输入法:参照(http://blog.csdn.net/Bleachswh/article/details/51674552)

     sudo apt install gtk+-2.0

     sudo gcc -shared -o libsublime-imfix.so sublime_imfix.c  `pkg-config --libs --cflags gtk+-2.0` -fPIC

     sudo mv libsublime-imfix.so /opt/sublime_text/

修改以下内容:

sudo gedit /usr/bin/subl
#!/bin/sh
exec /opt/sublime_text/sublime_text "$@"
修改为
#!/bin/sh
LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text "$@"

sudo gedit /usr/share/applications/sublime_text.desktop
将[Desktop Entry]中的字符串
Exec=/opt/sublime_text/sublime_text %F
修改为
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text %F"
Put the string in [Desktop Action Window]
Exec=/opt/sublime_text/sublime_text -n
change into
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text -n"
Convert the string in [Desktop Action Document]
Exec=/opt/sublime_text/sublime_text --command new_file
change into
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text --command new_file"

7. Install for Knowing Notes

sudo add-apt-repository ppa:wiznote-team
sudo apt-get update
sudo apt-get install wiznote

Verify: Command WizNote exists


8. QQ installation

a. QQ download address: http://www.ubuntukylin.com/applications/showimg.php?lang=cn&id=23 

b. After the download is complete, decompress it and enter the directory wine-qqintl

c, Line command: sudo dpkg -i fonts-wqy-microhei_0.2.0-beta-2_all.deb ttf-wqy-microhei_0.2.0-beta-2_all.deb wine-qqintl_0.1.3-2_i386.deb 

d. If the command execution fails, first execute the command to install the dependency package: sudo apt-get install -f

e. Re-execute the command in step 3 to complete the installation


9. Eclipse installation

a. Download: eclipse-jee-neon-R-linux-gtk-x86_64.tar.gz

b, decompress, complete


10. Nodejs installation

a. Download: git clone https://github.com/nodejs/node.git

b. Installation: (reproduced: http://www.runoob.com/nodejs/nodejs-install-setup.html)

Get the Node.js source code on Github:

$ sudo git clone https://github.com/nodejs/node.gitCloninginto'node'...
  

Modify directory permissions:

$ sudo chmod -R 755 node

Use  ./configure  to create the build file and follow:

$ cd node
$ sudo ./configure
$ sudo make
$ sudo make install

Check node version:

 
$ node --version
v0.10.25

待续



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325981593&siteId=291194637