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.
I have tryed to install real player 8 but in my console I even don't find the location of rp8_linux20_libc6_i386_cs2.bin.
If I type in:
dodo (my dear computer) tells me something about ''no such file or directory''. If I would know how to reach realplayer in shell It would be easyer to go further with installing it... I am using MandrakeLinux 10.0.
Thanks for helping.
"bash: file:/home/usr/Program Files/rp8_linux20_libc6_i386_cs2.bin: No such file or directory"
(or more likely just "bash: file:/home/usr/Program: No such file or directory")
is because what you typed in doesn't make sence to it. It thinks you are trying to execute a file named "file:/home/usr/Program Files/rp8_linux20_libc6_i386_cs2.bin", which although is your eventual aim, we're still trying to find the file.
The GNU/Linux command to list directory contents is "ls". To list the contents of your home directory, use "ls /home/<your user name here>", or just "ls ~". When referring to files on the command line, do not prefix them with "file:"! . Oh, and if you need to put a space in a filename on the command line, either put a \ immeadiatly before the space, or enclose the entire filename in double quotes.
"rp8_linux20_libc6_i386_cs2.bin" is the self-extracting installer for RealPlayer8. This method of installation is very unusual in linux (Real are the only people I can think of who use it).
If you can't find it in ~ (your home directory, /home/<username>), check if your browser remembers where it downloaded it to (maby ~/Documents).
It's been a while since I installed Real (I prefer MPlayer, which can play Real files and much else besides), but I remember that you have to make sure the file is executable:
chmod a+rx rp8_lin*
and then execute if with sh:
I hope this helps, sorry for being a bit long-winded.
It is very interesting for me what you are talking about. Thank you to have led me into a little bit.
I found two directorys; the first through you and the second through the information of the downloaded file from real player (r1p1_linux22_libc6_i386_a1.bin)
i) /home/usr/Documents - rlpl_linux20_libc6_i386_cs2.bin
ii) /home/usr/Documents - r1p1_linux22_libc6_i386_a1.bin
But how can I know that and how can it be that two different command lines can be the same directory?
Anyway- you don't have to explain me that. Maybe it is a too long story
I'll try and write more simply this time. I guess you're new to linux (since you referred to "Program Files" I assume you come from Windows), so I'll try to explain the basics of the shell (command line where you type). Sorry if this is too easy for you, this I the stuff I wish someone had told me when I first used linux.
What you found were files. "/", "/bin/", "/home/usr/" and "/home/usr/Documents/" are directories (called "folders" in Windows). A file is a piece of data, like a picture, movie, piece of text, or program that you can run. A directory contains files, and maby other directories.
Here are some commands you can use:
ls - list files
This lists all files in the present directory (by typing "ls"), or the directory you name, for example, "ls /home/usr/Documents/" lists the files inside the "Documents" directory, which is inside the "usr" directory, which is inside the "home" directory.
cd - change directory
This moves you around the file system. Each user has a home directory where they start, usually "/home/<username>". To move from /home/usr/ to /home/usr/Documents/ type "cd /home/usr/Documents/", or just "cd Documents/".
In each directory there is also a special magic directory called "..", which means the directory that contains the one you are in. If you type "cd .." in /home/usr/Documents/, for example, you will end up in /home/usr.
pwd - present working directory
This writes out your current location in the directory structure.
There are lots of other commands. A few you will need to know about are mv (move file), cp (copy file), rm (remove/delete file), and most importantly, man (read manual). If you type "man cd" or "man ls" or "man <command name here>", you will read the help for that command. Press up/down arrows to move, and q to quit.
Finally, you can change the way commands work by using switches (also called options or arguments). For example, typing "ls -l" makes ls write out more detailed information, like the size of the files, and which user owns them. You can read what switches a command has by reading it's manual (type "man ls" to lean about the example I just used).
In order to install RealPlayer you will need to be running a GUI, and have a shell window open. In the shell, move to the place where the install file is (probably type "cd Documents"), and then make it so you can run the file (type "chmod +x <filename>"). Then run the file using "./<filename> or "sh ./<filename>". Rember you can use the man command to learn what commands do.
Again I have written way too much. My exams have just finished and I am bored. If you have any more questions feel free to ask, but I'll not write so much next time.
Thank you for these good informations.
I am also in a ''gap'' regarding the study . Its nice to learn to know something new like linux... But
So.. I've tryed to do what you told me; I mean the installation of real player.
What I did:
it appears: [root@usr Documents]# I wrote:
chmod +x <r1p1_linux22_libc6_i386_a1.bin
it appears: Try 'chmod - -help' for more information.
[root@usr Documents]# I wrote:
/home/usr/Documents - r1p1_linux22_libc6_i386_a1.bin
it appears: bash: /home/usr/Documents: is a directory
....good? what do I have to do else to start the installation?
I am sorry, I don't know exactly where to open ''GUI''
>> I don't know exactly where to open ''GUI''
GUI = Graphical User Interface. I mean you need to be able to open windows and use menus and buttons and such, not just be using your computer at a text only console. If you installed linux properly your machine should start one when you turn it on. You need to be able to use windows because once you get the RealPlayer installer running it will try to open a window.
>>What I did:
I'm assuming this is where the file "r1p1_linux22_libc6_i386_a1.bin" is?
>>it appears: [root@usr Documents]# I wrote:
You should not be running as root. Root is a special type of user account that can delete anything on the machine, so it is dangerous to run as root habitually.
At this stage it would be best to type "ls -l r1p1_linux22_libc6_i386_a1.bin", to make sure you are in the right place.
>>chmod +x <r1p1_linux22_libc6_i386_a1.bin
If this command had worked it would not have made any output. Instead, it didn't understand what you wanted it to do and told you to type "chmod - -help", which is a quick usage guide.
If you try again, use "chmod u+rx r1p1_linux22_libc6_i386_a1.bin" instead.
The file you want to run is named /home/usr/Documents/r1p1_linux22_libc6_i386_a1.bin, but since you are already inside the Documents directory, which is inside the usr directory, which is inside the home directory, you only need to type "./r1p1_linux22_libc6_i386_a1.bin". The "./" bit at the beginning is important, because this tells the shell that the file you want to run is inside the present directory.
Note that in linux you must refer to files as, for example,
It works with this command .
But the Window from the Network Installer is so bad... I nearly can't read the text... anyway. I'll try to go through the installation now...hahaaa...
Thank you very much, oldyas.
Hope to get some more advices from you if next problems rise