LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2004, 07:14 AM   #1
mr_a_ali
Member
 
Registered: Aug 2004
Location: USA
Distribution: SuSE 9.1 (Personal)
Posts: 49

Rep: Reputation: 15
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.
 
Old 08-16-2004, 07:43 AM   #2
hosti
LQ Newbie
 
Registered: Jul 2004
Location: Antwerp (be)
Posts: 7

Rep: Reputation: 0
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;
 
Old 08-16-2004, 08:04 AM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 08-16-2004, 05:28 PM   #4
mr_a_ali
Member
 
Registered: Aug 2004
Location: USA
Distribution: SuSE 9.1 (Personal)
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks hosti, that method worked, and thanks to all for the help.
 
Old 08-16-2004, 05:35 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by mr_a_ali
Thanks hosti, that method worked, and thanks to all for the help.
Uhhh, nope... not hosti...
 
Old 08-16-2004, 05:43 PM   #6
mr_a_ali
Member
 
Registered: Aug 2004
Location: USA
Distribution: SuSE 9.1 (Personal)
Posts: 49

Original Poster
Rep: Reputation: 15
AH sorry mixed up the names, YOUR method worked Komakino, so thanks , and thanks to all others who tried to help
 
Old 08-16-2004, 05:43 PM   #7
mr_a_ali
Member
 
Registered: Aug 2004
Location: USA
Distribution: SuSE 9.1 (Personal)
Posts: 49

Original Poster
Rep: Reputation: 15
Oh but one more question, how would I UNINSTALL this kind of file?
 
Old 08-16-2004, 05:51 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 09-10-2004, 10:08 AM   #9
smeager
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrakelinux 10
Posts: 1

Rep: Reputation: 0
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?
 
  


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
bz2.run installions?? J4ckfrost Linux - Newbie 2 09-17-2005 12:47 PM
install/run F4L-Beta-0.2.tar.bz2 issue jmcdonald21 Linux - Newbie 5 04-20-2005 11:23 PM
install/run F4L-Beta-0.2.tar.bz2 issue jmcdonald21 Linux - Software 1 04-19-2005 11:45 PM
how to install tar.bz2? Fear58 Linux - Software 1 06-20-2004 07:20 PM
How do I run a .bz2.torrent file? Wiggy Linux - General 2 05-31-2004 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:14 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
Open Source Consulting | Domain Registration