LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2010, 10:47 PM   #1
Maxaxle
LQ Newbie
 
Registered: Aug 2010
Location: San Diego, California
Distribution: Xubuntu
Posts: 7

Rep: Reputation: 0
Installing SDL (Xubuntu)?


How do I install SDL (and other libraries) onto my dual-boot (XP/Xubuntu) computer? With only what came on the Xubuntu disk, I am able to play Oolite at what seems to be 1000 FPS, and Torcs at about 70 FPS.
 
Old 08-03-2010, 04:42 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

The install commands : 1) sudo apt-get update

2) sudo apt-get install \
libsdl1.2debian libsdl-image1.2 libsdl-gfx1.2-4 libsdl-mixer1.2 \
libsdl-net1.2 libsdl-perl libsdl-sound1.2 libsdl-ttf1.2
( Not all of those may be required, but : most are small files.)

Alternative install method :
"Synaptic" is the GUI Package Manager : Start with hitting the 'Refresh' button.
( Will update the package list, like 'sudo apt-get update'. )
And then enter libsdl to ' Search '.

Good luck.
..

Last edited by knudfl; 08-03-2010 at 09:11 AM.
 
1 members found this post helpful.
Old 08-03-2010, 12:04 PM   #3
GetafixJr
LQ Newbie
 
Registered: Apr 2010
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 1
Quote:
Originally Posted by Maxaxle View Post
...I am able to play Oolite at what seems to be 1000 FPS, and Torcs at about 70 FPS.
Just for the record, for Oolite (at least for the latest 1.74.2 release) only
libsdl1.2debian and
libsdl-mixer1.2
are needed, as far as it concerns SDL dependencies.

Furthermore, I don't think that installing SDL will increase the applications' framerate.
 
1 members found this post helpful.
Old 08-03-2010, 12:19 PM   #4
Maxaxle
LQ Newbie
 
Registered: Aug 2010
Location: San Diego, California
Distribution: Xubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
I just tried the Terminal lines, but it comes up with:
Quote:
alex@alex-desktop:~/Desktop$ sudo apt-get install \ libsdl1.2debian libsdl-image1.2 libsdl-perl libsdl-sound1.2 libsdl-ttf1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libsdl1.2debian
alex@alex-desktop:~/Desktop$ sudo apt-get install \ libsdl-image1.2 libsdl-perl libsdl-sound1.2 libsdl-ttf1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libsdl-image1.2
alex@alex-desktop:~/Desktop$ ^C
alex@alex-desktop:~/Desktop$
Or am I supposed to open a terminal in the downloaded SDL folder?
 
Old 08-04-2010, 02:12 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Well, you can do : 1) sudo apt-get update
2) sudo apt-get install libsdl-mixer1.2

.. as suggested by @GetafixJr. The libsdl1.2* will follow too.

Or use : apt-cache search libsdl
.. to get the package names.

Which version of Ubuntu is it ? 10.10 ?
..

P.S. : If you still get the message : "" E: Couldn't find package .... ""
after the "package list refresh" = 'sudo apt-get update
.. then you can try changing the mirror in 'Software Sources' :
System > Administration > Software Sources.
Synaptic: System > Administration > Synaptic >> Settings >> Repositories. ...
..

Last edited by knudfl; 08-04-2010 at 03:33 AM.
 
Old 08-04-2010, 08:46 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by Maxaxle View Post
Or am I supposed to open a terminal in the downloaded SDL folder?
What downloaded SDL folder?

You aren't supposed to download anything off the SDL website.
 
Old 08-06-2010, 10:34 PM   #7
Maxaxle
LQ Newbie
 
Registered: Aug 2010
Location: San Diego, California
Distribution: Xubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Well, you can do : 1) sudo apt-get update
2) sudo apt-get install libsdl-mixer1.2

.. as suggested by @GetafixJr. The libsdl1.2* will follow too.

Or use : apt-cache search libsdl
.. to get the package names.

Which version of Ubuntu is it ? 10.10 ?
..

P.S. : If you still get the message : "" E: Couldn't find package .... ""
after the "package list refresh" = 'sudo apt-get update
.. then you can try changing the mirror in 'Software Sources' :
System > Administration > Software Sources.
Synaptic: System > Administration > Synaptic >> Settings >> Repositories. ...
..
Tried all of the commands, and successfully updated some stuff (I wasn't paying attention to what it was, but I remember that it was relatively important stuff).
I can't believe I didn't see Synaptic . Thanks!
Quote:
Originally Posted by MTK358 View Post
What downloaded SDL folder?

You aren't supposed to download anything off the SDL website.
Uhm...carp. Thanks for telling me.
 
  


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
Sourcecompiling Problem...The sdl-config script installed by SDL could not be found. deepclutch Debian 1 12-15-2005 01:15 PM
Installing SDL TheReven Linux - Software 10 05-23-2005 03:52 AM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 08:50 AM
Installing SDL problem ctux Linux - Software 1 08-07-2004 08:21 AM
Help With Installing SDL Mixer sovietpower Linux - Software 1 11-10-2003 06:44 PM


All times are GMT -5. The time now is 05:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration