How to install on UbuntuStudio w/out having to install libjack0?

85 views
Skip to first unread message

Dean Peters

unread,
Mar 19, 2017, 8:38:19 PM3/19/17
to Magenta Discuss
I've been doing MIDI and music production on UbuntuStudio for some time now.

With me setting up Christmas-displaced PC with UbuntuStudio 16.10, now is the time to also go ahead and play with Tensorflo in the context of the Magenta project.

Only one problem:

The following packages have unmet dependencies:
 libjack
-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3build4) but it is not going to be installed
E
: Unable to correct problems, you have held broken packages.


Thing is, I do NOT want to install libjack0, as it'll break much of the rest of UbuntuStudio's out-of-the-box, extremely low latency, setup.

Put another way, if you install JACK1 then it removes JACK2 and consequently all the things that depend on it. I don't want that for my UbuntuStudio platform.

Has anyone else tackled this issue to date?

Put another way, it looks like I might have to go in and re-work the dependencies for JACK, which then means I'm on the hook to keep my fork updated.

Thoughts? Ideas? Bueller? Bueller?


Dean Peters

unread,
Mar 19, 2017, 8:58:52 PM3/19/17
to Magenta Discuss
Ok, a bit more poking around the github library, and I realized "Dang! This isn't a Tensorflow nor Magenta issue, this is a python-rtmidi issue!"

Digging into the magenta-install2.sh script, I applied a solution I had previously enjoyed with another application that required a re-compile with JACK2 in mind.  So on line 111 of the install script I replace

# replace line 111
sudo apt
-get install build-essential libasound2-dev libjack-dev

# with this
sudo apt
-get install build-essential libasound2-dev libjack-jackd2-dev libglib2.0-dev libsmf-dev

# may not even need libglib2.0-dev libsmf-dev?



And boom! I see on my screen:

Successfully installed python-rtmidi-1.0.0

==============================
Magenta Install Success!
 
Apologies for posting the question before realizing it wasn't an issue w/TF nor Magenta, but rather the installer.

I'll also update my post on medium.com (http://bit.ly/InstallingUbuntuStudio16) about installing UbuntuStudio 16.04 to include the above notes.

DP
Reply all
Reply to author
Forward
0 new messages