Download the AppImage and type the following:
chmod +x marktext-%version%-x86_64.AppImage
./marktext-%version%-x86_64.AppImage
- Now you can execute Mark Text.
You 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.
- Delete AppImage file.
- Delete your desktop file if exists.
- Delete your user settings:
~/.config/marktext
-
Save AppImage somewhere. Let's say
~/bin/marktext.AppImage
-
chmod +x ~/bin/marktext.AppImage
-
Create a launch script:
#!/bin/bash DESKTOPINTEGRATION=0 ~/bin/marktext.AppImage
- Mark Text is always integrated into desktop environment after updating
You can download the latest marktext-%version%.tar.gz
package from the release page. You may need to install electron dependencies.
Prerequisites:
You need to install the flatpak
package for your distribution. Please see the official flatpak tutorial for more information and note that you have to add the flathub repository (flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
) as described in the Quick Setup.
Install from Flathub:
After you install flatpak and flathub repository, you can install Mark Text with just one command (note that you may be asked to enter your password):
flatpak install flathub com.github.marktext.marktext
or flatpak install --user flathub com.github.marktext.marktext
to install for the current user only.
To run Mark Text just execute flatpak run com.github.marktext.marktext
or click on the Mark Text icon in your application launcher.
To update Mark Text run the following command:
flatpak update com.github.marktext.marktext
or flatpak update
to update all installed flatpaks.