Click to See Complete Forum and Search --> : ...but there is a file


Walrus28IF
10-09-2001, 05:11 PM
Hi, I'm new to Linux and i am having trouble installing new software. I know how to extract all the various file types, but installing is something else...

For instance i got real player for linux. The instructions said to make it executable like this:

chmod u+x filename.bin

and then run it like this:

./filename.bin

Well, making it executable was no problem. When i say:

file realplayer.bin

I get this:

realplayer.bin: ELF 32-bit exectubale etc etc

But when i try to run it, it says there is no such file or directory. I tried ./realplayer.bin and realplayer but no luck. I even took off the ./ and put 'file' right before it, and got the info!

Another example, is that i installed Mpeg TV player (MTV). Ok, i extracted and it just says to copy 'mtv' and 'mtvp' to /usr/local/bin OK, i did that. And i ran the file command on them. They're executables. But it says no such file or directory!

One more example is Wine. It came in an rpm. So, i said rpm -i filename.rpm and after a few minutes it finished. The only problem is that i don't know how to run it. I tried 'man wine' but got nothing. There is a wineconf file that i looked at, but i don't know how to run the program. I decided to remove it so i did this: rpm -e filename.rpm and it says it is not installed. So, i pressed the up arrow and changed the -e to -i and it says it is already installed!

Well, that's about it. I understand that this is a lot of material, so if you would rather contact me on Aol Instant Messanger (AIM) my screen name is GlassOnion28IF. Thanks, and i would greatly appreciate your assistance!!!

Choozo
10-09-2001, 05:19 PM
As for the RPM; don't add the .rpm when you uninstall it, just 'rpm -e packagename'

For the install problem; did you try this as 'root'? (You usually need to be 'root' since most of those proggies goes to /usr/local/).
One other problem may be that you don't have '/bin' in your $PATH? Check this by typing 'echo $PATH'

Cheers :)

Walrus28IF
10-09-2001, 06:17 PM
i took off the rpm when uninstalling, but i got the same error.

When i echo $PATH i get this:

/usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games

That's a whole lot of bins.

bdg1983
10-09-2001, 06:25 PM
Install with rpm -i filename-#.#.#.i386.rpm

Uninstall with rpm -e filename