So I needed to install the latest version of freeradius on my Ubuntu 14.04.
The newest version at the time of writing this post is v3.1. Ubuntu has up to version 2.1 of freeradius.
First you need to install some libs needed to compile freeradius code
sudo apt-get install build-essential libmysqlclient-dev libperl-dev libssl-dev
git clone https://github.com/FreeRADIUS/freeradius-server.git
cd freeradius server
./configure
make
make install