LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-05-2004, 06:31 AM   #1
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Rep: Reputation: 15
Dont know how to reach RealPlayer in Shell


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:
file:/home/usr/Program Files/rp8_linux20_libc6_i386_cs2.bin
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.
 
Old 06-05-2004, 07:55 AM   #2
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
find / -name rp8_linux20_libc6_i386_cs2.bin
 
Old 06-05-2004, 08:27 AM   #3
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
The reason your computer gives you the warning

"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:

Code:
chmod a+rx rp8_lin*
and then execute if with sh:

Code:
sh ./rp8_li*
I hope this helps, sorry for being a bit long-winded.
 
Old 06-05-2004, 10:37 AM   #4
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
Hello oldyas

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

Thank you. I'll try to install him now...
 
Old 06-05-2004, 12:02 PM   #5
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
I wrote too much again.

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.
 
Old 06-05-2004, 12:31 PM   #6
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
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:
#cd Documents
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''
Thank you.
 
Old 06-05-2004, 12:53 PM   #7
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
You've nearly got it

>> 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:
>>#cd Documents
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,

/home/usr/Documents/r1p1_linux22_libc6_i386_a1.bin

and not as

/home/usr/Documents - r1p1_linux22_libc6_i386_a1.bin

Doing the latter will confuse the shell, because it will think you are talking about 3 seperate files (it thinks a space means the end of one filename and the beginning of another).

I've just been to look at Real's website,
http://forms.real.com/real/player/unix/unix.html, and the instructions it gives for installing are:

Code:
chmod u+x rp8_linux20_libc6_i386_cs2.bin
./rp8_linux20_libc6_i386_cs2.bin

Last edited by oldyas; 06-05-2004 at 01:29 PM.
 
Old 06-05-2004, 01:24 PM   #8
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
I understood your hints.
I tryed to follow your instructions:

[usr@usr usr]$ cd Documents
[usr@usr usr]$ ls -l r1p1_linux22_libc6_i386_a1.bin
-rwxrwxrwx 1 usr usr 6256996 Jun 5 13:33 r1p1_linux22_libc6_i386_a1.bin*
[usr@usr Documents]$ chmod uga+rwx r1p1_linux22_libc6_i386_a1.bin
[usr@usr Documents]$ sh ./r1p1_linux22_libc6_i386_a1.bin
./r1p1_linux22_libc6_i386_a1.bin: ./r1p1_linux22_libc6_i386_a1.bin: cannot execute binary file
[usr@usr Documents]$

What shall I do now? .......I hope it is allright what I did...
Thank you
 
Old 06-05-2004, 01:38 PM   #9
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
You're doing much better than I did when I first started using linux.

I don't know why it's not working. The only thing I can think of is that on Real's website they give the installation instructions as

chmod u+x rp8_linux20_libc6_i386_cs2.bin
./rp8_linux20_libc6_i386_cs2.bin

(I edited my last post with this infomation before I saw you had replied.)

Since the filenames are different, are you sure you've got the correct file?

>>[usr@usr Documents]$ sh ./r1p1_linux22_libc6_i386_a1.bin
>>./r1p1_linux22_libc6_i386_a1.bin: ./r1p1_linux22_libc6_i386_a1.bin: cannot execute binary file

Maby try it without the "sh " at the beginning? I only thought you needed that because that was what I used when I last installed Real a few years ago.

Perhapse someone else here knows the answer?
 
Old 06-05-2004, 01:44 PM   #10
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
I went for a quick Google, it seems this question has been asked here before.

Here are the links I found. There are probably more.

http://realforum.real.com/cgi-bin/un...collapsed&sb=5

http://www.linuxquestions.org/questi...hreadid=155227

http://www.linuxquestions.org/questi...03/10/3/105477

Hopefully somthing in these can solve the problem.
 
Old 06-05-2004, 01:47 PM   #11
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
I installed the Player for Linux: 2.x (libc6 i386)
Maybe it is the wrong one...?
 
Old 06-05-2004, 01:51 PM   #12
oldyas
Member
 
Registered: Jun 2004
Location: Bristol, UK
Distribution: SuSe
Posts: 53

Rep: Reputation: 15
>> I installed the Player for Linux: 2.x (libc6 i386).

That looks like the right one.

What does it say when you do "./r1p1_linux22_libc6_i386_a1.bin"?
 
Old 06-05-2004, 01:59 PM   #13
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 06-05-2004, 01:59 PM   #14
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
I'll save the Shell editor... so I know how we did it
 
Old 06-05-2004, 02:16 PM   #15
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
I thought I read something about problems opening a gui..

Type xwmconfig and select your x-system
then type startx to run...

Just thought i'd let you know...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant reach any hosts.. Hiltonizer Linux - Networking 1 08-29-2004 12:45 AM
can't reach new server wedgeworth Linux - Software 2 03-18-2004 03:39 PM
new to linux dont what distro to use dont no much command xman2007 Linux - Newbie 3 01-02-2004 06:32 PM
Can't reach network? squeak Linux - Networking 0 12-05-2003 03:39 AM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration