loginek0
Posts: 16
Joined: Fri Mar 13, 2015 7:11 am

How to update SANE in raspberry to new version?

Mon Mar 12, 2018 11:55 am

In the latest raspbian, after entering "sudo apt-get install sane", the version sane 1.0.25 is installed. I need to have version 1.0.27, which already supports my scanner. How can I install the latest version?

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to update SANE in raspberry to new version?

Mon Mar 12, 2018 12:00 pm

You may find a newer version in the Ubuntu Mate repo. Else, you'll have to build from source.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

loginek0
Posts: 16
Joined: Fri Mar 13, 2015 7:11 am

Re: How to update SANE in raspberry to new version?

Mon Mar 12, 2018 12:03 pm

Ok, how can I download the latest version from Ubuntu Mate repo? I am currently using the raspbian raspberry system.

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to update SANE in raspberry to new version?

Mon Mar 12, 2018 2:47 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

loginek0
Posts: 16
Joined: Fri Mar 13, 2015 7:11 am

Re: How to update SANE in raspberry to new version?

Mon Mar 12, 2018 7:08 pm

OK thanks! What if I wanted to install it on the raspbian system? I do not want ubuntu.

Edit:
I've tried these commands from the new raspbian installation:

Code: Select all

sudo apt-get install sane
sudo scanimage -V
scanimage (sane-backends) 1.0.25; backend version 1.0.25

wget http://www.sane-project.org/snapshots/sane-backends-1.0.27-139-ga5ae2da-dirty.tar.gz
tar zxvf sane-backends-1.0.27-139-ga5ae2da-dirty.tar.gz
cd sane-backends-1.0.27-139-ga5ae2da-dirty/
./configure
sudo make
sudo make install
cd ..
sudo scanimage -V
scanimage (sane-backends) 1.0.27-139-ga5ae2da-dirty; backend version 1.0.25
As you can see - the old version 1.0.25 is still visible. How to fix it?

Return to “Troubleshooting”