LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2018, 07:28 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
sudo and install.sh


Hi, I am trying to install Epson's imagescan for my DS-510 batch scanner. I have done this before on my newer laptop no problem. I do not know why sudo can't find install.sh on this older Ubuntu 14.04 laptop.

I can, for example enter sudo gedit and open any file. So I think sudo is working correctly.

Quote:
pedro@pedro-bedro2:~/Downloads/imagescan-bundle-ubuntu-14.04-1.3.26.x86.deb$ dir core install.sh plugins README.rst
pedro@pedro-bedro2:~/Downloads/image...1.3.26.x86.deb$ sudo ./install.sh
sudo: ./install.sh: command not found
pedro@pedro-bedro2:~/Downloads/image...1.3.26.x86.deb$
When I enter sudo ./install.sh I get 'command not found'

This must be a path problem I guess. How to make install.sh start?

Last edited by Pedroski; 03-21-2018 at 07:30 PM.
 
Old 03-21-2018, 07:31 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
It may not be executable (yet), especially if you have just downloaded it.

Try:

Code:
chmod +x ./install.sh
 
Old 03-21-2018, 07:34 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
As a follow-up, are you sure that you should be using sudo? That's not what I have in the instructions I got from Epson for my scanner. I think the program itself asks for privileges when it requires them.
 
Old 03-21-2018, 07:46 PM   #4
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
It was the execute as program bit, that's all! Thanks, I didn't think of that!

This is the version for Ubu 14.04, the read me says enter sudo ./install.sh

I use Formreturn to set lots of multiple choice tests. I lost my Formreturn DB, it got corrupted somehow. This week's work was lost. Now I have installed a copy of everything on this old laptop. If I lose 1, I can still use the copy on here!
 
Old 03-21-2018, 07:52 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Pedroski View Post
It was the execute as program bit, that's all! Thanks, I didn't think of that!

This is the version for Ubu 14.04, the read me says enter sudo ./install.sh

I use Formreturn to set lots of multiple choice tests. I lost my Formreturn DB, it got corrupted somehow. This week's work was lost. Now I have installed a copy of everything on this old laptop. If I lose 1, I can still use the copy on here!
Good to hear (the problem resolution, not the fact that you lost several days of work, always a bummer). You should think about daily database backups, even more if there is a large throughput of data (you don't need to backup to a laptop throughout the day, even a USB stick would do, ensuring that your backups are separate to avoid overwriting a good one with a corrupted one).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install sudo apt-get install synaptic problem help me dear :( zeeshanayub Linux - Newbie 49 10-23-2014 02:55 AM
help :(install sudo apt-get install synaptic problem help me dear :( help me help me zeeshanayub Linux - Newbie 3 10-21-2014 07:02 PM
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration