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.
It keeps telling me that the file is not in the directory
Is the file in the directory referred to? Are you in the directory the file refers to in the terminal? Are you doing this in a terminal? What is the "IT" you are referring to that is telling you things?
As requested above, specific information would be helpful. If it happens every time, you should be able to remember one program that failed in this manner.
However, there are a couple problems. I don't think Ubuntu supports RPM well so you should have gotten the regular .bin and not the rpm.bin. Secondly, at least with Ubuntu 9.10. The JRE is in the repositories so you can just install it with apt-get/aptitude/synaptic which is the preferred method. I am not sure if this is the case with 9.04, but you may want to browse through Synaptic and see, and consider upgrading to 9.10 while you're at it.
First, isn't jre available using the package manager? (Always install SW using the package manager if possible.)
Second, if you get jre for Ubuntu, you don't want RPM (I don't remember all the options)
Finally, there are many kinds of installers, but there are some common principles:
1. If there is an extension like .tar, .gz, .bz2, etc. then you have to extract first.
2. A file ending in .bin is typically expected to be executed, but you often have to set the permissions first. Example--for your case:
Code:
sudo chmod +x jre*
3. Instructions are typically available where you got the file, or in something like a README file.
Going back to one of your original questions: Commands are sometimes run in directories that are not listed in the PATH variable. This means that the full path must be given. Suppose, for example, you have that file in /home/username/downloads. That directory would not normally be in PATH, so if you simply type the file name, the system does not know where to look. You can:
a. cd to the directory and enter " ./filename"
Tilda is the literal tilds character, which is shift+` (top left of the US English keyboard). Did you read the rest of my post and the other posts in this thread? There are better and easier ways of doing what you want to do than installingthat bin file.
cd ~/Desktop "~" do i need to type this or "~" replace it with the file name?
my keyboard isn't doing these special characters
sorry for this stupid question
The tilda character is a short notation for your home directory which is /home/<your-user-name>. Desktop is a subdirectory underneath that. Instead of typing the path of the home directory you can use the '~'. If you are not able to type ~ then simply type cd <press-enter> and that should take you to your home directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.