mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-11 23:57:21 -08:00
readme: add package repository instructions (#893)
Some checks failed
Some checks failed
This commit is contained in:
parent
275a52eb5c
commit
c939308e4c
1 changed files with 23 additions and 1 deletions
24
README.md
24
README.md
|
@ -102,7 +102,29 @@ For **macOS** users:
|
||||||
|
|
||||||
For **Linux** users:
|
For **Linux** users:
|
||||||
|
|
||||||
* Thanks [@aikawayataro](https://github.com/aikawayataro) for providing `RPM/DEB` pacakges on [Codeberg.org](https://codeberg.org/yataro/-/packages).
|
* Thanks [@aikawayataro](https://github.com/aikawayataro) for providing `rpm` and `deb` repositories, hosted on [Codeberg](https://codeberg.org/yataro/-/packages).
|
||||||
|
|
||||||
|
`deb` how to:
|
||||||
|
```shell
|
||||||
|
curl https://codeberg.org/api/packages/yataro/debian/repository.key | sudo tee /etc/apt/keyrings/sourcegit.asc
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/sourcegit.asc] https://codeberg.org/api/packages/yataro/debian generic main" | sudo tee /etc/apt/sources.list.d/sourcegit.list
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install sourcegit
|
||||||
|
```
|
||||||
|
|
||||||
|
`rpm` how to:
|
||||||
|
```shell
|
||||||
|
curl https://codeberg.org/api/packages/yataro/rpm.repo | sed -e 's/gpgcheck=1/gpgcheck=0/' > sourcegit.repo
|
||||||
|
|
||||||
|
# Fedora 41 and newer
|
||||||
|
sudo dnf config-manager addrepo --from-repofile=./sourcegit.repo
|
||||||
|
# Fedora 40 and earlier
|
||||||
|
sudo dnf config-manager --add-repo ./sourcegit.repo
|
||||||
|
|
||||||
|
sudo dnf install sourcegit
|
||||||
|
```
|
||||||
|
|
||||||
|
If your distribution isn't using `dnf`, please refer to the documentation of your distribution on how to add an `rpm` repository.
|
||||||
* `AppImage` files can be found on [AppImage hub](https://appimage.github.io/SourceGit/), `xdg-open` (`xdg-utils`) must be installed to support open native file manager.
|
* `AppImage` files can be found on [AppImage hub](https://appimage.github.io/SourceGit/), `xdg-open` (`xdg-utils`) must be installed to support open native file manager.
|
||||||
* Make sure [git-credential-manager](https://github.com/git-ecosystem/git-credential-manager/releases) is installed on your Linux.
|
* Make sure [git-credential-manager](https://github.com/git-ecosystem/git-credential-manager/releases) is installed on your Linux.
|
||||||
* Maybe you need to set environment variable `AVALONIA_SCREEN_SCALE_FACTORS`. See https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI.
|
* Maybe you need to set environment variable `AVALONIA_SCREEN_SCALE_FACTORS`. See https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI.
|
||||||
|
|
Loading…
Reference in a new issue