How to Install and Uninstall wireguard Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: March 29,2024

1. Install "wireguard" package

Please follow the step by step instructions below to install wireguard on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install wireguard

2. Uninstall "wireguard" package

Please follow the steps below to uninstall wireguard on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the wireguard package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: wireguard
Architecture: all
Version: 1.0.20200513-1~18.04.2
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Daniel Kahn Gillmor
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: wireguard-dkms (>= 0.0.20200121-2) | wireguard-modules (>= 0.0.20191219), wireguard-tools (>= 1.0.20200513-1~18.04.2)
Filename: pool/universe/w/wireguard/wireguard_1.0.20200513-1~18.04.2_all.deb
Size: 3268
MD5sum: 3e897d2f4b9f1383e5d6dd888c8a2b79
SHA1: 1a2a0ec5a7e1d6d5780c7c90df4721c956cad503
SHA256: 0cba1caef46d3fb9a8974d49d74b4a34d2a034bc09f7eccaaad55f0aba641770
SHA512: 9668563f985fde4267004b64bbf7ed41697bb85b959bfc8a90d398fef7eebdec1a2f911c140e9c00cdcf7904761c7e97b7cbcc55cefb264f531d6109201f500b
Homepage: https://www.wireguard.com
Description: fast, modern, secure kernel VPN tunnel (metapackage)
Description-md5: bd6dd7a30cf34800a40219e3d2df9dc3