Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF on Ubuntu + Linux noob= headache  (Read 880 times)

Shawtay

  • Bay Watcher
    • View Profile
DF on Ubuntu + Linux noob= headache
« on: February 13, 2012, 10:34:38 am »

I'm trying to install DF on Ubuntu, and I can't seem to install the libraries required ( GTK+ 2+ , SDL 1.2+, and SDL_image, namely, along with the openGL (libgl or libglu), all as per in the readme.
I put the command in and I get this error:
Code: [Select]
sudo apt-get install SDL_image
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package SDL_image
I've already tried
Code: [Select]
sudo apt-get updateand it didn't help the problem.
is there something I need to add to my "/etc/apt/sources.list"?
Logged
He likes the color green, metals, flowers, olivine, and rain for its beauty. When possible, he prefers to consume tea. He absolutely detests social interaction.

Logen910

  • Bay Watcher
  • Biting people to death since 126,000 B.C.
    • View Profile
Re: DF on Ubuntu + Linux noob= headache
« Reply #1 on: February 13, 2012, 11:11:26 am »

Your profile pic is awesome. Just Sayin'.
Logged
This is a russian player. All craftsdwarfship is of the highest quality. It is studded with blood, death and pain and encircled with bands of bad grammar mistakes.

kaypy

  • Bay Watcher
    • View Profile
Re: DF on Ubuntu + Linux noob= headache
« Reply #2 on: February 13, 2012, 12:09:43 pm »

If you don't know the exact package name that you are after, you are probably better off using Synaptic or something rather than manually invoking apt-get.

That way you will get a reasonable GUI interface and a list of packages you can dredge through to find what you are after. Probably libSomething if they follow the usual ubuntu conventions, but the exact details can be fiddly.
Logged

KaminaSquirtle

  • Bay Watcher
    • View Profile
Re: DF on Ubuntu + Linux noob= headache
« Reply #3 on: February 13, 2012, 12:29:23 pm »

Indeed, the name of the package you're looking for is libsdl-image1.2. Keep in mind that if you're using a 64 bit version of Ubuntu, you'll be installing the 64 bit version of the library, which is useless for DF as it's a 32 bit application. If this is the case, you should install the ia32-libs package, and then use getlibs for any other 32 bit libraries that DF may need.

Also, I'm pretty sure that Canonical removed Synaptic from the default Ubuntu install, leaving users with only apt-get and the Ubuntu Software Center (which, of course, is useless if you want to install libraries). It's still in the repos, though.
Logged