Ubuntu packages for JUCE


#1

Hi all, I will be publishing Ubuntu packages to

https://launchpad.net/~fabian+roli/+archive/ubuntu/juce

You can add the repository with the following commands:

sudo add-apt-repository ppa:fabian+roli/juce

sudo apt-get update

You can then install packages from the juce repository and will receive automatic updates for any installed packages. For now, I've only uploaded the introjucer, which you can install with

sudo apt-get install introjucer

You can launch the introjucer from Ubuntu's Quick Launcher by typing in Introjucer into the HUD. More packages will follow soon so stay tuned!


#2

gj fabian - this has been long awaited - especially seeing as the tarball comes with a binary that is for 64bit only - i usually sync with the github repo and rebuild introjucer whenever but this will be quite convenient

a couple things to note - firstly you should mention this repo is for 14.04 trusty so users of other versions will need to manually edit the resulting /etc/apt/sources.list.d/fabian_roli-juce-UBUNTU-CODENAME.list to specify trusty - (not the filename but the repo listed inside)

secondly installing the introjucer package will show

    WARNING: The following packages cannot be authenticated!

this is because there is no GPG key associated with this repo - it is a harmless warning but something you will probably want to address - usually this is handled by offering a download of a deb package that will install the GPG key for the repo then add the repo to apt sources in one go

worked great tho i just installed it - ty


#3

Thank you for the comments. The ppa should be for any version of Ubuntu >= 14.04. There is a pop-up menu at the top of the ppa page to select the version. No editing of any apt source files should be necessary on these versions.

I’ll also edit my post to include a command to install our key with apt-key. Thank you for making me aware of this!


#4

You don't need to bother with apt-keys, the add-apt-repository script does that for you.

 


#5

Yes you are right I can see the GPG being added automatically with add-apt-repository but I still get "WARNING: The following packages cannot be authenticated" when installing the package with "apt-get install introjucer". Any ideas?


#6

do a:

sudo apt-get update

#7

still getting the authentication warning - although it does appear that the key is being added

$ sudo add-apt-repository ppa:fabian+roli/juce
....
gpg: keyring `/tmp/tmpz2leoz2w/secring.gpg' created
gpg: keyring `/tmp/tmpz2leoz2w/pubring.gpg' created
gpg: requesting key E52C1519 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpz2leoz2w/trustdb.gpg: trustdb created
gpg: key E52C1519: public key "Launchpad PPA for Fabian Renn-Giles" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

$ sudo apt-get update
....
Get:1 http://ppa.launchpad.net trusty Release [15.1 kB]          
Get:2 http://ppa.launchpad.net trusty/main i386 Packages [496 B]         
Get:3 http://ppa.launchpad.net trusty/main Translation-en [717 B]              
....
Fetched 16.3 kB in 4s (3,404 B/s)           

$ sudo apt-get install introjucer
....
WARNING: The following packages cannot be authenticated!
  introjucer
Install these packages without verification? [y/N]
....

#8

Debian-based distributions, such as Ubuntu, may already have installable Juce packages present:

https://packages.debian.org/source/sid/juce


#9

johnwbyrd’s post was a bit vague so i looked into this - to be clear -

juce is indeed in debian but only in the ‘testing’ and ‘unstable’ repos - so users of the stable LTS debian8 will not be able to install these until debian9 comes out unless they upgrade to an unstable version

the situation is much the same for ubuntu - juce is in the repos for 16.10 only - so users of the stable LTS ubuntu or any other version will not see these until ubuntu 18.04 comes out unless they upgrade to an unstable version

i should add for sanity sake, if you have ever wondered why there have been no distro packages of JUCE before now, it is because, due to the nature of JUCE, they do not solve the typical maintenence or distribution problems nor offer any added convenience over what JUCE was designed to handle itself - JUCE is not the typical unix-like system library - it was never intended to be installed that way nor was it designed to be compiled independently and linked as a system library - in order for it to be viable as a system library then binary packages would need to exist for all platforms that JUCE targets (which we all know will never happen) - the design of JUCE is primarily to avoid requiring end-users to install platform-specific dependencies (including JUCE itself) - for that reason, these distro package will be used only as an upgrade channel for developers in which case it can be easily argued that using git or simply letting the jucer handle upgrades is preferable