Replies: 71 comments 163 replies
-
thank you for the guide! |
Beta Was this translation helpful? Give feedback.
-
Maybe you could setup a Fedora Copr to build and publish the releases |
Beta Was this translation helpful? Give feedback.
-
Can't get it to compile. I followed the above instructions - this is Fedora 36. libwayland-server is installed.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I am no Fedora expert, but you should use |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
cant install it when i try to sudo make install i get this error [riot@localhost-live Hyprland]$ sudo make install |
Beta Was this translation helpful? Give feedback.
-
Filling in: the following works in Fedora 36 for me. Using the command above from @bceric7 :
and installing dev dependencies:
Builds for me.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I get this error on Fedora 36; |
Beta Was this translation helpful? Give feedback.
-
Anyone know how to update wayland-server i get |
Beta Was this translation helpful? Give feedback.
-
Could annyone be a dear and make/maintain a copr package ? |
Beta Was this translation helpful? Give feedback.
-
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.
|
Beta Was this translation helpful? Give feedback.
-
FWIW until pixman Get the source at https://github.com/hyprwm/Hyprland/releases/tag/v0.17.0beta |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
i would recommend to enable this copr and download hyprland-git works perfectly |
Beta Was this translation helpful? Give feedback.
-
Hyprland now requires wayland-protocols 1.32 which is not available in Fedora 38 yet. |
Beta Was this translation helpful? Give feedback.
-
@gergelypolonkai There is a tutorial to compile the wayland-protocols from source https://www.linuxfromscratch.org/blfs/view/svn/general/wayland-protocols.html |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Anyone who sees this I recommend using this: https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/ All these packages are available:
|
Beta Was this translation helpful? Give feedback.
-
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.
|
Beta Was this translation helpful? Give feedback.
-
in case you have problems with the wayland-protocols version. check this: compile it and then check for new errors ! GL |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Not exactly Fedora but I got v0.17.0beta working on the latest version of RHEL (Rocky Linux 19.2) Manual build of: |
Beta Was this translation helpful? Give feedback.
-
Fedora 39sudo dnf install hyprland To build from sourceDownload hyprland source code from releasesInstall libs
hwdataDownload hwdata source code from https://github.com/vcrhonek/hwdata/releases/
libdisplay-info
libliftoff
Build hyprland
Copy hyprland.conf to ~/.config/hypr
Log out and open hyprland |
Beta Was this translation helpful? Give feedback.
-
Just to update, it is likely that you need to install |
Beta Was this translation helpful? Give feedback.
-
Actually if you are on Fedora 39, you can now just do
|
Beta Was this translation helpful? Give feedback.
-
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.) |
Beta Was this translation helpful? Give feedback.
-
Any one succeed building from source on fedora 40 for latest version 0.42.2 ? |
Beta Was this translation helpful? Give feedback.
-
Reminder |
Beta Was this translation helpful? Give feedback.
-
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-devel
This base set of packages will pull in all the required dependencies. You may also want to install
gdb
if you intend to debug crashes.Then, download the Hyprland source:
git clone --recursive https://github.com/hyprwm/Hyprland
The
--recursive
argument 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 Hyprland
meson _build
ninja -C _build
sudo ninja -C _build install
I 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-errors
package, 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-sessions
Finally, copy the sample config file into place:
mkdir -p ~/.config/hypr
cp example/hyprland.conf ~/.config/hypr
Edit 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.conf
and 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!
Beta Was this translation helpful? Give feedback.
All reactions