Ways to Uninstall and Install sway-backgrounds on Ubuntu 22.04

Updated: October 29, 2022

sway (SirCmpwn’s Wayland compositor) is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It works with your existing i3 configuration and supports most of i3’s features, plus a few extras. This means it is a minimalist, tiling window manager. I will show you how to install sway-backgrounds on Ubuntu 22.04 in this guide.

Requirements

  • Operating system: Ubuntu 22.04 is needed for sway-backgrounds to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install sway-backgrounds on Ubuntu 22.04

Install sway-backgrounds Ubuntu 22.04

sway-backgrounds is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install sway-backgrounds using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get sway-backgrounds on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install sway-backgrounds Ubuntu by executing this command in the terminal.

sudo apt-get install sway-backgrounds

Install sway-backgrounds using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt install aptitude

Then, you can now install sway-backgrounds by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install sway-backgrounds Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install sway-backgrounds

Uninstall sway-backgrounds on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just sway-backgrounds.

You can uninstall sway-backgrounds Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove sway-backgrounds

If you want to uninstall sway-backgrounds and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge sway-backgrounds

Conclusion

In this tutorial, I showed you ways to install sway-backgrounds on Ubuntu 22.04 and ways to uninstall sway-backgrounds too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.