How To Install xwit on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 376 words
Introduction
In this tutorial we learn how to install xwit on Ubuntu.
What is xwit
xwit is:
xwit allows one to call some X11 functions from the command line or a shell script.
xwit will resize, iconify, pop, and move windows given by name or id, change an icon, title or name, set the screen saver going, and change individual key autorepeat settings, move the mouse cursor, etc.
There are three methods to install xwit 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 xwit Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install xwit using apt-get by running the following command:
sudo apt-get -y install xwit
Install xwit Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install xwit using apt by running the following command:
sudo apt -y install xwit
Install xwit 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 xwit using aptitude by running the following command:
sudo aptitude -y install xwit
How To Uninstall xwit on Ubuntu
To uninstall only the xwit package we can use the following command:
sudo apt-get remove xwit
Uninstall xwit And Its Dependencies
To uninstall xwit and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove xwit
Remove xwit Configurations and Data
To remove xwit configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge xwit
Remove xwit configuration, data, and all of its dependencies
We can use the following command to remove xwit configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xwit
Dependencies
xwit have the following dependencies:
References
Summary
In this tutorial we learn how to install xwit package on Ubuntu using different package management tools: apt, apt-get and aptitude.