Ly is a free, open-source, minimalistic, and lightweight terminal-based display manager for Linux.
Ly is a great alternative to those who are used to staring at the terminal window all day.
Let us now discuss how to install it on Debian 11.
The first step is to refresh the repository cache and update the packages. We can do this using the commands:
$ sudo apt-get update
$ sudo apt-get upgrade
Once completed, we can proceed with the installation.
To install ly, we will require a few dependencies. For simplicity, run the command below:
$ sudo apt-get install build-essential libpam0g-dev libxcb-xkb-dev git -y
The next step is to install the ly display manager. Start by opening your terminal window and clone the repository as shown below:
git clone –recurse-submodules https://github.com/nullgemm/ly.git
Once completed, navigate into the directory.
Run the compile command as shown:
<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/06/echo/image1-5.png" data-lazy- height="504" src="data:image/svg xml,” width=”880″>
Once the compilation is complete, run the command below to test the display manager in your current tty session.
If successful, you should see a window as shown:
<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2022/06/echo/image2-5.png" data-lazy- height="430" src="data:image/svg xml,” width=”1062″>
Press CTRL C to exit to your terminal window.
The next step is to install Ly and its systemd service. The command is as shown:
Once installed, run the command below to enable the systemd service.
$ sudo systemctl enable ly
NOTE: You may need to uninstall your current dm to make this work.
This short article covers how to install the ly display manager on your Debian 11 installation. Check the docs to learn more.
About the author
<img data-del="avatar" data-lazy-src="https://kirelos.com/wp-content/uploads/2022/06/echo/john-150×150.png62998549ab3d5.jpg" height="112" src="data:image/svg xml,” width=”112″>
My name is John and am a fellow geek like you. I am passionate about all things computers from Hardware, Operating systems to Programming. My dream is to share my knowledge with the world and help out fellow geeks. Follow my content by subscribing to LinuxHint mailing list