LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do I install .run.bz2 ??? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-install-run-bz2-218221/)

mr_a_ali 08-16-2004 08:14 AM

how do I install .run.bz2 ???
 
Hello,

I downloaded a program, UT2004 demo.

The name of the file is "ut2004-lnx-demo-3120.run.bz2".

I only know how to install RPMs or TGZs...but how do I install this "bz2"??

Help is appreciated. Thank you.

hosti 08-16-2004 08:43 AM

extract the file using ark (or whatever program you use to extrakt bz2 files) into a new folder.
Open a command session
#su
#PW
browse to that folder: #cd blablabla
run the config script: # sh config.sh
do a make:# make
do an install:# make install

this should work fine. After you have extracted the bz2 file in a folder, find the 'install' & readme doc. Read them first !

Regards;

Komakino 08-16-2004 09:04 AM

Quote:

Originally posted by hosti
extract the file using ark (or whatever program you use to extrakt bz2 files) into a new folder.
Open a command session
#su
#PW
browse to that folder: #cd blablabla
run the config script: # sh config.sh
do a make:# make
do an install:# make install

this should work fine. After you have extracted the bz2 file in a folder, find the 'install' & readme doc. Read them first !

Regards;

Ignore this - it's not right. Firstly it's a bz2 file not a tar.bz2 file so it contains only a single compressed file, not a whole directory. Second it isn't source, so there is no Makefile or need to compile it.

Open up a console of some sort (gnome-terminal, xterm, aterm, eterm, konsole...)

First::
Code:

bunzip2 ut2004-lnx-demo-3120.run.bz2
will give you the file ut2004-lnx-demo-3120.run

(if you don't already know, pressing TAB will autocomplete filenames for you. Pressing it a couple of times will suggest possible filenames)

Next make the file executable:
Code:

chmod +x ut2004-lnx-demo-3120.run
This adds execute permissions so you can run the script.

Now just type:
Code:

./ut2004-lnx-demo-3120.run
To run the file. To install it system-wide you'll need to be root.

mr_a_ali 08-16-2004 06:28 PM

Thanks hosti, that method worked, and thanks to all for the help.

Komakino 08-16-2004 06:35 PM

Quote:

Originally posted by mr_a_ali
Thanks hosti, that method worked, and thanks to all for the help.
Uhhh, nope... not hosti...

mr_a_ali 08-16-2004 06:43 PM

AH sorry mixed up the names, YOUR method worked Komakino, so thanks :D , and thanks to all others who tried to help

mr_a_ali 08-16-2004 06:43 PM

Oh but one more question, how would I UNINSTALL this kind of file?

Komakino 08-16-2004 06:51 PM

Quote:

Originally posted by mr_a_ali
Oh but one more question, how would I UNINSTALL this kind of file?
That's a little harder. I think in this case Atari (or whoever published it) provide an uninstall script. Usually though you would just have to delete the directory and binary file (which is often in a different place) manually.

The method I use is:
Code:

rm -rf `locate <programname>`
which passes the output of the locate program to the input of rm. This has to be used with caution though, if the filename you pass to locate appears in an unrelated place then this will also remove that. If you use the -i option though, it will prompt you before deleting any files. Often it's an idea to run the locate part of it first, just to see what would be deleted.

smeager 09-10-2004 11:08 AM

UT2004 Demo for linux sound
 
Komakino

Thank you for your instructions on istalling those types of files. I was having the same problem. Now all I have to do is to get sound to play with the game and I will be good. Does any body know how to do that?


All times are GMT -5. The time now is 11:25 PM.