1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00

Updates for openSUSE/SUSE (#5407)

* get-deps: remove not needed deps for openSUSE/SUSE

These 2 dependencies are not needed when building from source. I tested
this for Tumbleweed, Slowroll and Leap 15.5.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

* docs: Update docs for openSUSE/SUSE

- Mention different flavours of openSUSE and how to install WezTerm
  there.
- The recommended way is always via the official repositories. However,
  this is not possible for Leap 15.5 as of now.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

* TMP: address suggestions from @wez

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

---------

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
This commit is contained in:
Dominik Gedon 2024-06-15 05:13:03 +02:00 committed by GitHub
parent ad5d6f96ff
commit 21d8b6bf5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 12 deletions

View File

@ -168,18 +168,33 @@ hide:
* Centos Stream 8 and 9 * Centos Stream 8 and 9
* Fedora 38, 39, 40, rawhide * Fedora 38, 39, 40, rawhide
* OpenSUSE Leap 15.5 * openSUSE Leap 15.5
* OpenSUSE Tumbleweed * openSUSE Tumbleweed
* RHEL 8, 9 * RHEL 8, 9
To perform initial installation: To perform initial installation:
```console ```console
$ sudo dnf copr enable wezfurlong/wezterm-nightly $ sudo dnf copr enable wezfurlong/wezterm-nightly
$ sudo dnf install wezterm $ sudo dnf install wezterm
``` ```
## openSUSE specific
To update: To perform initial installation:
```console
$ sudo zypper in dnf
$ sudo dnf copr enable wezfurlong/wezterm-nightly <repository>
```
where `<repository>` is one of the following, depending on the flavor and architecture:
`opensuse-tumbleweed-x86_64`, `opensuse-tumbleweed-aarch64`, `opensuse-leap-15.5-x86_64`, `opensuse-leap-15.5-aarch64`.
```console
$ sudo dnf install wezterm
```
## Update
```console ```console
$ sudo dnf update wezterm $ sudo dnf update wezterm
@ -213,24 +228,24 @@ hide:
$ sudo dnf install -y {{ fedora39_rpm_stable }} $ sudo dnf install -y {{ fedora39_rpm_stable }}
``` ```
=== "SUSE" === "openSUSE"
## SUSE Linux ## openSUSE
!!! note !!! note
It is recommended that you install via Copr so that it is easiest It is recommended that you install via Copr so that it is easiest
to stay up to date as future versions of wezterm are released. to stay up to date as future versions of wezterm are released.
WezTerm is also available in the official Factory repo in openSUSE ## openSUSE Tumbleweed/Slowroll
Tumbleweed. To install from Factory instead of Copr:
The stable version of WezTerm is available in the official repositories.
```console ```console
$ zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
$ zypper refresh
$ zypper install wezterm $ zypper install wezterm
``` ```
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/org.wezfurlong.wezterm.desktop` ## openSUSE Leap
* Configuration instructions can be [found here](../config/files.md)
Use Copr or build if from source.
=== "Arch" === "Arch"
## Arch Linux ## Arch Linux

View File

@ -115,7 +115,6 @@ suse_deps() {
if [ "${CI}" == "yes" ] ; then if [ "${CI}" == "yes" ] ; then
RESOLVE="--allow-downgrade" RESOLVE="--allow-downgrade"
fi fi
$ZYPPER install $RESOLVE -yl 'perl-FindBin' 'perl-File-Compare' || true
$ZYPPER install $RESOLVE -yl \ $ZYPPER install $RESOLVE -yl \
'make' \ 'make' \
'gcc' \ 'gcc' \