# or use
# 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
typora
软件包将由管理apt-get
,因此,当系统更新已安装的软件包或执行时apt-get upgrade
,Typora将更新为最新版本。
# upgrade all packages include Typora
sudo apt-get upgrade
# install typora to the curent user's profile
nix-env -i typora
# or use
# 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
echo -e "\ndeb https://typora.io/linux ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
# install typora
sudo apt-get install typora
apt-get
在您的发行版上安装,然后安装typora。[8898:0620/213856.172363: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/chrome-sandbox is owned by root and has mode 4755.
chmod 4755 /usr/share/typora/chrome-sandbox
参见https://github.com/electron/electron/issues/17972中的讨论
deb
或安装Typora apt-get
,或者从终端(./Typora
)运行Typora 。
version GLIBCXX_3.4.21 not defined in file libstdc++.so.6
/usr/share/typora/Typora: relocation error: /usr/share/typora/resources/app/node_modules/spellchecker/build/Release/spellchecker.node: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
dpkg -i
(参考:https: //askubuntu.com/questions/777803/ apt-relocation-error-version-glibcxx-3-4-21-not-defined-in-file-libstdc-so-6)。
libgconf-2-4
先安装。
[7465:7499:0911/174740.042852:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Aborted
xenial-security
更新包含在“ 软件和更新”中。sudo apt-get update && sudo apt-get install libnss3
echo -e "\ndeb https://typora.io/linux ./" | sudo tee -a /etc/apt/sources.list