![Hostnbit](https://tutorialspoint.co.uk/wp-content/uploads/2023/10/hostnbit-ad.gif)
Introduction
In this tutorial we learn how to install flwm
on Ubuntu 22.04.
What is flwm
flwm is:
Flwm is an attempt to combine the best ideas from several
window managers. The primary influence and code base is from
wm2 by Chris Cannam. Primary features copied from wm2 are:
- Does not look like Windows.
- Nifty sideways title bars.
- No icons. You deiconify by picking off a pop-up menu.
This means no space is wasted by icons. - Really small and fast code.
It is enhanced by the author’s own further nutty ideas:
- Does not use shape extension, more standard resize handles.
- Occupies as little screen space as possible. The border and titles
are as thin as you could possibly make them. And maximized
windows waste only 15 pixels horizontally and zero (count’em)
pixels vertically! - Independent maximize buttons for width & height, close button.
- Understands Motif, KDE, and GNOME window manager hints.
- Multiple desktops, controlled from the same menu as the icons.
The recommended packages are needed to generate flwm’s application
menus:
- For the old style debian-specific menu: menu
- For the FreeDesktop menu based on .desktop files:
libfile-desktopentry-perl, libfile-which-perl,
libpath-tiny-perl, libset-scalar-perl, and perl.
There are three methods to install flwm
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install flwm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install flwm
using apt-get
by running the following command:
sudo apt-get -y install flwm
Install flwm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install flwm
using apt
by running the following command:
sudo apt -y install flwm
Install flwm 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 flwm
using aptitude
by running the following command:
sudo aptitude -y install flwm
How To Uninstall flwm on Ubuntu 22.04
To uninstall only the flwm
package we can use the following command:
sudo apt-get remove flwm
Uninstall flwm And Its Dependencies
To uninstall flwm
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove flwm
Remove flwm Configurations and Data
To remove flwm
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge flwm
Remove flwm configuration, data, and all of its dependencies
We can use the following command to remove flwm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge flwm
References
Summary
In this tutorial we learn how to install flwm
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.
![Hostnbit](https://tutorialspoint.co.uk/wp-content/uploads/2023/09/hosting-banner-hp-1-jpg.webp)