smbspool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smbspool: command not found
or when using sudo you get the following error message
sudo: smbspool: command not found
Solutions to smbspool: command not found
How To Fix smbspool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smbspool is provided by smbclient package.
smbclient is:
Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix systems.
This package contains command-line utilities for accessing Microsoft Windows and Samba servers, including smbclient, smbtar, and smbspool. Utilities for mounting shares locally are found in the package cifs-utils.
To fix this problem, we can install more using the command below.
sudo apt-get -y install smbclient
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install smbclient.
sudo apt -y install smbclient
Or if you have aptitude installed you can use the following command.
sudo aptitude install smbclient
Summary
In this tutorial we learn how to fix smbspool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.