download latest stable solc ubuntu

C++
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc

Source

Also in C++: