Getting Started/Installation: update Ubuntu installation (#760)

This commit is contained in:
Ja.KooLit 2024-09-24 03:21:27 +08:00 committed by GitHub
parent fb42fe42ab
commit 76476c2032
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 3 deletions

View File

@ -174,19 +174,40 @@ Hyprland and related are in the default repository:
{{% details title="Ubuntu*" closed="true" %}} {{% details title="Ubuntu*" closed="true" %}}
Hyprland made it into the universe repos 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
``` ```
Build dependencies:
{{< callout type=info >}}
NOTE: Above is for Ubuntu 24.10 (Unreleased) version
{{< /callout >}}
For installing Hyprland from Source, install first the dependencies below:
```bash ```bash
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 xdg-desktop-portal-wlr 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`
```bash
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_
See
[The xdph Github repo's readme](https://github.com/hyprwm/xdg-desktop-portal-hyprland).
Refer to
[XDPH](../../Hypr-Ecosystem/xdg-desktop-portal-hyprland) for more information
for more info refer to the 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)