How To Install libsmbclient-dev on Ubuntu 20.04

In this tutorial we learn how to install libsmbclient-dev on Ubuntu 20.04. libsmbclient-dev is development files for libsmbclient development files for libsmbclient development files for libsmbclient

Introduction

In this tutorial we learn how to install libsmbclient-dev on Ubuntu 20.04.

What is libsmbclient-dev

libsmbclient-dev is:

This package provides the development files (static library and headers) required for building applications against libsmbclient, a library that enables client applications to talk to Microsoft Windows and Samba servers using the SMB/CIFS protocol.

Package: libsmbclient-dev Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Multi-Arch: same Priority: extra Section: libdevel Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 364 Pre-Depends: dpkg (>= 1.15.6~) Depends: libsmbclient (= 2:4.11.6+dfsg-0ubuntu1.8) Filename: pool/main/s/samba/libsmbclient-dev_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 40048 MD5sum: 042fe7ffd57ab05db60e8392dab49d1f SHA1: 10e66835a5d5f67d46f1055347f2339d9a2e40de SHA256: de79c8a481a780caa3a5552994a00e97920650abaf82aec172a3bb0c2e8951d4 SHA512: a5befa45e2988479d26846980dd3162a2fda7b53979c9665413d949682e39dc844577a6718fcd3be4f778f86681c65d1cb9c4e73c5f32b348cb85d31be7e83c5 Homepage: http://www.samba.org Description-en: development files for libsmbclient This package provides the development files (static library and headers) required for building applications against libsmbclient, a library that enables client applications to talk to Microsoft Windows and Samba servers using the SMB/CIFS protocol.

Package: libsmbclient-dev Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Multi-Arch: same Priority: extra Section: libdevel Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 362 Pre-Depends: dpkg (>= 1.15.6~) Depends: libsmbclient (= 2:4.11.6+dfsg-0ubuntu1) Filename: pool/main/s/samba/libsmbclient-dev_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 40044 MD5sum: ffdb0bd6631e64f37ac3ee28120816da SHA1: d99eb09495b2b127b75416995c801b346b439065 SHA256: fa669cd3a637949f91f38736aff17b3e4630050dc79eb34c336ef0cad4e1ca5f Homepage: http://www.samba.org Description-en: development files for libsmbclient This package provides the development files (static library and headers) required for building applications against libsmbclient, a library that enables client applications to talk to Microsoft Windows and Samba servers using the SMB/CIFS protocol.

There are three methods to install libsmbclient-dev 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 libsmbclient-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 libsmbclient-dev using apt-get by running the following command:

sudo apt-get -y install libsmbclient-dev

Install libsmbclient-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsmbclient-dev

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

sudo aptitude -y install libsmbclient-dev

How To Uninstall libsmbclient-dev on Ubuntu 20.04

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

sudo apt-get remove libsmbclient-dev

Uninstall libsmbclient-dev And Its Dependencies

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

sudo apt-get -y autoremove libsmbclient-dev

Remove libsmbclient-dev Configurations and Data

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

sudo apt-get -y purge libsmbclient-dev

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

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

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

References

Summary

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