官方安装教程:
# or run:
# 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
错误一:add-apt-repository 找不到命令
解决方法:
apt-get install software-properties-common
错误二:Error: could not find a distribution template
解决方法:
在打开 /etc/apt/sources.list 添加
deb https://typora.io/linux ./