How To Install ifscheme on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ifscheme
on Ubuntu 20.04.
What is ifscheme
ifscheme is:
ifscheme allows you to change network configuration schemes or query the current scheme. It integrates with the ifup(8) command and interfaces(5). For example, you might use this program to configure a “home” scheme and a “work” scheme for a network device on a laptop. When you move between home and work, a simple command can reconfigure your networking.
There are three methods to install ifscheme
on Ubuntu 20.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 ifscheme Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ifscheme
using apt-get
by running the following command:
sudo apt-get -y install ifscheme
Install ifscheme Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ifscheme
using apt
by running the following command:
sudo apt -y install ifscheme
Install ifscheme 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 ifscheme
using aptitude
by running the following command:
sudo aptitude -y install ifscheme
How To Uninstall ifscheme on Ubuntu 20.04
To uninstall only the ifscheme
package we can use the following command:
sudo apt-get remove ifscheme
Uninstall ifscheme And Its Dependencies
To uninstall ifscheme
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ifscheme
Remove ifscheme Configurations and Data
To remove ifscheme
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ifscheme
Remove ifscheme configuration, data, and all of its dependencies
We can use the following command to remove ifscheme
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ifscheme
References
Summary
In this tutorial we learn how to install ifscheme
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.