Install JDK1, go to a. bin package on the official website, and run./xx. bin directly on the command line. It is found that jdk folders are added in the same directory. 2. Configure the environment and modify bash. bashrc, added: exportJAVA_HOME =/usr/local/bin /... /jdk's newly generated folder PATH exportPATH = $ JAVA_HOME/bin: $ PATH Note: Do not forget the following: $ PATH. I just forgot it.
Install JDK
1. Go to the official website and run a. bin package. Then, run./xx. bin on the command line and find that jdk folders are added to the same directory.
2. Configure the environment, modify bash. bashrc, and add:
Export JAVA_HOME =/usr/local/bin/.../directory of the folder just generated by jdk
Export PATH = $ JAVA_HOME/bin: $ PATH
Note: Do not forget the "$ PATH" icon next to it. I just forgot it. As a result, the system cannot log on. I can only change it from the command line mode.
Then, add the preceding two sentences to the/etc/profile and/etc/environment files in the same way.
Install eclipse.
1. Go to the official website to download an eclipse for c/c ++ compressed file, put it in the/opt directory, and decompress it with the command line. If JDK is successfully installed, decompress the package and run./eclipse directly in the directory to start.
Install QT
1. I went to the official website to download a source code package and configured it myself. It took a long time to compile the package. I wonder if there is a faster method. I should look for apt-get or something.
2. Place the source code package in any location, decompress the command line, and install the package gradually according to the installation requirements on the official website. First./configure, if an error is reported, you need to install a few libraries, similar to apt-get install libX11-dev or something.
3. make. If an error occurs, follow the above steps to download several libraries.
4. make install.
Install Qt Eclipse Integration for C ++
1. Go to the official website to get a linux version of Qt Eclipse Integration for C ++.