You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/typora.gpg] https://typora.io/linux ./"| sudo tee /etc/apt/sources.list.d/typora.list
23
+
sudo apt update
22
24
23
25
# install typora
24
-
sudo apt-get install typora
26
+
sudo apt install typora
25
27
```
26
28
27
-
### Alternative for `apt-key`
28
-
29
-
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))*".
30
-
31
-
The easiest way would be just to ignore it.
32
-
33
-
But if you’re not OK with the warning, you can do followings:
34
-
35
-
1. Download the key and save it locally somewhere.
2. Create repo file `typora.list` in `/etc/apt/sources.list.d`.
42
-
43
-
```shell
44
-
sudo vim /etc/apt/sources.list.d/typora.list
45
-
```
46
-
47
-
3. Paste repo definition into this file:
48
-
49
-
```shell
50
-
deb [arch=amd64 signed-by=/usr/share/keyrings/typora.gpg] https://typora.io/linux ./
51
-
```
52
-
53
-
4. Now you can install Typora:
54
-
55
-
```shell
56
-
sudo apt-get update
57
-
sudo apt-get install typora
58
-
```
59
-
60
29
### Upgrade Typora
61
30
62
-
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.
31
+
After installing Typora, the `typora` package will be managed by `apt`, so when your system updates installed packages, or you execute `apt upgrade`, Typora will be updated to latest version.
echo -e "\ndeb https://typora.io/linux ./"| sudo tee -a /etc/apt/sources.list
78
-
sudo apt-get update
79
-
80
-
# install typora
81
-
sudo apt-get install typora
35
+
sudo apt upgrade
82
36
```
83
37
84
38
## Download deb file manually
@@ -96,8 +50,7 @@ Then, input commands from https://typora.io/#linux into the newly opened termina
96
50
97
51
## Other Distributions
98
52
99
-
1. Download the binary package [Typora-linux-x64.tar.gz](https://typora.io/linux/Typora-linux-x64.tar.gz).
100
-
2. Try to install `apt-get` on your distribution, and then install typora.
53
+
Download the binary package [Typora-linux-x64.tar.gz](https://typora.io/linux/Typora-linux-x64.tar.gz).
101
54
102
55
## Snap Version
103
56
@@ -176,16 +129,6 @@ then:
176
129
1. Ensure `xenial-security` updates are included in *Software & Updates*.
177
130
2. run `sudo apt-get update && sudo apt-get install libnss3`
178
131
179
-
#### Malformed input, repository not added
180
-
181
-
You can add a repository by:
182
-
183
-
```sh
184
-
echo -e "\ndeb https://typora.io/linux ./"| sudo tee -a /etc/apt/sources.list
185
-
```
186
-
187
-
see related discussion in <https://github.com/typora/typora-issues/issues/2065#issuecomment-455877843>.
188
-
189
132
#### Shortcut for Heading 5 is not working
190
133
191
134
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 https://github.com/typora/typora-issues/issues/867#issuecomment-647082881).
0 commit comments