Wiki

Clone wiki

devoops / Lubuntu

Notes about Lubuntu 22.04 LTS

VirtualBox Setup

I usually run my Linux boxes as VirtualBox guests.

Kernel 5.15 requires VirtualBox 6.1.28 or better.

  • Display > Video Memory > 128 MB
  • View > Auto-resize Guest Display > enabled

Install VirtualBox guest additions:

# Install software required to compile additions
sudo apt install -y gcc make

# mount additions CD
# VirtualBox Menu > Devices > Insert Guest Additions CD Image ...
cd /media/jani/VBox_GAs_6.1.34
sudo ./VBoxLinuxAdditions.run
sudo reboot

Give an user access to shared folders:

sudo usermod -aG vboxsf <USER>
# logout required

BE EXTRA CAREFUL TO USE -A FLAG OR YOU'LL REMOVE THE USER FROM THE SUDO GROUP. YOU CAN ADD IT BACK ONLY IN RECOVERY MODE, BUT THAT'S A BIT HARD TO BOOT IN VIRTUALBOX.

apt

# upgrade all installed packages
sudo apt update && apt list --upgradable
sudo apt upgrade

snap

# list all updateable packages
snap refresh --list
# update all updateable packages
sudo snap refresh

Alternatives System

update-alternatives --display <LINK_GROUP>
update-alternatives --list <LINK_GROUP>
sudo update-alternatives --config <LINK_GROUP>

AWK

Lubuntu has mawk by default (i.e. awk points to mawk). Install GNU AWK manually:

sudo apt install gawk

This also sets the default awk to gawk. Use alternatives system to change the default.

Updated