Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My question might be lame but please bare with me as I am a linux newbie. I insatlled RedHat Fedora Core 2 as a dual-boot. So far, I've been able to fix overall OS problems.
My problem is that I downloaded and installed FireFox. I have made a launcher on Desktop. But I want to be able to launch it from the terminal. For example, right now, I can type "Mozilla" in terminal and it will launch Mozilla browser. Is there any way, I can type "Firefox" in terminal and it will launch the browser.
I don't even know what it is called. Right now I'm calling it "registering an application" I'd appreciate it if someone can tell me the proper term for this .
Originally posted by borrrden Or better yet, here is a simpler option.
Put a soft link (ln -s) to firefox in /usr/bin or /usr/local/bin.
Again, run updatedb as root and slocate (yes, slocate is correct it's a faster version of locate) firefox and that will show you where it is.
So if firefox is in your home directory the command will look like this
go to /usr/bin or /usr/local/bin and type "ln -s /home/borrrden/firefox-1.0/firefox" (without the quotes)
Excellent work guys. Thanks so much. I used Symbolic link like borrrden said. But just out of curiousity, how do I do it using the $path. All I know is that I have to append to the path file. But I don't know how????
from your home directory, open up the following with a text editor (vim, emacs, etc) ".bash_profile" (no quotes) and in it there will be a line that says $PATH=blah blah blah - just add on whatever you want to the end of that line in the same fashion (put a colon, then a directory, then a colon, then a directory, etc)
Distribution: Ubuntu, Debian, Various using VMWare
In ~/.bash_profile, add the lines:
Not that there must be no spaces around the = sign.
now run the command "source .bash_profile", and the new directory will be added to your path.
It is a good idea to use the symbolic link when you want to add only one executable to your path - eg firefox, but if there is a directory with lots of executables then use the path option (Eg the java execuatbles - java, javac, javaw ...) This will avoid cluttering your path up too much.
I have a directory /home/iball/bin, which is where I put shell scripts and symbolic links to programs that I want only me to have access to. Obviously, I added this directory to my path as shown above.
Distribution: Red Hat Version 9 / Attempting to use Gentoo
I had just installed Firefox and could not get it to run. But creting the sym link and allowed me to run it from command line.
My question is how do I get programs to run from the GUI interface. I ahve installed several programs that wer RPMs. They all installed correctlly but I have no idea on how to use them now. One program which I really want to use is Webmin which I have installed but I cannot bring up the Interface. Other programs I would like to know how to run them once they have been installed.
Distribution: Ubuntu, Debian, Various using VMWare
Most programs that you install will place and executable in /usr/bin. Therefore, you should be able to run the program simply by typing the name of the program at the command line.
If you want to create a launcher on the desktop, simply right click on the desktop and select "New Launcher" The path of the executable should be just the name of the executable as you type it at the command line. Eg, if you run firefox by typing "firefox" at the command line, then the executable is "firefox"
After installing programs, you can find them by running, as root:
"updatedb" and then "locate nameOfProgram"