How to Install and Uninstall wireguard Package on Debian 11 (Bullseye)

Last updated: July 14,2024

1. Install "wireguard" package

Please follow the instructions below to install wireguard on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install wireguard

2. Uninstall "wireguard" package

Please follow the guidance below to uninstall wireguard on Debian 11 (Bullseye):

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

3. Information about the wireguard package on Debian 11 (Bullseye)

Package: wireguard
Version: 1.0.20210223-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.20210223-1)
Description: fast, modern, secure kernel VPN tunnel (metapackage)
Description-md5: bd6dd7a30cf34800a40219e3d2df9dc3
Section: net
Priority: optional
Filename: pool/main/w/wireguard/wireguard_1.0.20210223-1_all.deb
Size: 8164
MD5sum: fa92e03f62c6d6528cc770a9e97a141a
SHA256: d07b7f466a90a232f7a8a1750bbf7e5872555d41854789fc0eb6b4f0538b6ebf