LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-09-2005, 09:15 AM   #1
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Rep: Reputation: 15
Unhappy Running from terminal?


Complete Linux newbie here, so excuse the stupid question.
I installed firefox into /usr/bin
Id like to be able to run firefox from the terminal..but when i type in firefox (command not found). I tried looking at the man pages also, but 'no manual entry for firefox'.

Any ideas on how i can run the program from the command line?
 
Old 07-09-2005, 09:22 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Try "mozilla-firefox"
 
Old 07-09-2005, 09:23 AM   #3
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Original Poster
Rep: Reputation: 15
nope didnt work
 
Old 07-09-2005, 10:07 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Are you working in X (graphical environment)? What error does "mozilla-firefox" return?
 
Old 07-09-2005, 10:27 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
How exactly did you install firefox?
 
Old 07-09-2005, 11:01 AM   #6
gibran
Member
 
Registered: Jul 2005
Location: California
Posts: 36

Original Poster
Rep: Reputation: 15
running fluxbox, mozilla-firefox returns
bash: mozilla-firefox: command not found

installed firefox from binary
 
Old 07-09-2005, 11:39 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by gibran
running fluxbox, mozilla-firefox returns
bash: mozilla-firefox: command not found

installed firefox from binary
The command should just be firefox. Its puzziling why its not working.
 
Old 07-09-2005, 12:15 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
First thing is to find out what your PATH is:
echo $PATH

Next is to find out where firefox is.
First, as root type locate -u to update the database. Now exit from root.
Now you can find out where firefox is:
locate firefox | grep bin

And I find mine is at /usr/bin/mozilla-firefox .

As /usr/bin/ is already in my PATH, I can start it by typing just mozilla-firefox . If it was not in my PATH, I'd either have to update and export my PATH, or type the full pathname: /usr/bin/mozilla-firefox.

Now you know the command to start it, you could make a link to it from your desktop: Right-click your desktop Create New...File...Link to application. Under the Application tab you put the full path to mozilla-firefox into the Command box. Give your link a suitably memorabe icon, and you are done.

HTH
 
  


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
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 05:54 PM
running a terminal command from a link nebula_nirvana Linux - Newbie 1 06-07-2004 09:08 AM
running gnome from terminal jojoojojmojo Linux - Newbie 2 01-26-2004 02:02 PM
Running a terminal/prompt from PHP james_cwy Linux - Newbie 1 12-15-2003 12:09 AM
running xdm fvwm on terminal abd_bela Linux - Distributions 0 03-29-2003 11:13 AM

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

All times are GMT -5. The time now is 07:36 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
Open Source Consulting | Domain Registration