Configuration:
Install typora
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
// add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
// install typora
sudo apt-get install typora
Update packages
// get (download) the latest packages
apt-get update
// upgrade all applications
sudo apt-get upgrade
// upgrade one specific application
sudo apt-get upgrade typora
About build-essential
ubuntu did not provide c++ compilers, which means we need to do it ourselves. However, Ubuntu provided the ‘build-esstial’ package, which enables us to install the most needed c and c++ compilers all at a time.
Install OpenCV
Uninstall apps
words
kit : 工具包
purge:清洗
remove
Entering Administrator Mode
su root
Exit Administrator Mode
exit
Install Java JDK8
1.update packages
download the JDK tar.gz from Oracle's website
2. make directory
sudo mkdir /usr/lib/jvm
3. unzip to the directory
perhaps just unzip it first, then move it to the object directory
unzip
mv
4.modify environment variables
gedit ~/.bashrc
5.Add these content to the end of the bashrc
#set oracle jdk environment
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_261 ## 这里要注意目录要换成自己解压的jdk 目录
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
6.Effect environment variables immediately:
source ~/.bashrc
7.register in the system
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_261/bin/java 300
8.see if we install java JDK successfully
java -version