mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 01:21:41 +08:00
Remove sudo in flatpak installation instructions (#1836)
* Remove sudo in flatpak installation instructions The use of sudo for installations is neither necessary nor encouraged * Add additional information to flatpak installation instructions
This commit is contained in:
parent
593ca5f83b
commit
91f2af415b
@ -50,10 +50,10 @@ You need to install the `flatpak` package for your distribution. Please see the
|
||||
|
||||
**Install from Flathub:**
|
||||
|
||||
After you install flatpak and flathub repository, you can install [Mark Text](https://flathub.org/apps/details/com.github.marktext.marktext) with just one command:
|
||||
After you install flatpak and flathub repository, you can install [Mark Text](https://flathub.org/apps/details/com.github.marktext.marktext) with just one command (note that you may be asked to enter your password):
|
||||
|
||||
```
|
||||
sudo flatpak install flathub com.github.marktext.marktext
|
||||
flatpak install flathub com.github.marktext.marktext
|
||||
```
|
||||
|
||||
or `flatpak install --user flathub com.github.marktext.marktext` to install for the current user only.
|
||||
@ -65,7 +65,7 @@ To run Mark Text just execute `flatpak run com.github.marktext.marktext` or clic
|
||||
To update Mark Text run the following command:
|
||||
|
||||
```
|
||||
sudo flatpak update com.github.marktext.marktext
|
||||
flatpak update com.github.marktext.marktext
|
||||
```
|
||||
|
||||
or `sudo flatpak update` to update all installed flatpaks.
|
||||
or `flatpak update` to update all installed flatpaks.
|
||||
|
Loading…
Reference in New Issue
Block a user