download from
https://github.com/hyprwm/Hyprland/releases
mkdir ~/opt/
cd ~/opt/
curl -LO https://github.com/hyprwm/Hyprland/releases/download/v0.21.0beta/v0.21.0beta.tar.gz
7z x v0.21.0beta.tar.gz
7z x v0.21.0beta.tar
readelf -d Hyprland
0x000000000000001d (RUNPATH) Library runpath: [/__w/Hyprland/Hyprland/subprojects/wlroots/build]
patchelf --print-rpath Hyprland
/__w/Hyprland/Hyprland/subprojects/wlroots/build
./Hyprland
./Hyprland: error while loading shared libraries: libxcb-errors.so.0: cannot open shared object file: No such file or directory
patchelf --replace-needed libwlroots.so.12032 ./libwlroots.so.12032 Hyprland
this will make Hyprland run only when u cd to that path i.e cd ~/opt/hyprland
skip this and use launcher
nano ~/.local/bin/hyp
export LD_LIBRARY_PATH=$HOME/opt/hyprland/
./Hyprland
./Hyprland
./Hyprland: error while loading shared libraries: libxcb-errors.so.0: cannot open shared object file: No such file or directory
dnf whatprovides libxcb-errors.so.0
nothing provides libxcb-errors.so.0
so lets delete it
sudo dnf install patchelf
patchelf --remove-needed libxcb-errors.so.0 libwlroots.so.12032
patchelf --remove-needed libxcb-errors.so.0 Hyprland
sudo dnf install libglvnd-opengl
dnf whatprovides OpenGL.so.0 libglvnd-opengl
cp config/hyperland.conf ~/.config/hypr/hyprland.conf
ln -s ~/opt/hyprland/Hyprland ~/.local/bin/
ln -s ~/opt/hyprland/hyprctl ~/.local/bin/
Hyprland
Comments
Post a Comment