Play I-Doser DRG Files on Linux with Freedoser

I have created I-doser Drug File (.DRG) player for Linux. Have tested this on Ubuntu Jaunty Jackalope 64 Bit but it should work for most Linux distros.

I will illustrate how to install this on Ubuntu. Please follow the instructions carefully to get it working.

Getting the essentials
Make sure you have the universe repository enabled. Then open up the terminal and type in or copy\paste the following commands one after another. Enter password when prompted.

sudo apt-get update
sudo apt-get install build-essential libssl-dev libtool libvorbis-dev libvorbisidec-dev libmad0-dev

Getting Ready
In the terminal, copy\paste or type in the following commands one after another.

mkdir freedoser
cd freedoser

Move on to the next step with the terminal open.

Getting the software
Type in or copy/paste the following in your terminal to download the software:


Type in or copy/paste the following command to unpack.

tar -xvvzf freedoser.tar.gz

Type in the following commands to install. Please report any error you encounter as comments to this blog post. Enter password when prompted.

sudo cp freedoser /usr/bin/
cd drg2sbg
sed -i 's/-Werror//g' src/Makefile
sudo make install
cd ../sbagen-1.4.4/
cp /usr/lib/libvorbisidec.a libs/linux-libvorbisidec.a
cp /usr/lib/libmad.a libs/linux-libmad.a
sudo cp sbagen /usr/bin/

If you encounter no errors, installation should be complete. Press Alt+F2 to bring up the Run Application dialog and then type in freedoser and press enter. If everything went ok, it should ask you to select a DRG file. Select a DRG you purchased (or received for free) and it will ask you if you want to continue. Press OK and it will start playing. Press Cancel any time to abort.

I have not tested this anywhere else except my PC and it may not work for you. Please post the problems you encounter here and I will see if I can solve it.

I-doser is a trademark of This site/project is not affiliated with I-Doser Labs in any way.

Thanks to Manuel Arguelles for porting our code from VB to C. His project page is here.
Thanks to Jim Peters, the author of sbagen, who made I-doser possible.

The source code for the freedoser is released under GPL v3 and you may modify/change redistribute it.

Please support the project by recommending I-doser users who use Linux to use try this program in I-doser forum.


  • Don Emma

    @5efb6f254953986c667c4de14bc117c3:disqus  i have exactly the same problem that you have… Anyone have an answer for this error??? I need it because i want to expose this week in my class ):

  • SadLittlePony

    Hello I am quite thankful to see this available to linux users as I have recently switched to linux. But I am running Fedora 16 and the information for installation is invalid for us fedora users. I hope that someone could guide me through installing it in Fedora or possibly create a .rpm for us.

  • Gonzo the Bonzo

    ubuntu, 10.04 updated with kernel 2.6.32-40-generic-pae, alsa, it compiled well with no errors, installation ok, and working fine here, great job!

    • Gonzo the Bonzo

      just one thing i missed was a GUI or some visual flashy annoying lights all over 😉

  • Agnes

    Some sound problems with Ubuntu 11.04 (mostly muted volume if another program was using the sound), but rebooting always fixed those. Upgraded to Ubuntu 12.04 and sound would not work until freedoser was launched using the “padsp freedoser” command. Now it works fine.

  • s2me

    Tried to install opendoser 2.5 from rpm package on my Samsung R58 with Debian 6.0.6.
    But cant run it. It dont shows any errors, but window not appears.
    Got luck with freedoser.
    Still no sound when run “freedoser”, and all fine with “padsp freedoser”.
    Thanks man! Thats really great program.