SANE (Scanner Access Now Easy) is a project that enables scanner access on Linux systems. It allows an external scanner to be shared over a network, which allows scanning from multiple systems. In this tutorial, we will learn how to install and set up SANE network scanning on Linux Mint.
Before installing SANE, make sure you have the necessary dependencies installed on your system. Open the terminal and run the following command:
sudo apt-get install gcc make libusb-dev libsane-dev libjpeg-dev sane-utils
This will install the required packages on your system.
Download the source code from http://sane-project.org/ website, and save it in a directory of your choice.
Go to the directory where you saved the source code and extract the archive using the following command:
tar xvzf sane-backends-1.0.XX.tar.gz
Replace 1.0.XX
with the version number you have downloaded.
Once you have extracted the archive, navigate to the extracted directory and execute the following commands:
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install
This will configure and install SANE on your system.
To configure SANE network scanning, open the /etc/sane.d/saned.conf
file in a text editor using the following command:
sudo nano /etc/sane.d/saned.conf
Add the IP addresses of the systems that are allowed to access your scanner. For example:
# /etc/sane.d/saned.conf
192.168.1.2
192.168.1.3
Save and close the file.
To apply the changes and restart SANE, execute the following commands:
sudo systemctl daemon-reload
sudo systemctl restart saned.socket
To test whether SANE network scanning is working, execute the following command:
scanimage -L
This command will list all the available scanners on the network. If the scanner is detected, then SANE network scanning is configured and working correctly.
Congratulations, you have successfully installed and configured SANE network scanning on Linux Mint.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!