How to Install and Uninstall sway Package on Debian 12 (Bookworm)

Last updated: November 05,2024

1. Install "sway" package

Please follow the instructions below to install sway on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install sway

2. Uninstall "sway" package

This tutorial shows how to uninstall sway on Debian 12 (Bookworm):

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

3. Information about the sway package on Debian 12 (Bookworm)

Package: sway
Version: 1.7-6
Installed-Size: 875
Maintainer: Sway and related packages team
Architecture: amd64
Depends: libgl1-mesa-dri, swaybg, polkitd, libc6 (>= 2.34), libcairo2 (>= 1.10.0), libevdev2 (>= 0.9.1), libgdk-pixbuf-2.0-0 (>= 2.31.1), libgles2, libglib2.0-0 (>= 2.12.0), libinput10 (>= 1.6.0), libjson-c5 (>= 0.15), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.22.0), libpcre2-8-0 (>= 10.22), libpixman-1-0 (>= 0.25.2), libsystemd0 (>= 243), libudev1 (>= 183), libwayland-client0 (>= 1.20.0), libwayland-cursor0 (>= 1.20.0), libwayland-server0 (>= 1.20.0), libwlroots10 (>= 0.15.0), libxcb1, libxkbcommon0 (>= 0.7.0)
Recommends: suckless-tools, sway-backgrounds, foot
Suggests: swayidle, swaylock, xdg-desktop-portal-wlr
Description: i3-compatible Wayland compositor
Description-md5: 79878be35b16de04754780f02aa6eb5c
Homepage: http://swaywm.org
Section: x11
Priority: optional
Filename: pool/main/s/sway/sway_1.7-6_amd64.deb
Size: 309364
MD5sum: 27b6866f1835f0ac9abb344a3fb1db56
SHA256: 0ea541540d7d6ab1c520ce8f8ace7892d07454c99d62375392f47045d213e8d6