How To Install smb2www on Debian 9

In this tutorial we learn how to install smb2www on Debian 9. smb2www is SMB/CIFS network client with a web interface

Introduction

In this tutorial we learn how to install smb2www on Debian 9.

What is smb2www

smb2www is:

This package allows browsing an SMB/CIFS-based network (such as a Windows-based network) by using a standard web browser. It uses the Samba smbclient utility.

There are three methods to install smb2www on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install smb2www Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install smb2www

Install smb2www Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install smb2www using apt by running the following command:

sudo apt -y install smb2www

Install smb2www 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install smb2www using aptitude by running the following command:

sudo aptitude -y install smb2www

How To Uninstall smb2www on Debian 9

To uninstall only the smb2www package we can use the following command:

sudo apt-get remove smb2www

Uninstall smb2www And Its Dependencies

To uninstall smb2www and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove smb2www

Remove smb2www Configurations and Data

To remove smb2www configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge smb2www

Remove smb2www configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge smb2www

Dependencies

smb2www have the following dependencies:

References

Summary

In this tutorial we learn how to install smb2www package on Debian 9 using different package management tools: apt, apt-get and aptitude.