Skip to content

Instantly share code, notes, and snippets.

@WazedKhan
Created March 17, 2025 03:57
Show Gist options
  • Select an option

  • Save WazedKhan/f850d72e5d04557c9420a3780491f917 to your computer and use it in GitHub Desktop.

Select an option

Save WazedKhan/f850d72e5d04557c9420a3780491f917 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