LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2006, 07:26 AM   #1
jak2586
Member
 
Registered: Mar 2006
Location: UK, England, Staffordshire
Distribution: Mandriva 2006, Ubuntu 5.10
Posts: 35

Rep: Reputation: 15
command line boinc


Im currently installing the boinc client for linux command line.

i now want to execute the .sh file;

Code:
linbox@Linbox:/opt$ ls
boinc_5.4.9_i686-pc-linux-gnu.sh
linbox@Linbox:/opt$ sudo ./boinc_5.4.9_i686-pc-linux-gnu.sh
sudo: unable to execute ./boinc_5.4.9_i686-pc-linux-gnu.sh: No such file or directory
It says no such file or directory, when its clearly shown in the ls command.

Thanks
 
Old 09-08-2006, 09:18 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,714
Blog Entries: 14

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
You're telling sudo to do the command so it is sudo that is determining where to execute - not your original shell.

In your sudoers file (run visudo) put the full path for the command in the Cmnd_Alias.
 
Old 04-17-2007, 12:00 PM   #3
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by jak2586
Im currently installing the boinc client for linux command line.

i now want to execute the .sh file;

Code:
linbox@Linbox:/opt$ ls
boinc_5.4.9_i686-pc-linux-gnu.sh
linbox@Linbox:/opt$ sudo ./boinc_5.4.9_i686-pc-linux-gnu.sh
sudo: unable to execute ./boinc_5.4.9_i686-pc-linux-gnu.sh: No such file or directory
It says no such file or directory, when its clearly shown in the ls command.

Thanks
Here is what you really need to do:
Code:
 sh boinc_5.4.9_i686-pc-linux-gnu.sh
That will create a BOINC directory directly under where you are. And then you can attach to projects.

BTW, I usually install this in the /home directory of a regular non-root user. You certainly don't need to be root to run boinc and you want to avoid being on the Internet as root. Security concerns.

hth,
The GNUinator
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM


All times are GMT -5. The time now is 01:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration