docs/end-user/LINUX.md
Download the AppImage and type the following:
chmod +x marktext-%version%-x86_64.AppImage./marktext-%version%-x86_64.AppImageYou cannot really install an AppImage. It's a file which can run directly after getting executable permission. To integrate it into desktop environment, you can either create desktop entry manually or use AppImageLauncher.
See example desktop file.
$ curl -L https://raw.githubusercontent.com/marktext/marktext/develop/resources/linux/marktext.desktop -o $HOME/.local/share/applications/marktext.desktop
# Update the Exec in desktop file to your real marktext command. Specify Path if necessary.
$ vim $HOME/.local/share/applications/marktext.desktop
$ update-desktop-database $HOME/.local/share/applications/
You can integrate the AppImage into the system via AppImageLauncher. It will handle the desktop entry automatically.
~/.config/marktextSave AppImage somewhere. Let's say ~/bin/marktext.AppImage
chmod +x ~/bin/marktext.AppImage
Create a launch script:
#!/bin/bash
DESKTOPINTEGRATION=0 ~/bin/marktext.AppImage
You can download the latest marktext-%version%.tar.gz package from the release page. You may need to install electron dependencies.
MarkText is available on the AUR as marktext-bin and will automatically install the dependencies: glibc, gtk3, nss, alsa-lib, libxss, cups, libxkbcommon, libxkbfile, mesa, and hicolor-icon-theme.
Install it via an AUR helper like yay -S marktext-bin or with
git clone https://aur.archlinux.org/marktext.git
cd marktext-bin
makepkg -si
Note: The AUR package is not maintained by the maintainer of this repository and may be out of date. Take note of the version numbers and modify the PKGBUILD on the AUR as necessary before installation or update.