[opus] opus-tool installation guide

Mark Edwards Mark at EdwardsMark.com
Mon Mar 10 14:38:54 PDT 2014


hello all -

since i am such a newbie, i thought i would be the ideal person to put together a guide on how i got the opus tools working.  i am using virtualbox and a new centOS-linux virtual-machine.

i chose to use the minimalist centOS iso file so there would be no pre-installed packages.

any suggestions or improvements to this guide would be most appreciated.   

also, wish to express my gratitude to the tremendous effort that has gone into opus and the help and patience that has been offered to me along the way.

===========

here are the steps i went through to install the opus tools in a new environment:  (2014-03-10)

hint:  set up a shared folder and copy/paste these commands into files there.   on the linux side, do a "mount" to see where these files now live.  i was never able to get copy/paste working in the virtual-machine minimalist installation, but decided it was not worth wasting any more time with.

1) download appropriate minimalist centOS iso file:
ftp://mirror.5ninesolutions.com/pub/mirror/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-minimal.iso

2) download and install virtualbox:
https://www.virtualbox.org/wiki/Downloads

3) create a centOS virtual-machine using the ISO file from the previous step.   Before doing the install, point the CD device to the ISO file.

reference:  http://architects.dzone.com/articles/centos-minimal-installation
4) [optional] modify the ifcfg-etho file:

vi /etc/sysconfig/network-scripts/ifcfg-eth0
change: ONBOOT=no
to:   ONBOOT=yes

5) manually start the network:

/etc/init.d/network restart

6) get this virtual-machine current:

  yum  --assumeyes  update ;    ## have patience while this runs
  yum  --assumeyes  install yum-utils;
  yum  clean all ;

7) install the components:

  yum  --assumeyes  install gcc   ;
  yum  --assumeyes  install gcc-c++   ;
  yum  --assumeyes  install libgcc   ;
  yum  --assumeyes  install libtool ;
  yum  --assumeyes  install make ;
  yum  --assumeyes  install xz  ;
  yum  --assumeyes  install kernel-devel   ;
  yum  --assumeyes  install flac ;


8) create a work area:

  mkdir  ./opus-install ;
  cd  ./opus-install;

9) get the files and build the packages  (there is probably a git option that is better than curl ?)

  ###    l i b o g g 
curl  ftp://downloads.xiph.org/pub/xiph/releases/ogg/libogg-1.3.1.tar.xz    >libogg-1.3.1.tar.xz;
xz -d   libogg-1.3.1.tar.xz  ;  
tar  -x   libogg-1.3.1.tar  ;  
cd  libogg-1.3.1;
./configure  ;
make   && make check && make install ;

  ###    o p u s
curl http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz >  opus-1.1.tar.gz ; 
gzip -d   opus-1.1.tar.gz ; 
tar -x opus-1.1.tar ; 
cd opus-1.1 ; 
make  &&  make check  &&  make install ;

  ###  f l a c
curl  http://downloads.xiph.org/releases/flac/flac-1.3.0.tar.xz  >  flac-1.3.0.tar.xz ;
xz -d flac-1.3.0.tar.gz ;
tar -x  flac-1.3.0.tar ;
cd  flac-1.3.0 ;
make  &&  make check  &&  make install ;

 ###   o p u s     t o o l s
curl  http://downloads.xiph.org/releases/opus/opus-tools-0.1.7.tar.gz  >   opus-tools-0.1.7.tar.gz;
gzip -d     opus-tools-0.1.7.tar.gz  ; 
tar -xvf    opus-tools-0.1.7.tar  ;
cd   opus-tools-0.1.7   ;
make  && make install ;

10)  set the library path
export LD_LIBRARY_PATH=/usr/local/lib ;

11) test your work:
opusdec  --version ;
opusenc  --version ;
curl  http://people.xiph.org/~giles/2012/opus/detodos.opus  > detodos.opus ;
opusdec  detodos.opus   detodos.wav ;
opusenc  detodos.wav   detodos2.opus ;






Thank you,
Mark Edwards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20140310/95fb94ed/attachment-0001.htm 


More information about the opus mailing list