1、python版本默认python3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3
2、安装typora
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE sudo add-apt-repository 'deb http://typora.io linux/' sudo apt-get updat sudo apt-get install typora
3、安装sublime
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text