install gdal linux code example
Example: install gdal ubuntu
sudo add-apt-repository -y ppa:ubuntugis/ppa
sudo apt update
sudo apt upgrade # if you already have gdal 1.11 installed
sudo apt install gdal-bin python-gdal python3-gdal # if you don't have gdal 1.11 already installed