How to Install SANE Network Scanning on Manjaro
SANE (Scanner Access Now Easy) is a library that allows you to access various types of scanners and imaging devices from within Linux, BSD, and other Unix-like operating systems. In this tutorial, we will go over the steps required to install SANE Network Scanning on Manjaro.
Prerequisites
Before we begin, you will need to have the following:
- A computer running Manjaro Linux
- Root access or sudo privileges on the system
- An active Internet connection
Installing SANE Network Scanning
Open a terminal window by pressing
Ctrl+Alt+Tor by searching for "terminal" in the applications menu.Update your system's package list and upgrade any outdated packages:
sudo pacman -SyuInstall SANE and its dependencies:
sudo pacman -S saneInstall the SANE network backend:
sudo pacman -S sane-netEdit the
/etc/sane.d/net.conffile using a text editor of your choice (we will use nano in this example):sudo nano /etc/sane.d/net.confUncomment the following line by removing the
#symbol:# net localhostshould become:
net localhostThis enables scanning on the local machine.
Save and exit the editor by pressing
Ctrl+X,Y, and thenEnter.Restart the SANE daemon:
sudo systemctl restart saned.socketEnsure that SANE is running and listening for connections:
sudo systemctl status saned.socketOutput will show if SANE is running or not.
Testing SANE Network Scanning
Make sure that the scanner is turned on and connected to the network.
Open a terminal window and type the following command:
scanimage -LThis command should list all the available scanners on the network.
If the scanner is listed, run a test scan:
scanimage > test_scan.pnmCheck the current directory for the newly created
test_scan.pnmfile. If it is there, the installation of SANE Network Scanning was successful.
Congratulations! You have now installed SANE Network Scanning on Manjaro, and you can now use your scanner from any device on your network.