How To Install vpnc-scripts on Kali Linux
Introduction
In this tutorial we learn how to install vpnc-scripts
on Kali Linux.
What is vpnc-scripts
vpnc-scripts is:
This package contains scripts required to configure routing and name services when invoked by the VPNC or OpenConnect Cisco VPN clients. The primary script automatically configures network routes and name servers for the active VPN connection. It also provides hooks for executing custom actions at various stages of the connection and disconnection process.
An alternate replacement script is also provided that contains the VPN in a network namespace which is accessible via SSH.
There are three methods to install vpnc-scripts
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install vpnc-scripts Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install vpnc-scripts
using apt-get
by running the following command:
sudo apt-get -y install vpnc-scripts
Install vpnc-scripts Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install vpnc-scripts
using apt
by running the following command:
sudo apt -y install vpnc-scripts
Install vpnc-scripts Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install vpnc-scripts
using aptitude
by running the following command:
sudo aptitude -y install vpnc-scripts
How To Uninstall vpnc-scripts on Kali Linux
To uninstall only the vpnc-scripts
package we can use the following command:
sudo apt-get remove vpnc-scripts
Uninstall vpnc-scripts And Its Dependencies
To uninstall vpnc-scripts
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove vpnc-scripts
Remove vpnc-scripts Configurations and Data
To remove vpnc-scripts
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge vpnc-scripts
Remove vpnc-scripts configuration, data, and all of its dependencies
We can use the following command to remove vpnc-scripts
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge vpnc-scripts
Dependencies
vpnc-scripts have the following dependencies:
References
Summary
In this tutorial we learn how to install vpnc-scripts
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.