System Requirements
WireGuird requires the following to run properly:- Operating System: Ubuntu 18.04+, Linux Mint 21.1+, or compatible Debian-based distribution
- Desktop Environment: GNOME, XFCE, KDE, or any DE with system tray support
- Root Access: Required for managing WireGuard tunnels
- Dependencies: GTK+3, WireGuard tools, and system libraries
Installation Methods
Choose the installation method that best suits your needs:- Pre-built Package (Recommended)
- Build from Source
Download Pre-built .deb Package
The easiest way to install WireGuird is using the pre-built.deb package for your Ubuntu version.Choose Your Version
Select the appropriate package for your Ubuntu/Linux Mint version:v1.1.0 - For Ubuntu 23.04:v1.0.0 - For Ubuntu 22.04 LTS, 22.10, and Linux Mint 21.1:v0.2.0 - For Ubuntu 18.04 LTS, 20.04 LTS, and 21.04:
Each release is tested specifically for the listed Ubuntu versions. Using the correct version ensures compatibility with your system’s GTK libraries.
Install the Package
Install the downloaded If you encounter dependency errors, resolve them with:This command installs any missing dependencies automatically.
.deb package using dpkg:What Gets Installed
The.deb package installs:- Binary: The WireGuird executable
- Icons: Application icons in
/opt/wireguird/Icon/ - Desktop Entry:
.desktopfile for application launcher - Dependencies: All required system libraries
Post-Installation Setup
Prepare WireGuard Directory
WireGuird reads tunnel configurations from/etc/wireguard/. Ensure this directory exists with proper permissions:
Configure WireGuard
If you don’t have WireGuard configured yet:First Launch
Launch WireGuird for the first time:WireGuird must be run with
sudo because it executes wg-quick commands that require root privileges to modify network interfaces.- From Application Menu: Search for “Wireguird” in your application launcher
- Desktop Entry: Click the WireGuird icon if your DE auto-detected it
- System Tray: If “Start on Tray” is enabled, the application launches minimized
Create Desktop Launcher with sudo
To avoid typingsudo each time, create a desktop launcher:
pkexec provides a graphical password prompt, making it easier to launch WireGuird with root privileges from the application menu.Updating WireGuird
Check for Updates
WireGuird can automatically check for updates (configurable in Settings). When an update is available, you’ll see a notification dialog (gui/gui.go:168-201).Manual Update
Download New Version
Download the latest
.deb package for your Ubuntu version from the releases page.Uninstallation
To remove WireGuird from your system:Uninstalling WireGuird does not remove your WireGuard tunnel configurations in
/etc/wireguard/ or the WireGuard kernel module.Troubleshooting Installation
Package dependency errors
Package dependency errors
If you see dependency errors during installation:This resolves missing dependencies and updates your package list.
Application won't launch
Application won't launch
Check if all dependencies are installed:Look for any “not found” entries. Install missing libraries with:
No system tray icon
No system tray icon
Some desktop environments require additional packages for system tray support:GNOME:KDE Plasma:
System tray support is built-in, but ensure the system tray widget is added to your panel.
Permission denied errors
Permission denied errors
If you see “Permission denied” when trying to activate tunnels:
- Ensure you launched WireGuird with
sudoorpkexec - Check
/etc/wireguard/permissions: - Verify
wg-quickis executable:
Distribution-Specific Notes
Ubuntu 22.04 LTS and Later
Ubuntu 22.04+ includes WireGuard in the default repositories with full kernel support. No additional repositories needed.Ubuntu 18.04 LTS and 20.04 LTS
WireGuard is available but may require backports:Linux Mint 21.1
Linux Mint 21.1 is based on Ubuntu 22.04 LTS and has full WireGuard support out of the box.Next Steps
Quick Start Guide
Now that WireGuird is installed, learn how to add your first tunnel and connect to a VPN in under 5 minutes.
