Skip to content

Instantly share code, notes, and snippets.

@ambroisehdn
Forked from WazedKhan/az_vpn_ubuntu_24.md
Created September 16, 2025 22:05
Show Gist options
  • Select an option

  • Save ambroisehdn/a918fb543e984ec710e08e4c2c8a0ac0 to your computer and use it in GitHub Desktop.

Select an option

Save ambroisehdn/a918fb543e984ec710e08e4c2c8a0ac0 to your computer and use it in GitHub Desktop.
Install Azure VPN Client on Ubuntu 24.04

Install Azure VPN Client on Ubuntu 24.04

Step 1: Install curl

sudo apt-get install -y curl

Step 2: Add Microsoft’s Public Key

curl -sSl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc

Step 3: Add the Ubuntu 22.04 Repository (Since 24.04 is not available yet)

curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-ubuntu-jammy-prod.list

Step 4: Update Packages

sudo apt-get update

Step 5: Install Azure VPN Client

sudo apt-get install microsoft-azurevpnclient

Potential Issues & Fixes

  • Dependency Issues? If you run into dependency errors, you might need to install missing libraries manually.
  • Doesn't Work? If the installation fails, you might need to wait for Microsoft to release an official package for Ubuntu 24.04.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment