How To Install wlr-randr on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 370 words
Introduction
In this tutorial we learn how to install wlr-randr
on Ubuntu.
What is wlr-randr
wlr-randr is:
Command line interface which allows setting the size, scale, orientation of the output for a screen. This is the wayland equivalent to xrandr under X11. This utility requires the compositor to implement the wlr output management protocol. Currently, only wlroots based compositor support this protocol.
There are three methods to install wlr-randr
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install wlr-randr Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install wlr-randr
using apt-get
by running the following command:
sudo apt-get -y install wlr-randr
Install wlr-randr Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install wlr-randr
using apt
by running the following command:
sudo apt -y install wlr-randr
Install wlr-randr Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install wlr-randr
using aptitude
by running the following command:
sudo aptitude -y install wlr-randr
How To Uninstall wlr-randr on Ubuntu
To uninstall only the wlr-randr
package we can use the following command:
sudo apt-get remove wlr-randr
Uninstall wlr-randr And Its Dependencies
To uninstall wlr-randr
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove wlr-randr
Remove wlr-randr Configurations and Data
To remove wlr-randr
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge wlr-randr
Remove wlr-randr configuration, data, and all of its dependencies
We can use the following command to remove wlr-randr
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wlr-randr
Dependencies
wlr-randr have the following dependencies:
References
Summary
In this tutorial we learn how to install wlr-randr
package on Ubuntu using different package management tools: apt, apt-get and aptitude.