# Installing MP3 on JuliaBox

**URL:** <https://discourse.julialang.org/t/installing-mp3-on-juliabox/839>\
**Category:** General Usage\
**Tags:** juliabox\
**Created:** [December 9, 2016, 9:06pm UTC](https://discourse.julialang.org/t/installing-mp3-on-juliabox/839 "2016-12-09T21:06:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LewisHein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewishein/32/5690_2.png) [@LewisHein](https://discourse.julialang.org/u/LewisHein)\
**Post date:** [December 9, 2016, 9:06pm UTC](https://discourse.julialang.org/t/installing-mp3-on-juliabox/839/1 "2016-12-09T21:06:42Z")

</div>

Hello everyone

Is there a way to install the MP3 package on JuliaBox? It fails for me because I don’t have root priveleges.

Many thanks,

Lewis Hein

---

<div class="post-metadata">

**Author:** ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Post date:** [December 13, 2016, 9:43pm UTC](https://discourse.julialang.org/t/installing-mp3-on-juliabox/839/2 "2016-12-13T21:43:14Z")

</div>

Hi Lewis,

I think there are two ways forwards:

1. we can add the APT packages to the JuliaBox docker image, which I think would involve adding the install to [this Dockerfile](https://github.com/JuliaCloud/JuliaBox/blob/761d39c7f8f481bdb5bf1dc4011d4e267158e551/container/interactive/Dockerfile). Doesn’t seem super sustainable though, and moves support responsibility from JuliaAudio developers to JuliaBox developers.
2. We can add support to MP3.jl to fall-back to a source build in the case where BinDeps can’t install a system package for the necessary libraries. One issue with this is that it adds time to the installation process. I don’t know enough about how JuliaBox works to know how often users need to do this. Do you get a persistent box with your packages installed, or do you have to re-install them every session?

---

<div class="post-metadata">

**Author:** ![LewisHein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewishein/32/5690_2.png) [@LewisHein](https://discourse.julialang.org/u/LewisHein)\
**Post date:** [December 15, 2016, 3:01pm UTC](https://discourse.julialang.org/t/installing-mp3-on-juliabox/839/3 "2016-12-15T15:01:49Z")

</div>

Option 2 seems the best to me, as making the JuliaBox developers  
responsible for MP3.jl (and thereby setting a precedent for whatever  
package may have a binary dependency) would be poor organization.

I am pretty sure that my changes persist, and thus adding a one-time  
hit to build from source might not be an issue, especially if the  
alternative is not having it at all.

Lewis
