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.
I'm running Suse 9.0 and I recently downloaded eclipse (a Java IDE). Eclipse doesn't come in a RPM, instead it simply has to be unpacked somewhere. I unpacked it into "/opt/eclipse" and tried to run the executable "eclipse".
But when clicking on the executable from within Conqueror, it tells me it can't find the program "eclipse".
And when I try to run it from the shell:
UberNoob@linux:/opt/eclipse>eclipse
bash: /home/UberNoob/bin/eclipse: No such file or directory
Why doesn't linux look in the working directory? Can it only run executables located in the "bin" directories?
Well, since I'm a smart guy, I linked the eclipse executable into /home/UberNoob/bin
But then eclipse tells me that it can't find the shared library "libXm.so", which is also located in the eclipse directory, with the omnious message "file too short".
Do I have to move everything into the bin directory to make this work? Why are Conqueror and the Shell so immensely mentally-challenged as to be unable to figure out that the path to the program I'm trying to run is in the very same directory I'm in? And especially uber-stupid Conqueror can't find the program "eclipse" even though I`m directly clicking on it... what is going on here?
I have executable permissions set, buy the way.
This is starting to frustrate me very, very badly.
Go to heaven. Help a Linux-Noob not return to Windows.
UberNoob@linux:/opt/eclipse>eclipse
bash: /home/UberNoob/bin/eclipse: No such file or directory
Why doesn't linux look in the working directory? Can it only run executables located in the "bin" directories?
No. You can run executables located either somewhere in the PATH environment variable or typing the complete route; so you should try to type in console
Code:
/opt/eclipse/eclipse
or, if your PWD variable is "/opt/eclipse/" (i.e. you are in this directory), just type
And thanks for the confirmation that Linux needs the full path or the path being set in PATH.
I tried running it with ./eclipse, but got a plenty heap of error messages. I found the problem anyways and finally got it working.
The problem is that Konqueror has a bug and doesn't unzip correctly, so it screwed up a few files. I unzipped eclipse manually from the console, and now it works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.