How to Install and Uninstall sway Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 04,2024

1. Install "sway" package

This guide covers the steps necessary to install sway on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install sway

2. Uninstall "sway" package

Please follow the steps below to uninstall sway on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove sway $ sudo apt autoclean && sudo apt autoremove

3. Information about the sway package on Ubuntu 20.04 LTS (Focal Fossa)

Package: sway
Architecture: amd64
Version: 1.4-2
Priority: optional
Section: universe/x11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sway and related packages team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 806
Depends: libgl1-mesa-dri, swaybg, libc6 (>= 2.28), libcairo2 (>= 1.10.0), libevdev2 (>= 0.9.1), libgdk-pixbuf2.0-0 (>= 2.31.1), libgles2, libglib2.0-0 (>= 2.12.0), libinput10 (>= 1.6.0), libjson-c4 (>= 0.13.1), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.22.0), libpcre3, libpixman-1-0 (>= 0.25.2), libsystemd0 (>= 243), libwayland-client0 (>= 1.9.91), libwayland-cursor0 (>= 1.0.2), libwayland-server0 (>= 1.14.91), libwlroots5 (>= 0.10.0), libxcb1, libxkbcommon0 (>= 0.7.0)
Recommends: suckless-tools, sway-backgrounds, x-terminal-emulator
Suggests: swayidle, swaylock
Filename: pool/universe/s/sway/sway_1.4-2_amd64.deb
Size: 278484
MD5sum: 8a35cb6d8bec2955af8cab39bfc27e63
SHA1: 4f2ac1bfb87a071eaae98c16eda39aa593e22e00
SHA256: abf6029d88d936738c680b98aee4f05fa2c29b754394faee3775e13ad291039b
Homepage: http://swaywm.org
Description: i3-compatible Wayland compositor
Description-md5: 79878be35b16de04754780f02aa6eb5c