Based on earlier postings for older Linux / Juce versions the following set-up procedure was successful for me:
Installation / version details:
JUCE 4.2.1 as of May 7, 2016 on Linux Ubuntu Studio 64-bit 16.04 LTS,
verified earlier with Ubuntu 14.04 64-bit, Ubuntu Studio 14.04 64-bit, elementary OS 0.3.2 (Freya) 64-bit, Mint 17.3 Cinnamon 64-bit
Note: for RedHat, RPM packaging based linux line, e.g. Fedora 23 see reply below
Might be, this update is useful for others too.
Install Ubuntu 64-bit
Install the following tools and libraries:
sudo apt-get -y install llvm sudo apt-get -y install clang sudo apt-get -y install libfreetype6-dev sudo apt-get -y install libx11-dev sudo apt-get -y install libxinerama-dev sudo apt-get -y install libxrandr-dev sudo apt-get -y install libxcursor-dev sudo apt-get -y install mesa-common-dev sudo apt-get -y install libasound2-dev sudo apt-get -y install freeglut3-dev sudo apt-get -y install libxcomposite-dev sudo apt-get -y install libcurl4-gnutls-devredefine CC, CCXX on the shell to point to clang, clang++:
Install VST SDK from https://www.steinberg.net/en/company/developers.html (requires developer registration - free)
Create a folder SDKs directly in your home directory and copy the VST SDK, folder ‚VST3 SDK’ into it. (~/SDKs/VST3 SDK). This is one of the configuration rules for JUCE to facilitate cross platform configuration compatibility in Projucer.
Download and install JUCE linux distribution from https://www.juce.com/get-juce
(Personally I’ve extracted the zip archive directly in my home directory (~/JUCE )
Note (1) as of Apr 9, 2016: The executable Projucer from the distribution didn’t start – I had first to compile it JUCE/extras/Projucer/Builds/LinuxMakefile . Just open a terminal and type ‚make’ will do it and should run without errors if everything is installed as noted above.
export CC=/usr/bin/clang export CXX=/usr/bin/clang++
then ‚make’ as usual throughout the Builds/LinuxMakefile directories in extras and examples.
Note: If not all examples have already a LinuxMakefile target you have generate the LinuxMakefile target from a Windows or Mac Projucer and complie it than on Linux.