How To Install libdashel-dev on Ubuntu 18.04

In this tutorial we learn how to install libdashel-dev on Ubuntu 18.04. libdashel-dev is Dashel Library development files

Introduction

In this tutorial we learn how to install libdashel-dev on Ubuntu 18.04.

What is libdashel-dev

libdashel-dev is:

DASHEL provides a unified access to TCP/IP, serial port, and files streams. It also allows a server application to wait for any activity on any combination of those streams.

This package provides the files necessary for developers

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

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

sudo apt-get update

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

sudo apt-get -y install libdashel-dev

Install libdashel-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdashel-dev

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

sudo aptitude -y install libdashel-dev

How To Uninstall libdashel-dev on Ubuntu 18.04

To uninstall only the libdashel-dev package we can use the following command:

sudo apt-get remove libdashel-dev

Uninstall libdashel-dev And Its Dependencies

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

sudo apt-get -y autoremove libdashel-dev

Remove libdashel-dev Configurations and Data

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

sudo apt-get -y purge libdashel-dev

Remove libdashel-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdashel-dev

References

Summary

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