How to install Hyprland on Fedora [FULL GUIDE] Fedora + Hyprland 💜 | Dotfiles in Description.
Table of Contents
Introduction
This tutorial provides a straightforward guide on how to install Hyprland on Fedora. Hyprland is a dynamic tiling Wayland compositor that offers a modern and efficient desktop environment. This guide will walk you through the installation process, making it accessible for both beginners and experienced users.
Step 1: Prepare Your System
Before installing Hyprland, ensure your Fedora system is up to date and has the necessary packages.
-
Update your system: Open a terminal and run:
sudo dnf update
-
Install required dependencies: You need to install some essential packages. Execute the following command:
sudo dnf install git gcc cmake pkgconfig wayland-devel xorg-x11-server-devel
Step 2: Install Hyprland
Now that your system is prepared, you can proceed to install Hyprland.
-
Clone the Hyprland repository: Navigate to your home directory and clone the Hyprland GitHub repository:
git clone https://github.com/hyprland/hyprland.git
-
Navigate to the Hyprland directory: Change to the directory of the cloned repository:
cd hyprland
-
Build and install Hyprland: Run the following commands to compile and install Hyprland:
make sudo make install
Step 3: Configure Hyprland
After installation, you need to configure Hyprland to suit your preferences.
-
Create a configuration directory: Make a new directory for Hyprland configurations:
mkdir -p ~/.config/hypr
-
Copy the default configuration: Copy the example configuration file to your config directory:
cp /usr/share/hypr/hyprland.conf ~/.config/hypr/
-
Edit the configuration file: Open the configuration file in your preferred text editor:
nano ~/.config/hypr/hyprland.conf
Modify the settings according to your preferences.
Step 4: Start Hyprland
Once configured, you can start using Hyprland.
- Log out of your current session.
- Select Hyprland from the session options on the login screen.
- Log in to your Hyprland session.
Conclusion
You have successfully installed and configured Hyprland on your Fedora system. Remember to customize your configuration further to optimize your workflow. If you encounter issues, refer to the Hyprland documentation or the community forums for support. Happy tiling!