LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2015, 06:22 AM   #1
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Rep: Reputation: Disabled
Application installed, Bash: command not found


hi there,

New to the forum, so hope I am doing thing correctly.

I have a Raspberry Pi and I am trying to install tboplayer which is a python GUI of omxplayer. Omxplayer itself works nicely in it's simplest form, but trying to install the GUI part has become somewhat problematic.

I have been following these instructions: https://github.com/KenT2/tboplayer/b...r/tboplayer.py

The setup.sh file was changed to executable using:
[CODE]
chmod +x setup.sh
[CODE]
then installed and a message came up saying that if all was well type 'tboplayer' in the command line or to click the link. Command line returns:
[CODE]
bash: tboplayer: command not found
[CODE]

and the link which points to the same file does not do anything. What does this mean? and what are the next steps I need to take in this troubleshooting.

Kind regards
iFunc
 
Old 11-20-2015, 06:25 AM   #2
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Original Poster
Rep: Reputation: Disabled
Additional info:

typing:
./tboplayer
gives
bash: ./tboplayer: No such file or directory
However it is clearly there in front of me.

Kind regards
iFunc

P.S. how do I get the [CODE] blocks to work?
 
Old 11-20-2015, 06:38 AM   #3
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,296

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
Quote:
Originally Posted by iFunction View Post
Additional info:

typing:
./tboplayer
gives
bash: ./tboplayer: No such file or directory
However it is clearly there in front of me.

Kind regards
iFunc

P.S. how do I get the [CODE] blocks to work?
To answer the last question first: [ / code] at the end (without the blanks).

You can't run tboplayer because the current directory is not in your execution path (i.e. the variable PATH). It's a security risk to put it in your PATH, so don't.
./tboplayer might fail because the tboplayer script has a first line similar to #!/usr/bin/sh, and there is no /usr/bin/sh. If so, the first line has to be corrected.

To learn about the #! construct, read the start of the Advanced Bash Scripting guide http://www.tldp.org/LDP/abs/html/index.html.
 
Old 11-20-2015, 06:44 AM   #4
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Original Poster
Rep: Reputation: Disabled
Excellent, thanks very much, I will work my way through this before posting again.

Kind regards
iFunc
 
Old 11-20-2015, 06:44 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,006

Rep: Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101
what is in the first line of that tboplayer? Is this a script at all? (use the command: file tboplayer)
 
Old 11-20-2015, 08:07 AM   #6
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Original Poster
Rep: Reputation: Disabled
It's a Python script, ASCII excecutable
 
Old 11-20-2015, 08:10 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,006

Rep: Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101
so what is in the first line?
 
  


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
scp: command not found - (Not Installed ???) stuartornum Linux - Software 8 04-01-2014 09:01 AM
chkconfig not found by bash, but is installed JimBass Linux - Newbie 4 05-09-2010 01:32 PM
bash command not found gobicse Linux - Newbie 3 12-19-2007 05:46 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Command not found when installed new software Egbert Linux - Software 1 02-19-2004 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 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