Changes between Version 21 and Version 22 of Dependencies/Ubuntu

Show
Ignore:
Author:
arnonym (IP: 89.196.86.72)
Timestamp:
05/15/10 14:20:54 (7 years ago)
Comment:

Changed the ordering to "newest first", removed some unneeded dependencies, some maintainance...

Legend:

Unmodified
Added
Removed
Modified
  • Dependencies/Ubuntu

    v21 v22  
    11''This page is a pretty random patchwork of user contributions. Please help filter out generic information, and delete everything that's redundant.'' 
    22 
    3 = Resolving dependencies on Ubuntu systems = 
     3'''The sorting has changed to "newest version first".''' 
     4 
     5== Resolving dependencies on Ubuntu systems == 
    46 
    57One of the easiest ways to obtain all packages necessary to build a certain package is using the build-dep feature of apt-get: 
    810}}} 
    911 
    10 However since there is no libffado in the repository yet, this won't work for FFADO. But applying it to libfreebob can already help a lot: 
    11 {{{ 
    12 $ sudo apt-get build-dep libfreebob 
     12So to build ffado, the best is to get all whats needed with 
     13{{{ 
     14$ sudo apt-get build-dep libffado 
    1315}}} 
    1416 
    1517This will install most of what is needed to build libffado. 
    1618 
    17 '''acspike noted on Thu, 07/03/2008 - 22:32 that you need to add "build-essential" to the list of dependencies.''' 
    18  
    19 == Feisty == 
    20  
    21 First of all install the [http://ubuntustudio.org UbuntuStudio] packages.  
    22 Then install a realtime-enabled kernel, provided at [https://wiki.ubuntu.com/RealTime] (!UbuntuStudio installs only a low latency kernel for now). 
    23 Make sure that your user is a member of the audio group. 
    24  
    25 ''more on realtime priorities and tuning at [http://tapas.affenbande.org/wordpress/?page_id=40].'' 
    26  
    27 ''The following section has been taken from the website docs as submitted by glurgle on Sat, 05/12/2007 - 22:56.. Please help integrating it into our existing docs structure.'' 
    28  
    29     * db2ps (for libraw1394, provided by docbook-utils) 
    30 {{{ 
    31       $ sudo apt-get install subversion libiec61883-0 libiec61883-dev libavc1394-0 libavc1394-dev libxml++2.6c2a libxml++2.6-dev liblo0 liblo0-dev docbook-utils 
    32 }}} 
    33     * libraw1394 >= 1.3.0 (=> SVN) 
    34 {{{ 
    35       $ svn co svn://svn.linux1394.org/libraw1394/trunk libraw1394-svn 
    36       $ cd libraw1394-svn 
    37       $ autoreconf -f -i -s 
    38       $ ./configure --prefix=YOUR_PREFIX 
    39       $ make 
    40       $ sudo make install 
    41 }}} 
    42     * kernel >= 2.6.21 if you want to use the streaming system. The device control parts will work fine with older kernels. Ubuntu Feisty contains a patched 2.6.20 kernel that should work as well.  
    43  
    44 == Gutsy (7.10) == 
     19 
     20 
     21= Ubuntu Studio 10.04 (Lucid Lynx) = 
     22 
     23In short: exactly the same as Ubuntu Studio 9.04.  
     24 
     25But this is the complete step-by-step procedure to build FFADO and JACK from source on a fresh install of Ubuntu Studio 10.04: 
     26 
     27Open a terminal window, and don't exit from your home directory. Install the required packages entering: 
     28 
     29{{{ 
     30$ sudo apt-get build-dep libffado 
     31$ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
     32}}} 
     33 
     34Now download FFADO sources, and build FFADO using "scons": 
     35 
     36{{{ 
     37$ svn checkout http://subversion.ffado.org/ffado/trunk/libffado ffado-svn 
     38$ cd ffado-svn 
     39$ scons PREFIX=/usr 
     40$ sudo scons install 
     41$ cd .. 
     42}}} 
     43 
     44Download and build sources for JACK: 
     45 
     46{{{ 
     47$ svn co http://subversion.jackaudio.org/jack/trunk/jack jack 
     48$ cd jack 
     49$ ./autogen.sh --prefix=/usr 
     50$ ./configure --prefix=/usr --with-default-tmpdir=/dev/shm 
     51$ make 
     52$ sudo make install 
     53$ cd .. 
     54}}} 
     55 
     56Now, enable access for raw1394 using the included app "Ubuntu Studio Controls" (in Administration menu). Check the related option box, and it will automatically add the required udev rule. Reboot to get it working (see [https://help.ubuntu.com/community/UbuntuStudioControls Ubuntu Studio Controls]). 
     57 
     58That's all. Plug and power on your firewire audio device and test it, opening a terminal window again and entering: 
     59 
     60{{{ 
     61$ ffado-dbus-server & 
     62}}} 
     63 
     64Check for error messages, to be sure your firewire device is detected. And then open ffado-mixer (in the audio applications menu) to complete the test. 
     65 
     66 
     67= Ubuntu 9.10 (Karmic) = 
     68 
     69In Karmic, you have already FFADO 2.0 RC2 available in the repository. So, you can intall this packaged version with Synaptic, and use the following command to solve the main dependencies to build a newer FFADO version from source: 
     70 
     71{{{ 
     72$ sudo apt-get build-dep libffado 
     73}}} 
     74 
     75You need to manually add the following packages: 
     76 
     77{{{ 
     78$ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
     79}}} 
     80 
     81That's all you need to build FFADO and JACK. 
     82 
     83But FFADO and JACK alone are not very useful if you do not install some other audio related software, like Ardour and Qjackctl. 
     84 
     85Read Ubuntu Studio's wiki pages ([https://help.ubuntu.com/community/UbuntuStudioPreparation here] and [https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu here]) to know how to convert your "vanilla" Ubuntu Karmic in a Ubuntu Studio install, according to your own interests. 
     86 
     87The minimum install you can use to have Ardour working with FFADO is: 
     88{{{ 
     89$ sudo apt-get install ardour jackd jack-rack qjackctl 
     90}}} 
     91 
     92And for low latency, install the real-time kernel, too: 
     93 
     94{{{ 
     95$ sudo apt-get install linux-rt linux-headers-rt 
     96}}} 
     97 
     98and a new entry will be added to your GRUB menu, to let you choose the standard or the RT kernel on boot. 
     99 
     100Now you can proceed to [wiki:DownloadFfadoSource download the sources] and [wiki:CompileAndInstallFfado start building the new FFADO] over the existing one. Read carefully AvoidingParallelInstallations. Once you have FFADO succesfully built, download sources for JACK and build it. 
     101 
     102And do not forget to check [wiki:KernelModuleAndPermissions kernel modules and device permissions]. By default, you do not have permissions to access /dev/raw1394 in Karmic, to avoid security risks with firewire hard drives.  
     103 
     104== Ubuntu Studio 9.10 == 
     105 
     106This distro is the easy way to start from. The default install includes FFADO 2.0 RC2, JACK, Ardour and much more... 
     107 
     108To build a new FFADO version from source, install the required dependencies (same as above): 
     109 
     110{{{ 
     111$ sudo apt-get build-dep libffado 
     112$ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
     113}}} 
     114 
     115Then you can download the sources and build FFADO and JACK in the same way explained for "vanilla" Ubuntu 9.10. 
     116 
     117To enable access for raw1394, you can use the included app "Ubuntu Studio Controls". Check the related option box, and it will automatically add the required udev rule. Reboot to get it working (see [https://help.ubuntu.com/community/UbuntuStudioControls Ubuntu Studio Controls]). 
     118 
     119 
     120 
     121= Ubuntu 8.04. = 
     122 
     123''The following section has been taken from the website docs as submitted by nilux on Wed, 06/18/2008 - 11:37. Please help integrating it into our existing docs structure.'' 
     124 
     125Open a terminal and install the appropriate dependencies : 
     126{{{ 
     127$ sudo apt-get install scons libiec61883-dev libavc1394-dev libxml++2.6-dev liblo0-dev docbook-utils libexpat-dev libdbus-1-dev \ 
     128pyqt-tools python-dbus python-qt3 
     129}}} 
     130 
     131== Compiling errors == 
     132 
     133...can happen when using source-code directly from the version control. Please either contact the devs at ffado-devel at lists.sourceforge.net or on irc at #ffado. Or commit them as bugs by creating a [/newticket new ticket]. 
     134 
     135 
     136 
     137= Gutsy (7.10) = 
    45138 
    46139|| Dependency || Runtime package || Build package || 
    72165* Or transform a normal gutsy into Ubuntu Studio by adding the packages '''ubuntustudio-audio''' and '''linux-image-rt''' - you probably also want '''ubuntustudio-audio-plugins''' and add your user to the audio group if not already a member. 
    73166 
    74 === what do I do now? === 
     167== what do I do now? == 
    75168 
    76169If you've not run jack before, and you just want to know your setup works, install the packages '''qjackctl alsaplayer-jack alsaplayer-text'''.  
    84177 
    85178 
    86 === In case of trouble === 
     179== In case of trouble == 
    87180 
    88181* Check you have the packages '''libiec61883 libavc1394 libraw1394 libfreebob''' installed. 
    101194 
    102195 
    103 === FFADO === 
     196== FFADO == 
    104197 
    105198If your PC and audio device can work with FreeBoB, it is worth trying FreeBoB first to confirm all is well with the hardware. 
    109202If you have followed the steps so far, you now need to install the following packages: 
    110203 
    111 '''subversion libiec61883-0 libiec61883-dev libavc1394-0 libavc1394-dev libxml++2.6c2a libxml++2.6-dev liblo0 liblo0-dev docbook-utils pyqt-tools python-qt-dev python-qt4-dbus python-qt4-dev'''   
    112  
    113  
    114 === Tips === 
     204'''subversion libiec61883-dev libavc1394-dev libxml++2.6-dev liblo0-dev docbook-utils pyqt-tools python-qt-dev python-qt4-dbus python-qt4-dev'''   
     205 
     206 
     207== Tips == 
    115208 
    116209* The standard Gutsy version of qjackctl cannot show jack-midi devices, as provided by Ffado. The latest version can - go to http://qjackctl.sourceforge.net/ 
    124217* You might also look around your system for unnecessary cycle eaters such as beagle, famd or any periodic monitoring services. 
    125218 
    126 == Ubuntu 8.04. == 
    127  
    128 ''The following section has been taken from the website docs as submitted by nilux on Wed, 06/18/2008 - 11:37. Please help integrating it into our existing docs structure.'' 
    129  
    130 Open a terminal and install the appropriate dependencies : 
    131 {{{ 
    132 $ sudo apt-get install scons libiec61883-0 libiec61883-dev libavc1394-0 libavc1394-dev \ 
    133 libxml++2.6c2a libxml++2.6-dev liblo0 liblo0-dev docbook-utils libexpat-dev libdbus-1-dev \ 
    134 pyqt-tools python-dbus python-qt3 
    135 }}} 
    136  
    137 === Compiling errors === 
    138  
    139 ...can happen when using source-code directly from the version control. Please either contact the devs at ffado-devel at lists.sourceforge.net or on irc at #ffado. Or commit them as bugs by creating a [/newticket new ticket]. 
    140  
    141  
    142 == Ubuntu 9.10 (Karmic) == 
    143  
    144 In Karmic, you have already FFADO 2.0 RC2 available in the repository. So, you can intall this packaged version with Synaptic, and use the following command to solve the main dependencies to build a newer FFADO version from source: 
    145  
    146 {{{ 
    147 $ sudo apt-get build-dep libffado 
    148 }}} 
    149  
    150 You need to manually add the following packages: 
    151  
    152 {{{ 
    153 $ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
    154 }}} 
    155  
    156 That's all you need to build FFADO and JACK. 
    157  
    158 But FFADO and JACK alone are not very useful if you do not install some other audio related software, like Ardour and Qjackctl. 
    159  
    160 Read Ubuntu Studio's wiki pages ([https://help.ubuntu.com/community/UbuntuStudioPreparation here] and [https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu here]) to know how to convert your "vanilla" Ubuntu Karmic in a Ubuntu Studio install, according to your own interests. 
    161  
    162 The minimum install you can use to have Ardour working with FFADO is: 
    163 {{{ 
    164 $ sudo apt-get install ardour jackd jack-rack qjackctl 
    165 }}} 
    166  
    167 And for low latency, install the real-time kernel, too: 
    168  
    169 {{{ 
    170 $ sudo apt-get install linux-rt linux-headers-rt 
    171 }}} 
    172  
    173 and a new entry will be added to your GRUB menu, to let you choose the standard or the RT kernel on boot. 
    174  
    175 Now you can proceed to [wiki:DownloadFfadoSource download the sources] and [wiki:CompileAndInstallFfado start building the new FFADO] over the existing one. Read carefully AvoidingParallelInstallations. Once you have FFADO succesfully built, download sources for JACK and build it. 
    176  
    177 And do not forget to check [wiki:KernelModuleAndPermissions kernel modules and device permissions]. By default, you do not have permissions to access /dev/raw1394 in Karmic, to avoid security risks with firewire hard drives.  
    178  
    179 == Ubuntu Studio 9.10 == 
    180  
    181 This distro is the easy way to start from. The default install includes FFADO 2.0 RC2, JACK, Ardour and much more... 
    182  
    183 To build a new FFADO version from source, install the required dependencies (same as above): 
    184  
    185 {{{ 
    186 $ sudo apt-get build-dep libffado 
    187 $ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
    188 }}} 
    189  
    190 Then you can download the sources and build FFADO and JACK in the same way explained for "vanilla" Ubuntu 9.10. 
    191  
    192 To enable acces for raw1394, you can use the included app "Ubuntu Studio Controls". Check the related option box, and it will automatically add the required udev rule. Reboot to get it working (see [https://help.ubuntu.com/community/UbuntuStudioControls Ubuntu Studio Controls]). 
    193  
    194  
    195  
    196  
    197  
    198 == Ubuntu Studio 10.04 (Lucid Lynx) == 
    199  
    200 In short: exactly the same as Ubuntu Studio 9.04.  
    201  
    202 But this is the complete step-by-step procedure to build FFADO and JACK from source on a fresh install of Ubuntu Studio 10.04: 
    203  
    204 Open a terminal window, and don't exit from your home directory. Install the required packages entering: 
    205  
    206 {{{ 
    207 $ sudo apt-get build-dep libffado 
    208 $ sudo apt-get install build-essential libavc1394-dev python-qt4-dev subversion libtool 
    209 }}} 
    210  
    211 Now download FFADO sources, and build FFADO using "scons": 
    212  
    213 {{{ 
    214 $ mkdir ffado-sources 
    215 $ cd ffado-sources 
    216 $ svn checkout http://subversion.ffado.org/ffado/trunk/libffado ffado-svn 
    217 $ cd ffado-svn 
    218 $ sudo scons PREFIX=/usr 
    219 $ sudo scons PREFIX=/usr install 
    220 $ cd ../.. 
    221 }}} 
    222  
    223 Download and build sources for JACK: 
    224  
    225 {{{ 
    226 $ mkdir jack-sources 
    227 $ cd jack-sources 
    228 $ svn co http://subversion.jackaudio.org/jack/trunk/jack jack 
    229 $ cd jack 
    230 $ ./autogen.sh --prefix=/usr 
    231 $ ./configure --prefix=/usr --with-default-tmpdir=/dev/shm 
    232 $ make 
    233 $ sudo make install 
    234 $ cd ../.. 
    235 }}} 
    236  
    237 Now, enable access for raw1394 using the included app "Ubuntu Studio Controls" (in Administration menu). Check the related option box, and it will automatically add the required udev rule. Reboot to get it working (see [https://help.ubuntu.com/community/UbuntuStudioControls Ubuntu Studio Controls]). 
    238  
    239 That's all. Plug and power on your firewire audio device and test it, opening a terminal window again and entering: 
    240  
    241 {{{ 
    242 $ ffado-dbus-server& 
    243 }}} 
    244  
    245 Check for error messages, to be sure your firewire device is detected. And then open ffado-mixer (in the audio applications menu) to complete the test. 
    246  
    247  
    248  
    249  
     219 
     220 
     221 
     222= Feisty = 
     223 
     224First of all install the [http://ubuntustudio.org UbuntuStudio] packages.  
     225Then install a realtime-enabled kernel, provided at [https://wiki.ubuntu.com/RealTime] (!UbuntuStudio installs only a low latency kernel for now). 
     226Make sure that your user is a member of the audio group. 
     227 
     228''more on realtime priorities and tuning at [http://tapas.affenbande.org/wordpress/?page_id=40].'' 
     229 
     230''The following section has been taken from the website docs as submitted by glurgle on Sat, 05/12/2007 - 22:56.. Please help integrating it into our existing docs structure.'' 
     231 
     232    * db2ps (for libraw1394, provided by docbook-utils) 
     233{{{ 
     234      $ sudo apt-get install subversion libiec61883-0 libiec61883-dev libavc1394-0 libavc1394-dev libxml++2.6c2a libxml++2.6-dev liblo0 liblo0-dev docbook-utils 
     235}}} 
     236    * libraw1394 >= 1.3.0 (=> SVN) 
     237{{{ 
     238      $ svn co svn://svn.linux1394.org/libraw1394/trunk libraw1394-svn 
     239      $ cd libraw1394-svn 
     240      $ autoreconf -f -i -s 
     241      $ ./configure --prefix=YOUR_PREFIX 
     242      $ make 
     243      $ sudo make install 
     244}}} 
     245    * kernel >= 2.6.21 if you want to use the streaming system. The device control parts will work fine with older kernels. Ubuntu Feisty contains a patched 2.6.20 kernel that should work as well.  
    250246 
    251247  
    252  
    253  
    254  
    255  
    256  
    257  
    258  
    259  
    260  
    261  
    262  
    263  
    264  
    265   
    266  
    267  
    268  
    269  
    270  
    271