In fact, it was prepared to set up hadoop for cloud computing courses. Simply put, we will all be ready in Ubuntu later, so we will move the development environments of CPP and python.
1. Install JDK first. The download is in the tar.gz format.
tar -xzvf jdk1.7xxx.tar.gz /usr/localsudo gedit /usr/share/applications/eclipse.desktop
Decompress the package and configure the environment variables.
gedit /etc/profile
Add the following
export JAVA_HOME=usr/local/jdk1.7.0_10export JRE_HOME=usr/local/jdk1.7.0_10/jreexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATHexport CLASSPATH=$CLASSPATH:.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
It is the setting of environment variables. Remember to write your own path!
... Oh, right... It also overwrites the default Java command .. Baidu on your own .. One hundred-degree Compaction
2. Install eclipse. Or decompress the package. Command. Decompress the package to your favorite location. Then we configure the desktop icon ~ Start directly later
First
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Platform Comment=Eclipse IDE Exec=/usr/local/eclipse/eclipseIcon=//usr/local/eclipse/icon.xpm Terminal=false StartupNotify=true Type=Application Categories=Application;Development;
Of course .. You can directly
sudo apt-get install eclipse
3. Finally, install codeblocks
Apt-Get