Sudo install OpenGL & SDL on Ubuntu

A quick and easy way would be to type the following in one line with single spaces in the Terminal.
This way of installing OpenGL and SDL libraries only applies to Ubuntu.

sudo apt-get install
nvidia-glx-new-dev
libglew1.4-dev
libsdl1.2-dev
libsdl-ttf2.0-dev
libsdl-image1.2-dev
libsdl-mixer1.2-dev
Tags:
0 0 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
r2stik
10 years ago

[email protected]:/home/r2stik# sudo apt-get install
E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
[email protected]:/home/r2stik# nvidia-glx-new-dev
nvidia-glx-new-dev: command not found
[email protected]:/home/r2stik# libglew1.4-dev
libglew1.4-dev: command not found
[email protected]:/home/r2stik# libsdl1.2-dev
libsdl1.2-dev: command not found
[email protected]:/home/r2stik# libsdl-ttf2.0-dev
libsdl-ttf2.0-dev: command not found
[email protected]:/home/r2stik# libsdl-image1.2-dev

libsdl-image1.2-dev: command not found
[email protected]:/home/r2stik# libsdl-mixer1.2-dev
libsdl-mixer1.2-dev: command not found
[email protected]:/home/r2stik#