Install Zellij on Fedora With Cargo

󰃭 2024-11-13

How to install zellij on Fedora Linux using cargo

As it is said on zellij webiste:

Zellij is a terminal workspace. It has the base functionality of a terminal multiplexer (similar to tmux or screen) but includes many built-in features that would allow users to extend it and create their own personalized environment.

So, if you’re looking for a modern screen or tmux replacement look no further.

Installation

To get the latest version, it is best to install directly from cargo and in order to do so on Fedora Linux, we need to install some dependencies.

  1. First, install cargo using rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Then, install development dependencies using dnf:
sudo dnf group install c-development development-tools
  1. In order to build zellij from cargo, we also need two perl libraries:
sudo dnf install perl-FindBin perl-IPC-Cmd
  1. Finnaly:
cargo install --locked zellij

Now grab a cup of cofee ☕️ and wait while it builds.

Conclusion

I hope that you find this short post usefull. Happy hacking! 👩‍💻