Linux - NewbieThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The './' means to execute a program in your current directory. If you want to execute a command, you should be able to just type in the name of the program. If that doesn't work, you need to locate the executable in the file system and then run it by doing, '/path/to/command/file/program_name'
Why are you issuing the 'run' command before the program's name? It's not needed. You could at most run 'sh programname', but that's something else.
Just type the program's name at the command prompt and press Enter. Also, placing a './' in front of the program's name means that your program is located in the current directory (and it also has the right permissions). Otherwise, the program must be within your path, which can be displayed by running 'echo $PATH'. Sometimes, it's possible for a program to exist on your machine, but to be accesible only by root if it is located in /sbin or /usr/sbin.
Anyway, to find out where your program is, run 'whereis program' or 'locate program'.
Now I have also tried just typing the name of the program. And I have tried .program and /program.
The programs are in a folder on the desktop.
I installed Linux thikning it was point and click. Now I am getting very discouraged because things don't work.
Thanks
Quote:
Originally posted by harken Why are you issuing the 'run' command before the program's name? It's not needed. You could at most run 'sh programname', but that's something else.
Just type the program's name at the command prompt and press Enter. Also, placing a './' in front of the program's name means that your program is located in the current directory (and it also has the right permissions). Otherwise, the program must be within your path, which can be displayed by running 'echo $PATH'. Sometimes, it's possible for a program to exist on your machine, but to be accesible only by root if it is located in /sbin or /usr/sbin.
Anyway, to find out where your program is, run 'whereis program' or 'locate program'.
Now I have also tried just typing the name of the program. And I have tried .program and /program.
The programs are in a folder on the desktop.
I installed Linux thikning it was point and click. Now I am getting very discouraged because things don't work.
Thanks
depending on what browser you are using, you should be able to click on "firefox-installer.bin" and it should run the program. As it stands right now, Linux is definitely not point and click ( that would defeat the whole purpose of open source, having access to the source code so you can modify, contribute, tweak, etc... it to your liking)
this occurs because Mandrake ships with gcc-3.4.x, but firefox is compiled on an older version (3.3.x).
to install packages you need to set up urpmi ( do a google for easyurpmi or search these forums for it). urpmi is mandrakes package manager and should be used whenever possible ( once you set it up, you can get a Mandrake 10.1 version of firefox)
Originally posted by oneandoneis2 The easiest way to install software is with the package manager that comes with your distro - in your case, that's RPMs, I believe.
The firefox installer isn't an RPM, so it won't be as easy to install.
Are you installing it as root, or as your normal user?
Currently, a normal user, but I can do it either way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.