Ubutnu离线安装Typora
1.在Typora官网下载安装包
https://www.typora.io/#linux
2.解压安装包
sudo tar -zxvf Typora-linux-x64.tar.gz
3.将解压出来的bin文件夹下的Typora-linux-x64文件夹移动到安装文件夹下,我这里将Typora安装在/usr/local/文件夹
cd bin
sudo mv Typora-linux-x64 /usr/local/
4.创建Typora的快捷启动
Ubuntu中的快捷启动都在/usr/share/applications目录中
cd /usr/share/applications
sudo gedit typora.desktop
在创建的typora.desktop文件中写入如下内容:
Desktop Entry]
Encoding=UTF-8
Name=Typora
Exec=/usr/local/Typora-linux-x64/Typora
Icon=//usr/local/Typora-linux-x64/resources/app/asserts/icon/icon_256x256@2x.png
Categories=Application;Development;Java;IDE
Type=Application
#Terminal=1