smbd --version Step 3 : Next, we need to configure Samba … To make file sharing possible, that feature must be enabled on Windows … Step 1 : Install the Samba server with the following command: sudo apt-get update sudo apt- get install samba -y Step 2 : After installation is complete, you can check the Samba version with the following command: We can check if the installation was successful by running: whereis samba. To install Samba, we run: sudo apt update sudo apt install samba. The following should be its output: samba: /usr/sbin/samba /usr/lib/samba /etc/samba /usr/share/samba /usr/share/man/man7/samba.7.gz /usr/share/man/man8/samba.8.gz. Enable File Sharing. 3.