LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-01-2009, 04:30 PM   #1
Nightspear
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 8.10 (intrepid)
Posts: 20

Rep: Reputation: 0
Help installing a game on Ubuntu 8.10


I am still fairly new to this OS. Please guide me in detail. I D/L the Paintball2 game from sourceforge.net, I tried to install it using "sudo apt-get install paintball2_build026_linux_full.tar.gz" It couldnt find the file. I D/l it again and saved to my desktop. I tried to install using "sudo dpkg -i paintball2_build026_linux_full.tar.gz.deb" I got an other couldn't find error. This is my first time installing without using the package manager or manually. Any help is greatly appreciated.

Nightspear

Last edited by Nightspear; 04-01-2009 at 04:36 PM.
 
Old 04-01-2009, 04:39 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
A tar file is a archive file.
You need to install it manually.
First unpack the archive
Code:
tar -xvzf paintball2_build026_linux_full.tar.gz
cd to the directory that has been created and read the readme files.
in general you need to do the folowing:
Code:
./configure
make
sudo make install
apt-get and dpkg are used to install .deb files.

Last edited by repo; 04-01-2009 at 04:45 PM.
 
Old 04-01-2009, 06:08 PM   #3
Nightspear
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 8.10 (intrepid)
Posts: 20

Original Poster
Rep: Reputation: 0
Repo

To make sure I am doing this correctly, I open a terminal window and put your first code in hit enter, it extracts, I change directories read the readme files (there is two) and enter your second code and this is what I get.

Quote:
mine@ubuntu:~/Desktop$ cd paintball2
mine@ubuntu:~/Desktop/paintball2$ less readme.txt
mine@ubuntu:~/Desktop/paintball2$ less README_Paintball2_alpha026.txt
mine@ubuntu:~/Desktop/paintball2$ ./configure
bash: ./configure: No such file or directory
mine@ubuntu:~/Desktop/paintball2$ make

Set to YES or NO at the top of this file the possible options to build by the makefile.
By default, it will build paintball2 and glx renderer.

Possible targets:

>> Add VERBOSE=YES to a verbose compilation output, defaults to NO
>> make release
>> make debug
>> make install (paintball2 home dir).
>> make install_root (required when was built with DATADIR/LIBDIR
options enabled, you must gain root privileges).
>> make clean (clean objects).
>> make clean_bin (clean executables).
>> make distclean (clean objects, executables and modified files).
>> make bz2 (create a tar.bz2 package with the full release distribution).

