How To Install samba-vfs-modules on Ubuntu 20.04

In this tutorial we learn how to install samba-vfs-modules on Ubuntu 20.04. samba-vfs-modules is Samba Virtual FileSystem plugins Samba Virtual FileSystem plugins Samba Virtual FileSystem plugins

Introduction

In this tutorial we learn how to install samba-vfs-modules on Ubuntu 20.04.

What is samba-vfs-modules

samba-vfs-modules is:

Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

Virtual FileSystem modules are stacked shared libraries extending the functionality of Samba. Some examples are:

  • vfs_acl_xattr: Save NTFS-ACLs in Extended Attributes
  • vfs_audit: record selected Samba VFS operations in the system log
  • vfs_readonly: Make a Samba share read only for a specified time period
  • vfs_recycle: Give the same effect as the Recycle Bin on Windows computers
  • vfs_shadow_copy2: Expose snapshots to Windows clients as shadow copies
  • vfs_worm: Disallow writes for older file

Note: The runtime dependencies of vfs_ceph and vfs_snapper are moved to Recommends. Task: samba-server

Package: samba-vfs-modules Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Multi-Arch: same Priority: optional Section: net 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: 1875 Depends: samba-libs (= 2:4.11.6+dfsg-0ubuntu1.8), libbsd0 (>= 0.0), libc6 (>= 2.14), libgnutls30 (>= 3.6.5), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8) Recommends: libcephfs2 (>= 12.0.3), libdbus-1-3 (>= 1.9.14) Breaks: samba (« 2:4.3.2+dfsg-1), samba-libs (« 2:4.3.2+dfsg-1) Replaces: samba (« 2:4.3.2+dfsg-1), samba-libs (« 2:4.3.2+dfsg-1) Enhances: samba Filename: pool/main/s/samba/samba-vfs-modules_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 366408 MD5sum: 9ae50577ea26d75a5968116f445e77af SHA1: 96386b6a59c7763da8fec436b1f830d87b763c15 SHA256: c61de55f2a11513787fbecd877d3db0665bda8ae1e638aa32f2af1d0e819abb6 SHA512: a2ade8ae466546f50318cbf8495c1b7bf36cfea4b3c37dd23cc411039c40c7110e025a50630b658c595dca35f97f61d9b4e4d876e7939c59aa67b9b39c677aa1 Homepage: http://www.samba.org Description-en: Samba Virtual FileSystem plugins Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

Virtual FileSystem modules are stacked shared libraries extending the functionality of Samba. Some examples are:

  • vfs_acl_xattr: Save NTFS-ACLs in Extended Attributes
  • vfs_audit: record selected Samba VFS operations in the system log
  • vfs_readonly: Make a Samba share read only for a specified time period
  • vfs_recycle: Give the same effect as the Recycle Bin on Windows computers
  • vfs_shadow_copy2: Expose snapshots to Windows clients as shadow copies
  • vfs_worm: Disallow writes for older file

Note: The runtime dependencies of vfs_ceph and vfs_snapper are moved to Recommends. Task: samba-server

Package: samba-vfs-modules Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Multi-Arch: same Priority: optional Section: net 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: 1873 Depends: samba-libs (= 2:4.11.6+dfsg-0ubuntu1), libbsd0 (>= 0.0), libc6 (>= 2.14), libgnutls30 (>= 3.6.5), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1) Recommends: libcephfs2 (>= 12.0.3), libdbus-1-3 (>= 1.9.14) Breaks: samba (« 2:4.3.2+dfsg-1), samba-libs (« 2:4.3.2+dfsg-1) Replaces: samba (« 2:4.3.2+dfsg-1), samba-libs (« 2:4.3.2+dfsg-1) Enhances: samba Filename: pool/main/s/samba/samba-vfs-modules_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 366312 MD5sum: b6413566612dba4546aeec2a2895a884 SHA1: 7bf7a02aaed8738a67ddd60c7089e4dee23f861f SHA256: 21e3713fad381e6d5b0e012b268f901425944ff188dab6f5a4941afc8cb96916 Homepage: http://www.samba.org Description-en: Samba Virtual FileSystem plugins Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

Virtual FileSystem modules are stacked shared libraries extending the functionality of Samba. Some examples are:

  • vfs_acl_xattr: Save NTFS-ACLs in Extended Attributes
  • vfs_audit: record selected Samba VFS operations in the system log
  • vfs_readonly: Make a Samba share read only for a specified time period
  • vfs_recycle: Give the same effect as the Recycle Bin on Windows computers
  • vfs_shadow_copy2: Expose snapshots to Windows clients as shadow copies
  • vfs_worm: Disallow writes for older file

Note: The runtime dependencies of vfs_ceph and vfs_snapper are moved to Recommends. Task: samba-server

There are three methods to install samba-vfs-modules 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 samba-vfs-modules Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install samba-vfs-modules

Install samba-vfs-modules Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install samba-vfs-modules using apt by running the following command:

sudo apt -y install samba-vfs-modules

Install samba-vfs-modules 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 samba-vfs-modules using aptitude by running the following command:

sudo aptitude -y install samba-vfs-modules

How To Uninstall samba-vfs-modules on Ubuntu 20.04

To uninstall only the samba-vfs-modules package we can use the following command:

sudo apt-get remove samba-vfs-modules

Uninstall samba-vfs-modules And Its Dependencies

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

sudo apt-get -y autoremove samba-vfs-modules

Remove samba-vfs-modules Configurations and Data

To remove samba-vfs-modules configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge samba-vfs-modules

Remove samba-vfs-modules configuration, data, and all of its dependencies

We can use the following command to remove samba-vfs-modules configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge samba-vfs-modules

References

Summary

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