Skip to content

Commit

Permalink
Updates for openSUSE/SUSE (wez#5407)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>

* TMP: address suggestions from @wez

Signed-off-by: Dominik Gedon <[email protected]>

---------

Signed-off-by: Dominik Gedon <[email protected]>
  • Loading branch information
nodeg authored and saep committed Jul 14, 2024
1 parent 6e65de7 commit 71c1c57
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
37 changes: 26 additions & 11 deletions docs/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,33 @@ hide:

* Centos Stream 8 and 9
* Fedora 38, 39, 40, rawhide
* OpenSUSE Leap 15.5
* OpenSUSE Tumbleweed
* openSUSE Leap 15.5
* openSUSE Tumbleweed
* RHEL 8, 9


To perform initial installation:

```console
$ sudo dnf copr enable wezfurlong/wezterm-nightly
$ sudo dnf install wezterm
```
## openSUSE specific

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
```

To update:
## Update

```console
$ sudo dnf update wezterm
Expand Down Expand Up @@ -213,24 +228,24 @@ hide:
$ sudo dnf install -y {{ fedora39_rpm_stable }}
```

=== "SUSE"
## SUSE Linux
=== "openSUSE"
## openSUSE

!!! note
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.

WezTerm is also available in the official Factory repo in openSUSE
Tumbleweed. To install from Factory instead of Copr:
## openSUSE Tumbleweed/Slowroll

The stable version of WezTerm is available in the official repositories.

```console
$ zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
$ zypper refresh
$ zypper install wezterm
```

* The package installs `/usr/bin/wezterm` and `/usr/share/applications/org.wezfurlong.wezterm.desktop`
* Configuration instructions can be [found here](../config/files.md)
## openSUSE Leap

Use Copr or build if from source.

=== "Arch"
## Arch Linux
Expand Down
1 change: 0 additions & 1 deletion get-deps
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ suse_deps() {
if [ "${CI}" == "yes" ] ; then
RESOLVE="--allow-downgrade"
fi
$ZYPPER install $RESOLVE -yl 'perl-FindBin' 'perl-File-Compare' || true
$ZYPPER install $RESOLVE -yl \
'make' \
'gcc' \
Expand Down

0 comments on commit 71c1c57

Please sign in to comment.