How To Install wicd-cli on Ubuntu 18.04
Introduction
In this tutorial we learn how to install wicd-cli on Ubuntu 18.04.
What is wicd-cli
wicd-cli is:
Wicd is a general-purpose network configuration server which aims to provide a simple but flexible interface for connecting to networks. Its features include:
- wide variety of settings;
- ability to connect to (and maintain profiles for) both wired and wireless networks;
- support for many encryption schemes, including WEP, WPA, WPA2 and custom schemes;
- wireless-tools compatibility.
This package provides a scriptable console client.
There are three methods to install wicd-cli on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install wicd-cli Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install wicd-cli using apt-get by running the following command:
sudo apt-get -y install wicd-cli
Install wicd-cli Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install wicd-cli using apt by running the following command:
sudo apt -y install wicd-cli
Install wicd-cli Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install wicd-cli using aptitude by running the following command:
sudo aptitude -y install wicd-cli
How To Uninstall wicd-cli on Ubuntu 18.04
To uninstall only the wicd-cli package we can use the following command:
sudo apt-get remove wicd-cli
Uninstall wicd-cli And Its Dependencies
To uninstall wicd-cli and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove wicd-cli
Remove wicd-cli Configurations and Data
To remove wicd-cli configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge wicd-cli
Remove wicd-cli configuration, data, and all of its dependencies
We can use the following command to remove wicd-cli configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wicd-cli
References
Summary
In this tutorial we learn how to install wicd-cli package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.