Posts tagged: install

How to install Introversion’s Uplink in Ubuntu 9.10 (or higher)

Quite a while ago I purchased Uplink (and Defcon) for Linux through the Introversion website. Uplink worked at the time (Ubuntu 8.10) but somewhere along the way Canonical removed the libgtk1.2 libraries from the Ubuntu repositories. This presents a problem when installing the game in later versions of Ubuntu.

sh uplink-complete-1.54DOWNLOAD.sh

complains

Verifying archive integrity... All good.
Uncompressing Uplink complete 1.54DOWNLOAD............................................................................................
.setup9739: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

I found the solution at the Introversion forums, written by forum member pl3w5y.

Download the following deb files. I prefer to use the command line.

wget http://ca.archive.ubuntu.com/ubuntu/pool/universe/g/gtk+1.2/libgtk1.2_1.2.10-18.1build2_i386.deb
wget http://ca.archive.ubuntu.com/ubuntu/pool/universe/g/glib1.2/libglib1.2ldbl_1.2.10-19build1_i386.deb
wget http://ca.archive.ubuntu.com/ubuntu/pool/universe/g/gtk+1.2/libgtk1.2-common_1.2.10-18.1build2_all.deb

You can swap out the ‘ca’ part of the url with ‘us’ or whatever your Ubuntu repository country code might be.

Now, inside the directory you downloaded them to, run

sudo dpkg -i *.deb

And that’s it. Now re-run the Uplink installer and the game should install fine.

Install Doom 3 in Ubuntu (from Steam)

These are further instructions to the Ubuntu Community documentation on Doom 3 (and Resurrection of Evil). Where those instructions deal with installing from the retail CDs which you’d be hard-pressed to find any more, my instructions are how to install from an existing Steam installation.

The Steam version of Doom 3 most likely exists within a Windows partition on your computer, but I don’t see why you couldn’t install Steam/Doom3 via Wine and copy the files over from that.

First, download the Doom 3 Linux installer from id software (~20MB). As of the time of this writing, the file name is doom3-linux-1.3.1.1304.x86.run.

Next, run the installer.

sudo sh doom3-linux-1.3.1.1304.x86.run

I left all options default, installing to /usr/local/games/doom3, which is why you need to run as sudo.

The game won’t run yet. We still have to copy the retail files over to the installation directory. So mount the Windows partition so we have access to those files.

The files we’re interested in are located in

Steam/steamapps/common/doom\ 3/base

and if you have the expansion

Steam/steamapps/common/doom\ 3/d3xp

and the CD-Keys (doomkey and xpkey) found in

Steam/steamapps/common/doom 3/base

To install Doom 3, navigate to the doom\ 3/base directory and copy each of

pak000.pk4
pak001.pk4
pak002.pk4
pak003.pk4
pak004.pk4

into

/usr/local/games/doom3/base

and if you are also installing Resurrection of Evil you’ll want to navigate to doom\ 3/d3xp and copy

pak000.pk4

into

/usr/local/games/doom3/d3xp

That’s it. To launch the game you can type

doom3

from the command line, and to launch Resurrection of Evil you type

doom3 +set fs_game d3xp

But wait! There’s more! A common complaint at this point is that the Steam CD-Key does not work. Doom 3 expects 18 characters, but the Steam provided CD Key contains only 16 characters.

Easy solution.

Copy doomkey, and xpkey if you have it, from the Doom 3 Steam directory into your local doom3 home directory

~/.doom3/base

Done!

DrPetter’s SFXR with Ubuntu 8.10

“Ubuntu 8.10” you say? Yep, I’m still rocking the Intrepid Ibex. Ubuntu 9.04 doesn’t work as well as I’d have hoped and I’ve got my Ubuntu 8.10 partition all configured and useful.

I’m getting off topic, though. I’ve been playing with the Slick game library (which is an extension of the LWJGL for Java game programming). And with any video game, you need sound effects. Lots of sound effects. And when you don’t know how to make sound effects, what better way to make them than… randomly!? Yes, by using a “random sound effect” generator. Particularly, DrPetter’s SFXR.

Download SFXR from DrPetter’s page first, but if that fails you can grab it locally here.

The install is the standard linux make/make install, but it requires libsdl1.2-dev and libgtk2.0-dev installed first. (Thanks to cecil for pointing out the gtk2 requirement).

sudo aptitude update
sudo aptitude install libsdl1.2-dev libgtk2.0-dev

Then run the make and install for SFXR (from within the SFXR directory)

make
sudo make install

Now you’re all set. You can run SFXR from the command line simply by typing sfxr.

Ubuntu, Firefox 3, and Adobe Flash

*Instructions not necessarily restricted to Ubuntu.

This article is brought about because a new Ubuntu user was asking in the #ubuntu irc channel on irc.freenode.net about installing Adobe’s Flash player.

The easiest method would be to just run

sudo apt-get install flashplugin-nonfree

or alternatively if you want to install a whole whack of non-free apps

sudo apt-get install ubuntu-restricted-extras

or kubuntu-restricted-extras (depending on your distro).

My experience with the apt-get method has been a bumpy road, to say the least. That tiny flash installer has *always* been an installation that takes hours. I don’t know why, maybe it’s that I’m in Canada. So I install Flash manually. Here’s how.

Visit http://adobe.com/ then find the “Get Flash” button and click it. Here is a link to the English US version.

Now select the “tar.gz” and download. By default it will download to your ~/Desktop.

When the download is complete, open a terminal (like bash ~ the command line). Type

cd ~/Desktop

to navigate within the command line to your desktop. Now untar (unpack, like unzipping) with the command

tar -xzf install_flash_player_9_linux.tar.gz

or you could start with “tar -xzf inst” and then press the Tab key on your keyboard. When inside a bash terminal, this will auto-complete the filename for you.

So now that the tar.gz has been unpacked, navigate into the unpacked directory.

cd install_flash_player_9_linux

Now you are in the directory with the flash installer. To install you will need to run the install script with root privileges. To do this you begin the install script with the word ‘sudo’ like the following

sudo ./flashplayer-installer

which will begin the Flash player installation. Follow the prompts through the warnings (by pressing ENTER) and close any browsers you have open. You should be at the prompt

Please enter the installation path of the Mozilla, Netscape,
or Opera browser (i.e., /usr/lib/mozilla):

By default, in Ubuntu 8.04, the Firefox3 path is /usr/lib/firefox-3* where the * represents the current version of Firefox3. In my case it is “/usr/lib/firefox-3.0.1” so that is the path I would type when asked.

The installer will ask you to confirm that the browser installation directory is correct, and to confirm just type

y

and you are done. Open up your browser and you should find that Flash is installed for Firefox 3.

Of course you can install to other browsers such as Flock or Opera just by pointing the install path to that of the browser you intend to install Flash to.

Staypressed theme by Themocracy