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

Last updated: December 21,2024

1. Install "wireguard" package

Learn how to install wireguard on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install wireguard

2. Uninstall "wireguard" package

Please follow the guidelines below to uninstall wireguard on Debian 12 (Bookworm):

$ sudo apt remove wireguard $ sudo apt autoclean && sudo apt autoremove

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

Package: wireguard
Version: 1.0.20210914-1
Installed-Size: 17
Maintainer: Daniel Kahn Gillmor
Architecture: all
Depends: wireguard-modules (>= 0.0.20191219) | wireguard-dkms (>= 0.0.20200121-2), wireguard-tools (>= 1.0.20210914-1)
Description: fast, modern, secure kernel VPN tunnel (metapackage)
Description-md5: bd6dd7a30cf34800a40219e3d2df9dc3
Homepage: https://www.wireguard.com
Section: net
Priority: optional
Filename: pool/main/w/wireguard/wireguard_1.0.20210914-1_all.deb
Size: 8216
MD5sum: ee7efc6d5057b8cb55dda3dd2206d9df
SHA256: c899b62f68c34b453eb8c5e5f8b755161a1927659b46d73012f6fd76af9b9efd