How To Install dfcgen-gtk on Ubuntu 18.04

In this tutorial we learn how to install dfcgen-gtk on Ubuntu 18.04. dfcgen-gtk is Digital Filter Coefficients Generator (DFCGen) GTK+

Introduction

In this tutorial we learn how to install dfcgen-gtk on Ubuntu 18.04.

What is dfcgen-gtk

dfcgen-gtk is:

DFCGen, the Digital Filter Coefficients Generator, assists the engineer in the design of digital filters. It supports the engineer in analysis and synthesis of linear time-invariant time-discrete (LTI) systems from the theoretical point of view. It performs generation of system transfer function coefficients in the Z-domain, based on the type and specific parameters of a chosen system.

There are three methods to install dfcgen-gtk 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 dfcgen-gtk Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dfcgen-gtk using apt-get by running the following command:

sudo apt-get -y install dfcgen-gtk

Install dfcgen-gtk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dfcgen-gtk using apt by running the following command:

sudo apt -y install dfcgen-gtk

Install dfcgen-gtk 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 dfcgen-gtk using aptitude by running the following command:

sudo aptitude -y install dfcgen-gtk

How To Uninstall dfcgen-gtk on Ubuntu 18.04

To uninstall only the dfcgen-gtk package we can use the following command:

sudo apt-get remove dfcgen-gtk

Uninstall dfcgen-gtk And Its Dependencies

To uninstall dfcgen-gtk and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove dfcgen-gtk

Remove dfcgen-gtk Configurations and Data

To remove dfcgen-gtk configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dfcgen-gtk

Remove dfcgen-gtk configuration, data, and all of its dependencies

We can use the following command to remove dfcgen-gtk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dfcgen-gtk

References

Summary

In this tutorial we learn how to install dfcgen-gtk package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.