-
下载Typora
wget https://typora.io/linux/Typora-linux-x64.tar.gz
-
解压
tar -zxf Typora-linux-x64.tar.gz
-
运行Typora
./Typora
报错:
[3469:1122/213956.912137:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/share/Typora-linux-x64/chrome-sandbox is owned by root and has mode 4755.
需要将Typora目录下的chrome-sandbox文件设置成4755权限,并将他的所属用户和用户组设置成root。
更改权限和所属用户及用户组
chmod 4755 chrome-sandbox sudo chown root chrome-sandbox sudo chgrp root chrome-sandbox
-
再次运行,成功