mine@ubuntu:~/Desktop/paintball2$ sudo make install
Copying files to your home dir
......
`paintball2' -> `/home/mine/paintball2'
`linux/paintball2.run' -> `/home/mine/paintball2'
chmod: cannot access `/home/mine/paintball2/paintball2.run': Not a directory
make: *** [install] Error 1
mine@ubuntu:~/Desktop/paintball2$
 
Old 04-02-2009, 01:19 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Do you see a file INSTALL ?
try to read it

seems to me you first need to do
Code:
make release
then
Code:
make install
Since it gets installed in your homedirectory you don't need to use sudo to make install.
 
Old 04-02-2009, 12:29 PM   #5
Nightspear
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 8.10 (intrepid)
Posts: 20

Original Poster
Rep: Reputation: 0
Repo

There was no install file. I tried to "make release" code and got an error. I assume I am to do this inside the Paintball2 directory.
Quote:
mine@ubuntu:~$ cd Desktop
mine@ubuntu:~/Desktop$ cd paintball2
mine@ubuntu:~/Desktop/paintball2$ make release
mkdir: cannot create directory `paintball2': File exists
make: [release] Error 1 (ignored)
make targets BUILDDIR=build_release CFLAGS="-I/usr/local/include -I/usr/X11R6/include -Dstricmp=strcasecmp -D_inline= -DSleep=usleep -DGAME_NAME='\"gamei386.so\"' -DPAINTBALL2_VERSION='\"2.0\"' -DBUILD_VERSION='\"17\"' -Wno-pointer-sign -D_THREAD_SAFE -DC_ONLY -ffast-math -ffloat-store -funroll-loops"
make[1]: Entering directory `/home/mine/Desktop/paintball2'

**Built Paintball2 client with cflags:
-I/usr/local/include -I/usr/X11R6/include -Dstricmp=strcasecmp -D_inline= -DSleep=usleep -DGAME_NAME='gamei386.so' -DPAINTBALL2_VERSION='2.0' -DBUILD_VERSION='17' -Wno-pointer-sign -D_THREAD_SAFE -DC_ONLY -ffast-math -ffloat-store -funroll-loops

**Now linking Paintball2 client with flags:
-L/usr/local/lib -lm -ldl -lrt -lvorbisfile -lvorbis -logg

cc -I/usr/local/include -I/usr/X11R6/include -Dstricmp=strcasecmp -D_inline= -DSleep=usleep -DGAME_NAME='"gamei386.so"' -DPAINTBALL2_VERSION='"2.0"' -DBUILD_VERSION='"17"' -Wno-pointer-sign -D_THREAD_SAFE -DC_ONLY -ffast-math -ffloat-store -funroll-loops -o paintball2/paintball2 build_release/a3d/q2a3d.o build_release/client/cl_cin.o build_release/client/cl_ents.o build_release/client/cl_fx.o build_release/client/cl_input.o build_release/client/cl_inv.o build_release/client/cl_main.o build_release/client/cl_parse.o build_release/client/cl_pred.o build_release/client/cl_tent.o build_release/client/cl_scrn.o build_release/client/cl_view.o build_release/client/cl_newfx.o build_release/client/console.o build_release/client/keys.o build_release/client/menu.o build_release/client/cl_vote.o build_release/client/cl_loc.o build_release/client/cl_scores.o build_release/client/cl_serverlist.o build_release/client/cl_decode.o build_release/client/cl_hud.o build_release/client/cl_images.o build_release/client/snd_dma.o build_release/client/snd_mem.o build_release/client/snd_mix.o build_release/client/m_flash.o build_release/client/cmd.o build_release/client/cmodel.o build_release/client/common.o build_release/client/crc.o build_release/client/cvar.o build_release/client/files.o build_release/client/md4.o build_release/client/net_chan.o build_release/client/cl_profile.o build_release/client/sv_ccmds.o build_release/client/sv_ents.o build_release/client/sv_game.o build_release/client/sv_init.o build_release/client/sv_main.o build_release/client/sv_send.o build_release/client/sv_user.o build_release/client/sv_world.o build_release/client/md5.o build_release/client/q_shlinux.o build_release/client/vid_so.o build_release/client/sys_linux.o build_release/client/glob.o build_release/client/net_udp.o build_release/client/net_common.o build_release/client/net_tcp.o build_release/client/q_shared.o build_release/client/pmove.o build_release/client/snd_ogg.o build_release/client/vid_common.o build_release/client/cl_stats.o build_release/client/cd_linux.o -L/usr/local/lib -lm -ldl -lrt -lvorbisfile -lvorbis -logg
/usr/bin/ld: cannot open output file paintball2/paintball2: Not a directory
collect2: ld returned 1 exit status
make[1]: *** [paintball2/paintball2] Error 1
make[1]: Leaving directory `/home/mine/Desktop/paintball2'
make: *** [release] Error 2
mine@ubuntu:~/Desktop/paintball2$
 
Old 04-02-2009, 01:04 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
OK,

I have downloaded the file
paintball2_build026_linux_full.tar.gz
from
http://sourceforge.net/project/showf...ease_id=665372

You don't need to compile it, it is already compiled.
So just do the following:

Code:
tar -xvzf paintball2_build026_linux_full.tar.gz
cd paintball2
Then start the game

Code:
./paintball2

The game starts on my laptop.

I would suggest to delete the old directory of paintbal2, and start over with the new download.

Last edited by repo; 04-02-2009 at 01:11 PM.
 
Old 04-02-2009, 02:29 PM   #7
Nightspear
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 8.10 (intrepid)
Posts: 20

Original Poster
Rep: Reputation: 0
Awesome!! it works. Many thanks Repo. You are the man.

I checked out your page for linux beginners and it goes over a lot but its very informative. I will go through it more when I get more time.

Thanks again Repo.

Last edited by Nightspear; 04-02-2009 at 02:31 PM.
 
  


Reply



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
Just Started with Ubuntu, trying to get a game working stu_mueller Ubuntu 3 06-24-2007 01:32 PM
Need help installing game cxiii Slackware 2 02-13-2007 09:15 PM
Installing wesnoth game MalachiX Linux - Newbie 1 03-08-2005 03:47 PM
Installing a game psevens Linux - Software 10 09-29-2004 06:40 AM
Would appreciate help installing a game aschueler Linux - Newbie 5 10-09-2003 09:15 PM

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

All times are GMT -5. The time now is 10: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