Replies: 76 comments 165 replies
|
thank you for the guide! |
|
Maybe you could setup a Fedora Copr to build and publish the releases |
|
Can't get it to compile. I followed the above instructions - this is Fedora 36. libwayland-server is installed.
|
|
That's strange - I just pulled the latest version of Hyprland and was able to build it successfully. Maybe delete your Hyprland repo and re-clone - perhaps you cloned at a bad time or something (pretty unlikely). Otherwise I'm afraid I don't have any insight into your issue. You could check out the wiki and see if you can get it to compile using cmake instead of ninja. Edit to add: I ran xorg-x11-server-Xwayland-21.1.4-1.fc35.x86_64 Edit once more: I looked at the meson.build file for wlroots - it specifies a wayland-server version >= 1.20. You said you're running F36 so you're probably up to date, but you may want to check your package version. |
|
I am no Fedora expert, but you should use |
|
I'm no longer able to build Hyprland due to compiler errors. The reason is the recent switch to the C++23 standard and the use of I guess I've put off upgrading long enough, it may finally be time to do so. |
|
cant install it when i try to sudo make install i get this error [riot@localhost-live Hyprland]$ sudo make install |
|
Filling in: the following works in Fedora 36 for me. Using the command above from @bceric7 : and installing dev dependencies: Builds for me. |
|
Hey folks, I took a look at packaging hyprland to try it out on Fedora. It's available in this COPR repo. https://copr.fedorainfracloud.org/coprs/carlwgeorge/hyprland/ I'm not sure that I'll stick with it, but I'd like to avoid this packaging work going to waste. Would any of the hyprland developers be interested in becoming Fedora packagers to maintain an official Fedora hyprland package? I can see that @vaxerski co-maintains the AUR package, this would be a similar set up to that. The spec file I wrote already complies with the Fedora packaging guidelines. I can add it to Fedora and sponsor someone to co-maintain it to ensure it stays up to date. |
|
I get this error on Fedora 36; |
|
Anyone know how to update wayland-server i get |
|
Could annyone be a dear and make/maintain a copr package ? |
|
Hey, I got a compiler error when using a fully up-to-date Fedora 37 install. How would I fix this? I do have libwayland-server installed. |
|
FWIW until pixman Get the source at https://github.com/hyprwm/Hyprland/releases/tag/v0.17.0beta |
|
I tried building the 0.19.1 beta and I am struggling with meson _build I can't find it on the internet to build it myself. |
|
im using fedora 38 kernel version 6.4.15-200.fc38.x86_64 and tring to upgrade to the newest release which is supposedly better compatible with screen capture and routing when used with the new xdg-desktop-portal-hyprland 1.0 release. |
|
in case you have problems with the wayland-protocols version. check this: compile it and then check for new errors ! GL |
|
Hello, Does anyone have a thought on upgrading to Fedora 39 with hyprland installed? I'm running fedora 38 Mate Compiz-spin, but have more or less given up MATE for hyprland.. I don't want to upgrade and kill hyprland and all it's components. Thanks |
|
Not exactly Fedora but I got v0.17.0beta working on the latest version of RHEL (Rocky Linux 19.2) Manual build of: |
Fedora 39sudo dnf install hyprlandTo build from sourceDownload hyprland source code from releasesInstall libshwdataDownload hwdata source code from https://github.com/vcrhonek/hwdata/releases/ libdisplay-info
libliftoff
Build hyprlandCopy hyprland.conf to ~/.config/hyprLog out and open hyprland |
|
Just to update, it is likely that you need to install |
|
Actually if you are on Fedora 39, you can now just do |
|
As of 05/18/24, for anyone still wanting to build from source on Fedora, a current build issue seems to be able to be resolved by first building current release of wayland-protocols from source (Fedora package apparently not yet updated to the version needed to build Hyprland - referencing this issue.) |
|
Any one succeed building from source on fedora 40 for latest version 0.42.2 ? |
|
Reminder |
|
Thank guy for the tips |
|
not sure if it'll help, I'm on asahi and this is what i had to install to get to the next ninja -C build command (split into new lines to be read easier) |
|
solopasha/hyprland copr is dead, we need sb to start cooking |
|
I think, it would probably be better to add, or ask to be added (I think it can be done too), Hyprland to Terra Repositories instead of COPR. |
|
I extracted my scripts which build fedora from source, with minimal dependencies. I am and will be maintaing this. Since I swapped to fedora as my main OS. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The steps to build Hyprland on Fedora are relatively simple and very similar to the steps described in the wiki. The main difference is in the package names between Arch and Fedora. These steps were tested on Fedora 35 and Fedora 36 Workstation. This was done on a laptop using only an integrated Intel video driver - I don't have an AMD or Nvidia GPU to test with.
To begin, install the necessary packages:
sudo dnf install ninja-build cmake meson gcc-c++ libxcb-devel libX11-devel pixman-devel wayland-protocols-devel cairo-devel pango-develThis base set of packages will pull in all the required dependencies. You may also want to install
gdbif you intend to debug crashes.Then, download the Hyprland source:
git clone --recursive https://github.com/hyprwm/HyprlandThe
--recursiveargument is important - it will clone the required branch of wlroots into the subprojects directory. Note that compiling with the master branch of wlroots will cause compiler errors - you need the branch of wlroots with the modified structures.Now you're ready to build Hyprland. I used ninja for my build:
cd Hyprlandmeson _buildninja -C _buildsudo ninja -C _build installI may have some missing drivers on my system - the wlroots config couldn't enable the vulkan renderer. However, Hyprland seems to be working fine without it. Also, as far as I can tell, Fedora doesn't have an
xcb-errorspackage, so the wlroots config won't be able to find this, either.There were some compiler warnings during the build, but no errors.
You can try building with cmake instead as described in the wiki, but I like ninja myself, so I went for that first.
At this point, Hyprland will be installed. However, on my system at least, I needed to install the Hyprland.desktop session file somewhere that gdm could find it, because it appears gdm doesn't look in /usr/local/share/wayland-sessions:
sudo cp /usr/local/share/wayland-sessions/hyprland.desktop /usr/share/wayland-sessionsFinally, copy the sample config file into place:
mkdir -p ~/.config/hyprcp example/hyprland.conf ~/.config/hyprEdit the config file to match your system, and then log out. Hyprland should show up as a selectable option in gdm - note that it may not if gdm is running in an X session instead of Wayland, so check
/etc/gdm/custom.confand make sure Wayland is enabled. There's a note in the wiki about Hyprland crashing the first time it's launched from gdm, but I didn't see this - Hyprland worked the first time.Thanks to @vaxerski for making such a cool window manager!
All reactions