Ask Your Question
1

want to install Typora

asked 2018-07-09 07:04:22 -0500

MiKiDe gravatar image

updated 2018-07-09 11:18:29 -0500

hhlp gravatar image

I want to install Typora (see https://typora.io/) but I don't know how to use dnf/yum to add the repository.

The given command from their site is sudo add-apt-repository 'deb https://typora.io/linux ./'

I tried: sudo dnf config-manager --add-repo 'deb https://typora.io/linux ./' but didn't work (it added the deb folder instead).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-09 11:10:46 -0500

hhlp gravatar image

updated 2018-07-09 11:26:02 -0500

Sorry for that notice but that is the Debian and Derivates way like Ubuntu :

Download a binary file from here :

under terminal there is a description

>> or, download binary file x64 x86 ...

Nota : download your architecture if you don't know type in terminal uname -r

in download folder double-click and extract there :

then do :

sudo mv Typora-linux-x64 /opt/typora

follow this step :

Create the .desktop file in /.local/share/applications/

nano /home/$USER/.local/share/applications/typora.desktop

Paste the following text :

[Desktop Entry]
Type=Application
Terminal=false
Icon=/path/to/icon/icon.png
Name=Typora
Comment=MarkDown Editor
Exec=/opt/typora/Typora
Categories=IDE;

As for Icon and Exec, use either a full path or a "system" name. You can find a lot of typora png in google save it and move to /opt/typora/ with sudo

For Categories, consult the XDG Standards list.

-> desktop-files

Regards.,

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-07-09 07:04:22 -0500

Seen: 40 times

Last updated: Jul 09