Install Typora on Linux


Installation instructions for different flavours of Linux.


# or use
# sudo apt-key adv --keyserver --recv-keys BA300B7755AFCFAE
wget -qO - | sudo apt-key add -

# add Typora's repository
sudo add-apt-repository 'deb ./'
sudo apt-get update

# install typora
sudo apt-get install typora

Alternative for apt-key

When you try to add an APT repository key using apt-key (first line in previous command line) on Debian, Ubuntu and Linux distributions based on these, you’ll see the following message: “Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))”.

The easiest way would be just to ignore it.

But if you’re not OK with the warning, you can do followings:

  1. Download the key and save it locally somewhere.

    curl | gpg --dearmor > /usr/share/keyrings/typora.gpg
  2. Create repo file typora.list in /etc/apt/sources.list.d.

    sudo vim /etc/apt/sources.list.d/typora.list
  3. Paste repo definition into this file:

    deb [arch=amd64 signed-by=/usr/share/keyrings/typora.gpg] ./
  4. Now you can install Typora:

    sudo apt-get update
    sudo apt-get install typora

Upgrade Typora

After installing Typora, the typora package will be managed by apt-get, so when your system updates installed packages, or you execute apt-get upgrade, Typora will be updated to latest version.

# upgrade all packages include Typora
sudo apt-get upgrade


# or use
# sudo apt-key adv --keyserver --recv-keys BA300B7755AFCFAE
wget -qO - | sudo apt-key add -

# add Typora's repository
echo -e "\ndeb ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update

# install typora
sudo apt-get install typora

Download deb file manually

You can also manually download and install the deb package file, following those steps:

  1. Find download link from and download the Linux version.
  2. Double click the deb file to start installing on Ubuntu / Debian.

Other Distributions

  1. Download the binary package Typora-linux-x64.tar.gz.
  2. Try to install apt-get on your distribution, and then install typora.


For wayland, please append flags when launching Typora (see

--enable-features=UseOzonePlatform --ozone-platform=wayland

Distribution Support

Typora for Linux is tested only on Ubuntu. So, if you have a problem with other distributions, please email us at [email protected].




Common Solutions for Typora not opening

Make sure all the necessary dependencies are installed. You can run ldd typora | grep not on a Linux machine to check which dependencies are missing.

Error on Debian Stretch

For following error:

[8898:0620/] 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.

Try chmod 4755 /usr/share/typora/chrome-sandbox

See discussion in

Cannot open Typora binary “there is no application installed for shared library”

When double clicking on Typora’s binary file, Nautilus (file manager) doesn’t run it, as I can’t detect it as an executable file.

This is caused by a Nautilus’s bug, see discussions in You can either: install Typora via deb or apt-get, or run Typora from terminal (./Typora).

Started Typora and got version GLIBCXX_3.4.21 not defined in file error

When you start Typora on Ubuntu 14.x, if following error happens:

/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 with link time reference

then download the Debian of package libstdc++6 for Xenial at link and installed it using dpkg -i (reference:

[Ubuntu 14.04 ] typora: /lib/x86_64-linux-gnu/ no version information available (required by typora)

See electron/electron#16364 (comment)

Error while loading shared libraries:

Try install libgconf-2-4 first.

NSS out-of-date

If you receive following error when launching Typora:

[7465:7499:0911/] 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.


  1. Ensure xenial-security updates are included in Software & Updates.
  2. run sudo apt-get update && sudo apt-get install libnss3

Malformed input, repository not added

You can add a repository by:

echo -e "\ndeb ./" | sudo tee -a /etc/apt/sources.list

see related discussion in

Shortcut for Heading 5 is not working

Please check if you uses fcitx (e.g. for typing Chinese)? Ctrl + 5 is the global shortcut key for fcitx to reload its config. Deleting that global shortcut should make ctrl+5 work in Typora. (Thanks to