Installation/Ubuntu: fix formatting

This commit is contained in:
Mihai Fufezan 2024-10-13 13:43:32 +03:00
parent 7d729edba9
commit 7866da0255
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -59,11 +59,13 @@ from source first.
{{% details title="Arch" closed="true" %}} {{% details title="Arch" closed="true" %}}
Install from the AUR, which compiles the latest source: Install from the AUR, which compiles the latest source:
```shell ```shell
yay -S hyprland-git yay -S hyprland-git
``` ```
or a tagged release from the arch packages: or a tagged release from the arch packages:
```shell ```shell
sudo pacman -S hyprland sudo pacman -S hyprland
``` ```
@ -98,6 +100,7 @@ sudo zypper in hyprland
or install the "hyprland" package via YaST2 Software. or install the "hyprland" package via YaST2 Software.
For `hyprpm` to recognize it's dependencies, you'll also need to install `hyprland-devel`: For `hyprpm` to recognize it's dependencies, you'll also need to install `hyprland-devel`:
```sh ```sh
sudo zypper in hyprland-devel sudo zypper in hyprland-devel
``` ```
@ -135,6 +138,7 @@ Hyprland recently made it into the SID and trixie repos and can be installed wit
```sh ```sh
sudo apt install hyprland sudo apt install hyprland
``` ```
Note: Even though Hyprland is in the trixie repos, it is still recommended to install from SID, as some dependencies in the trixie repo are outdated. Note: Even though Hyprland is in the trixie repos, it is still recommended to install from SID, as some dependencies in the trixie repo are outdated.
Alternatively, you can also follow the instructions under Alternatively, you can also follow the instructions under
@ -193,7 +197,8 @@ Hyprland and related are in the default repository:
{{% details title="Ubuntu*" closed="true" %}} {{% details title="Ubuntu*" closed="true" %}}
Hyprland made it into the Ubuntu 24.10 Oracular Oriole universe repo and can be installed with Hyprland made it into the Ubuntu 24.10 Oracular Oriole universe repo and can be installed with
```bash ```bash
sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install -y hyprland sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install -y hyprland
``` ```
@ -210,8 +215,8 @@ For installing Hyprland from Source, install first the dependencies below:
sudo apt-get install -y meson wget build-essential ninja-build cmake-extras cmake gettext gettext-base fontconfig libfontconfig-dev libffi-dev libxml2-dev libdrm-dev libxkbcommon-x11-dev libxkbregistry-dev libxkbcommon-dev libpixman-1-dev libudev-dev libseat-dev seatd libxcb-dri3-dev libegl-dev libgles2 libegl1-mesa-dev glslang-tools libinput-bin libinput-dev libxcb-composite0-dev libavutil-dev libavcodec-dev libavformat-dev libxcb-ewmh2 libxcb-ewmh-dev libxcb-present-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-res0-dev libxcb-xinput-dev libtomlplusplus3 sudo apt-get install -y meson wget build-essential ninja-build cmake-extras cmake gettext gettext-base fontconfig libfontconfig-dev libffi-dev libxml2-dev libdrm-dev libxkbcommon-x11-dev libxkbregistry-dev libxkbcommon-dev libpixman-1-dev libudev-dev libseat-dev seatd libxcb-dri3-dev libegl-dev libgles2 libegl1-mesa-dev glslang-tools libinput-bin libinput-dev libxcb-composite0-dev libavutil-dev libavcodec-dev libavformat-dev libxcb-ewmh2 libxcb-ewmh-dev libxcb-present-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-res0-dev libxcb-xinput-dev libtomlplusplus3
``` ```
you will also need to build the latest wayland, wayland-protocols, and You will also need to build the latest wayland, wayland-protocols, and
libdisplay-info tagged releases from source libdisplay-info tagged releases from source.
For screensharing, you can also `install xdg-desktop-portal-wlr` or `xdg-desktop-portal-hyprland` For screensharing, you can also `install xdg-desktop-portal-wlr` or `xdg-desktop-portal-hyprland`
@ -222,13 +227,10 @@ sudo apt-get install -y xdg-desktop-portal-wlr
_Unfortunately, `xdg-desktop-portal-hyprland` still not in Ubuntu Repo so you have to build it from source_ _Unfortunately, `xdg-desktop-portal-hyprland` still not in Ubuntu Repo so you have to build it from source_
See See
[The xdph GitHub repo's readme](https://github.com/hyprwm/xdg-desktop-portal-hyprland). [The xdph GitHub repo's readme](https://github.com/hyprwm/xdg-desktop-portal-hyprland). Refer to
[XDPH](../../Hypr-Ecosystem/xdg-desktop-portal-hyprland) and
Refer to
[XDPH](../../Hypr-Ecosystem/xdg-desktop-portal-hyprland) for more information
for more info refer to the
[Ubuntu Guide For Installing And Building Hyprland Gist](https://gist.github.com/Vertecedoc4545/3b077301299c20c5b9b4db00f4ca6000) [Ubuntu Guide For Installing And Building Hyprland Gist](https://gist.github.com/Vertecedoc4545/3b077301299c20c5b9b4db00f4ca6000)
for more information.
{{< callout type=warning >}} {{< callout type=warning >}}
@ -244,10 +246,11 @@ Always use the latest version of Ubuntu for the most up to date dependencies.
Note: Your mileage may vary, as GDM has some bugs with Hyprland. Check the [Master Tutorial](../Master-Tutorial) for more info. Note: Your mileage may vary, as GDM has some bugs with Hyprland. Check the [Master Tutorial](../Master-Tutorial) for more info.
{{< /callout >}}
Refer to the gist if anything fails. Refer to the gist if anything fails.
<!-- For some reason uncommenting the line below creates an unwanted <pre><div></pre> in the page. -->
<!-- {{< /callout >}} -->
{{% /details %}} {{% /details %}}
{{% details title="Void Linux*" closed="true" %}} {{% details title="Void Linux*" closed="true" %}}
@ -307,7 +310,7 @@ http://dl-cdn.alpinelinux.org/alpine/edge/testing
This will only work on Alpine linux edge, not on any stable release. For use on stable releases, see the [Alpine wiki](https://wiki.alpinelinux.org/wiki/Repositories#Using_the_testing_repository_on_stable_branches) This will only work on Alpine linux edge, not on any stable release. For use on stable releases, see the [Alpine wiki](https://wiki.alpinelinux.org/wiki/Repositories#Using_the_testing_repository_on_stable_branches)
After enabling the repository, the following command will install hyprland and its dependencies. After enabling the repository, the following command will install hyprland and its dependencies.
```plain ```plain
apk add hyprland apk add hyprland