LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install binaries ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-binaries-50390/)

pelgrim 03-17-2003 10:38 PM

How to install binaries ?
 
I got some divx codec i wanted to install.

the codec are divx4linux-20020418.tgz
The pakage contains:
decore.h
DivX MPEG-4 Codec and Its Interface.htm
encore2.h
install
install.sh
libdivxdecore.so
libdivxencore.so
license.txt
README.linux

The installation information in README.linux say's:
"Extract the archive, and run "./install.sh" as root".

My distro:suse 8.1

Questions:
1)which commands must i give to install the filles listed above.
2)Can i convert the files listed above in to a RPM and then install it with yast?

Thanks

Crashed_Again 03-17-2003 10:44 PM

Ummm...did your run:

./install.sh

??? It should do all the dirty work for you.

MasterC 03-17-2003 10:49 PM

1 thing to add, you might have to chmod the install.sh file first:
chmod u+x install.sh
THEN
./install.sh

Cool

pelgrim 03-17-2003 11:16 PM

what's suppose to happen?
 
typed:
"chmod u+x install.sh" "return"
nothing happend
then i typed:
"./install.sh" "return"
again nothing happend

Do i suppose to enter a third command to make the file?

MasterC 03-17-2003 11:23 PM

chmod should have returned nothing, that's good. Then ./install.sh should have started the install process. Try:
sh install.sh

You are typing these into a terminal within the directory containing these files, correct? :)

Cool

Crashed_Again 03-17-2003 11:24 PM

Well nothing is suppose to be returned when you do:

chmod u+x install.sh

If you ran:

./install.sh

and it returned nothing then it probably just installed automatically.

MasterC 03-17-2003 11:29 PM

Fire up a text editor with the install.sh script in it:
less install.sh
See what it's doing. See if it tells you where files are going, if it does, then:
updatedb (this will take a good while)
locate <file>
Replace <file> with a file that is being copied somewhere (according to the install.sh file).

:)

If you have questions, and the install.sh isn't too long, post it up so we can give it a look over.

Cool

pelgrim 03-18-2003 01:37 AM

thanks,
 
"chmod u+x install.sh"
"./"install.sh"

"vi install.sh" found the destination file
looked it up : the files where there

Now only thing for me to really do , is trying to understand what happend.

Thanks all

MasterC 03-18-2003 08:55 AM

Good deal, and you're welcome :)

Cool


All times are GMT -5. The time now is 04:12 AM.