The officially official Devuan Forum!

You are not logged in.

#26 Today 00:10:54

Atlante
Member
Registered: 2025-05-01
Posts: 24  

Re: [SOLVED] Inability to install printer

you need to "cd" into the right directory,
and there you can "./install.sh" or "sh ./install.sh" , sorry if am not precise enouugh,
if you get permission denied, most probably you need to add "sudo" to the command. first you untar, then enter or "cd" into proper directory, then sudo+command should do the install for you.
but my memory told me, it function without sudo, but maybe was wrong.

Thanks, Kapqa

Here are the steps I took:

1) I ran the command `tar -xzvf /home/atlante/Downloads/epsonscan2-6.7.87.0-1.src.tar.gz` and a process started in the terminal, opening the compressed tar.gz package.

2) I ran the command `cd Downloads /home/atlante/Downloads/epsonscan2-6.7.87.0-1.src.tar.gz ./install.sh` and the result was "Permission denied", both as the sudo user and as the root user.

3) I added `sudo` to `./install.sh` and it looked like this: `Downloads (in blue) /home/atlante/Downloads/epsonscan2-6.7.87.0-1.src.tar.gz sudo ./install.sh` and the result was "Permission denied".

4) I changed the position of sudo and ran: Downloads (in blue letters) sudo ./install.sh/home/atlante/Downloads/epsonscan2-6.7.87.0-1.src.tar.gz and the result was “Command not found”

Offline

#27 Today 00:35:04

steve_v
Member
Registered: 2018-01-11
Posts: 666  

Re: [SOLVED] Inability to install printer

There's so much wrong here I'm not even sure where to start.

1) epsonscan2-6.7.87.0-1.src.tar.gz is the source code, unless you feel like building the scanner tool from source yourself, you almost certainly want epsonscan2-bundle-6.7.87.0.x86_64.deb.tar.gz (from the "drivers" section of the download page) instead.

2) You can't just stuff a 'cd' command, a directory name, a file name, and a script with relative path into one line and expect it to work.
'cd' takes exactly one argument (the target directory), you provided three.

3) Adding more random stuff to a syntactically incorrect command-line won't make it more right.

4) Nor will changing the order of said random stuff.

* Get the right file.
* Unpack the archive

tar zxf epsonscan2-bundle-6.7.87.0.x86_64.deb.tar.gz

* Change into the directory created above (use tab-complete if you value your sanity)

cd epsonscan2-bundle-6.7.87.0.x86_64.deb/

* Run the installer script

./install.sh

Last edited by steve_v (Today 01:51:53)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Online

#28 Today 13:37:36

Atlante
Member
Registered: 2025-05-01
Posts: 24  

Re: [SOLVED] Inability to install printer

Hi Steve_v.

Thanks for chiming in. Yes, I've made too many mistakes, some of them quite clumsy. But I'm grateful to everyone who's participated in this thread. And my personal conclusion is that I need to learn a lot. Little by little, I'm doing it. I've read a lot this past week. I appreciate everyone's patience with me.

Well, the first thing I did was make sure I chose the correct package, just as you warned me. So I selected epsonscan2-bundle-6.7.84.0.x86_64.deb.tar.gz instead of epsonscan2-bundle-6.7.87.0.x86_64.deb.tar.gz. This was crucial.

So I ran the command `tar zxf epsonscan2-bundle-6.7.84.0.x86_64.deb.tar.gz` and the terminal output was:

`tar (child): epsonscan2-bundle-6.7.84.0.x86_64.deb.tar.gz: Cannot open: No such file or directory`
`tar (child): Error is not recoverable: exiting now`
`tar: Child returned status 2`
`tar: Error is not recoverable: exiting now`

I continued. I ran the command `cd epsonscan2-bundle-6.7.84.0.x86_64.deb/`, and I was finally able to navigate to the correct package. So I was finally able to run the command `./install.sh` on the correct package. I did it, and the correct package was successfully installed!

`` I opened Xsane and it opened! And I was able to scan!

So I'm going to mark this thread as "SOLVED".

I'm very grateful to all the participants and everyone who read this thread. The most important takeaway is the importance of reading, reading, and reading to learn, and of helping those who need it, as you all have been to me. Thank you for your patience and help.

I apologize and send a hug to everyone.

Offline

Board footer