How to install OpenAL SDK on Ubuntu?

25,524

Solution 1

Why do you download from cvs instead of simply running apt-get install libopenal-dev? This automatically downloads OpenAL and its dependency.

Solution 2

sudo apt-get install libopenal-dev

will install OpenAL SDK and get you up and running ... alternatively if you want to compile from source ... the open source fork of openal lives at https://github.com/kcat/openal-soft (do a git log of the code once you do the git clone and you will see these two are source code mirrors )

get current source :

#  git clone git://repo.or.cz/openal-soft.git  # both are same code
git clone [email protected]:kcat/openal-soft.git

cd openal-soft 
cd build
cmake ..
make

if no errors, then install :

sudo make install

totally feel free to post here any errors you encounter - ubuntu 12.04 or newer nicely offers apt-get install for all necessary libraries.

here are some optional upstream libs

sudo apt-get install libsdl-sound1.2-dev
sudo apt-get install  libmyth-dev
Share:
25,524
SteveDeFacto
Author by

SteveDeFacto

Updated on December 01, 2020

Comments

  • SteveDeFacto
    SteveDeFacto over 3 years

    I'm very new to Linux and programming on Linux. I'm trying to install OpenAL SDK on ubuntu ... My best guess is that I will need to download OpenAL from the CVS repo. I found a tutorial: http://www.edenwaith.com/products/pige/tutorials/openal.php

    However, when I try to run the terminal command this is what happens:

    steven@ubuntu:~$ cvs -d:pserver:[email protected]:/usr/local/cvs-repository login
    Logging in to :pserver:[email protected]:2401/usr/local/cvs-repository
    CVS password: 
    cvs [login aborted]: connect to opensource.creative.com(124.246.64.74):2401 failed: No route to host
    

    Any tips on how to get the OpenAL SDK installed?