Installation
Do I need to put the files in a specific folder before installing it from the terminal?It keeps telling me that the file is not in the directory
|
What are you trying to do? (e.g.: Installing what from the terminal?)
If you are installing software, there are often install scripts that must be run in the directory where other key files are. Please also tell us what version of Linux you are using. |
i am using ubuntu 9.04!
And it happens every time i try to install a .bin file or a tar file |
Quote:
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. |
ok, i'm trying to install jre-6u17-linux-i586-rpm.bin and the file is on the desktop.
can you tell me what the commands that i should type to install it? |
Your probably need to change to the desktop directory, e.g.:
Code:
cd ~/Desktop Code:
chmod +x jre-6u17-linux-i586-rpm.bin |
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* 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" b. enter /home/username/downloads/filename |
Quote:
Code:
sudo apt-get install sun-java6-jre Code:
sudo apt-get install sun-java6-jdk Running Java under Ubuntu Hope this helps... |
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 |
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.
|
Quote:
|
All times are GMT -5. The time now is 04:52 PM. |