Downloads and Guides: Install AnyConnect VPN for Linux
Follow these steps to install the Cisco AnyConnect VPN client and DART (Diagnostic And Reporting Tool) for Linux. The VPN package must be installed first, followed by the DART. AnyConnect can be installed through the GUI or Command Line.
NOTE: Java is a pre-requisite and must be installed prior to the AnyConnect installation.
Ubuntu (16+) prerequisites
Some dependencies may be required for Ubunto/Debian users in order for a successful installation. Open Terminal and run the following commands:
sudo apt-get update
sudo apt-get install lib32z1 lib32ncurses5
1. Install AnyConnect
- Download AnyConnect from the Downloads & Guides page.
- Once you have downloaded the AnyConnect VPN tarball, double-click to extract the folder named anyconnect-predeploy-linux-.
- The file will extract in the same folder it was downloaded in. By default this is the /home/user/Downloads folder, but typically the last used directory of the browser is where automatic downloads are placed.
- Note that the actual filename will include the most current version rather than the example text.
Alternatively, if you prefer to use the terminal commands, you can extract the anyconnect-4.6.03049 folder into your current location with the command:
- For 64-bit clients: tar xvfz anyconnect-linux64_22.214.171.124.049-predeploy.tar.gz
- Open the newly-extracted folder to find the VPN folder.
- Right-click the vpn_install.sh file.
- Double-click Run.
- Use the GUI App to install the Cisco AnyConnect VPN client at the root level. For some versions of Linux, such as Ubuntu, a command line will be required. Open a terminal window, navagate to the vpn folder via the path above and run the vpn_install.sh script as root.
- Example: sudo .⁄vpn_install.sh
- If you receive an agentid error, see Additional Information below.
2. Install required UMN Certificates
When you run the client for the first time, it is possible that you'll get a certificate error under some Linux distribution, such as Ubuntu and anything based on debian. When this happens, you'll need to manually install an intermediate certificate. The instructions to do this can be found in How to Fix AnyConnect VPN Server Certificate errors for Linux clients
3. Install DART
- Click the folder dart.
- Right-click the dart_install.sh file.
- Double-click Run.
- Use the GUI App to install the Cisco AnyConnect Diagnostic and Reporting Tool.
- Again, for Ubuntu, a command line will be required. Open a terminal window, navigate across to the dart folder and run the dart_install.sh script as root.
- Example: cd .⁄dart ; sudo .⁄dart_install.sh
- Some users may find they need additional libraries and have found that installing OpenConnect has helped using sudo apt-get install network-manager-openconnect.
- NOTE: OIT does not support OpenConnect, use proper discretion when running commands that could affect your device.
- If a host name is needed, please use tc-vpn-1.vpn.umn.edu.
Connect to UMN VPN
- Start Cisco Anyconnect your preferred way.
- Navigate to Applications > Internet
- Type /opt/cisco/anyconnect/bin/vpnui in terminal
- Connect to tc-vpn-1.vpn.umn.edu.
- For most purposes, connect to the Split Tunnel group so any non-UMN traffic is routed through your LAN.