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!
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.
You need to run it in a terminal. Firstly, are there no instructions available from where you downloaded the file? If there are, I suggest you read those. If not, then try:
1. Open a terminal window and navigate to the directory containing the file. Use cd to change directories, e.g. "cd /home/user/foo" will take you to the directory /home/user/foo (capitalisation matters: 'A' and 'a' are not the same).
2. Make the file executable. You use chmod to do this, e.g. "chmod +x file.bin" will set executable permissions on the file file.bin (read the man page "man chmod" for information on chmod and here is some info on file permissions).
3. Execute the file with "./filename" and hopefully it does something useful.
If you're still stuck, tell us exactly what you're trying to install and which distribution you're using.
Edit: I've just read you're trying to install Java. It's probably best (or easier!) to use your distribution's package management system to do this. Tell us which distribution you're using and we can offer distro-specific help.
Thank you for this, and I apologise if I am being particularly dim. I've been using PCs for over 15 years.
The instrcutions from where I downloaded the file all seems to assume I can simply run it.
1. Oen a terminal window: the only way I can find to access the file is through File Manager, from which I navigate to the Download directory where the file is.
2. Make the file executable: all I seem able to do to the file is 'right-click'. This gives me Open, Cut, Copy, Delete, Rename, Properties. Open does not appear to do anything. I can't find anything in the manual regarding chmod, or any apparent way I can write code. There are applications available on the CnMBook website for BwBasic, gFTP and Root Access. Do I need one of these?
3. The file I downloaded from the Java website is jre-6u14-linux-i586.bin. Another website (FreeCol) stated that the program requires Java 6 to run on Linux.
fhg, you'll need the "Root Access" patch installed to follow the steps that I (and colorpurple21859) outlined, it seems. This gives you access to a terminal in which you can run commands. Can you post a link to the installation instructions you have, please?
Thank you: I've made progress.
I have accessed the root and followed the steps suggested by Nylex.
I couldn't cd to My Documents, so copied the file to Sd card and ran it from there.
It ran fine until:
./install.sfx.210: ./install.sfx.210: 1: Syntax error: “(“ unexpected
Failed to extract the files. Please refer to the Troubleshooting section of the Installation Instructions on the download page for more information.
Is this because it is on an SD card?
I have tried to create a new directory for java, but File Manager only gives noptions Refresh and Properties - even though the manual says I should be able to create directories. I can down at the My Files level - in My Documents.
I don't imagine that having the file on an SD card is causing the problem. Unfortunately, I can't see what the problem is right now. Perhaps you could post the entire output that was generated when you ran the executable?