Installation: Add Chaotic AUR and `downgrade` mention (#731)

This commit is contained in:
Visual-Dawg 2024-08-06 15:01:55 +03:00 committed by GitHub
parent 2ce70d25af
commit aa64f5c87b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 9 deletions

View File

@ -42,6 +42,10 @@ hyprland-git (AUR) - compiles from latest source
hyprland - binary x86 tagged release hyprland - binary x86 tagged release
``` ```
If you decide to use the `git` version from the AUR, you can use the [Chaotic Aur](https://aur.chaotic.cx/) to get pre-built binaries.
In case of errors you can downgrade easily with [downgrade](https://github.com/archlinux-downgrade/downgrade).
{{% /details %}} {{% /details %}}
{{% details title="Nix" closed="true" %}} {{% details title="Nix" closed="true" %}}
@ -191,6 +195,7 @@ You can add this repository by creating a file such as `/etc/xbps.d/hyprland-voi
```plain ```plain
repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc
``` ```
Then you can install the packages as you would any other: Then you can install the packages as you would any other:
```sh ```sh
@ -200,6 +205,7 @@ sudo xbps-install -S xdg-desktop-portal-hyprland
xbps-query -Rs hypr # This will require you to have already accepted the repository's fingerprint using xbps-install -S xbps-query -Rs hypr # This will require you to have already accepted the repository's fingerprint using xbps-install -S
``` ```
More information is available in the [hyprland-void README](https://github.com/Makrennel/hyprland-void/blob/master/README.md), including information about how you can [manually build](https://github.com/Makrennel/hyprland-void?tab=readme-ov-file#manually-building) Hyprland for Void Linux using the templates provided. More information is available in the [hyprland-void README](https://github.com/Makrennel/hyprland-void/blob/master/README.md), including information about how you can [manually build](https://github.com/Makrennel/hyprland-void?tab=readme-ov-file#manually-building) Hyprland for Void Linux using the templates provided.
{{% /details %}} {{% /details %}}
@ -286,12 +292,13 @@ to pass `-stdlib=libstdc++` or switch to GCC.
{{< callout type=warning >}} {{< callout type=warning >}}
Additionally to those, you will also need a few hypr* dependencies which may or may not be Additionally to those, you will also need a few hypr\* dependencies which may or may not be
packaged for your distro of choice: packaged for your distro of choice:
- aquamarine
- hyprlang - aquamarine
- hyprcursor - hyprlang
- hyprwayland-scanner (build-only) - hyprcursor
- hyprwayland-scanner (build-only)
{{< /callout >}} {{< /callout >}}
@ -384,10 +391,12 @@ Lastly, copy hyprctl, hyprpm, etc as mentioned
[here](#manual-releases-linux-only) [here](#manual-releases-linux-only)
## Running In a VM ## Running In a VM
*YMMV, this is not officially supported.*
_YMMV, this is not officially supported._
Read through the [libvirt Arch wiki page](https://wiki.archlinux.org/title/Libvirt) Read through the [libvirt Arch wiki page](https://wiki.archlinux.org/title/Libvirt)
and get `libvirt`, `virsh`, and `virt-viewer` setup and installed. and get `libvirt`, `virsh`, and `virt-viewer` setup and installed.
```sh ```sh
# Install libvirt and qemu things. # Install libvirt and qemu things.
sudo pacman -S libvirt virt-viewer qemu-common sudo pacman -S libvirt virt-viewer qemu-common
@ -400,12 +409,14 @@ systemctl enable --now libvirtd
Go to the [arch-boxes gitlab](https://gitlab.archlinux.org/archlinux/arch-boxes/-/packages) Go to the [arch-boxes gitlab](https://gitlab.archlinux.org/archlinux/arch-boxes/-/packages)
and download the latest arch qemu basic image. You can also download via any of and download the latest arch qemu basic image. You can also download via any of
arch's mirrors. arch's mirrors.
```sh ```sh
curl https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2 \ curl https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2 \
-o ~/Downloads/arch-qemu.qcow2 # Or download wherever you want. -o ~/Downloads/arch-qemu.qcow2 # Or download wherever you want.
``` ```
Create the VM with virsh. Create the VM with virsh.
```sh ```sh
# Use virt-install (included with libvirt) to install the vm from the image. # Use virt-install (included with libvirt) to install the vm from the image.
virt-install \ virt-install \
@ -425,13 +436,14 @@ the tty. The default login is 'arch' for user and 'arch' for password.
Make sure the --attach flag is used, enabling virgl makes it so that Make sure the --attach flag is used, enabling virgl makes it so that
we had to disable listen. This means that we can't make a direct TCP/UNIX we had to disable listen. This means that we can't make a direct TCP/UNIX
socket connection to the remote display. --attach asks libvirt to provide a socket connection to the remote display. --attach asks libvirt to provide a
pre-connected socket to the display.* pre-connected socket to the display.\*
{{</ callout >}} {{</ callout >}}
```sh ```sh
virt-viewer --attach hypr-vm virt-viewer --attach hypr-vm
``` ```
Finally on the guest follow the instructions above for either [installing Finally on the guest follow the instructions above for either [installing
hyprland-git from the aur](#installation) or [building manually](#manual-manual-build). hyprland-git from the aur](#installation) or [building manually](#manual-manual-build).