solc can be installed on a Linux Ubuntu operating system using the following commands:
$ sudo apt-get install solc
If PPAs are not already installed, those can be installed by running the following command:
$ sudo add-apt-repository ppa:ethereum/ethereum $ sudo apt-get update
In order to verify the existing version of the solc and verify that it is installed, the following command can be used:
$ solc --version solc, the solidity compiler commandline interface Version: 0.4.19+commit.c4cbbb05.Darwin.appleclang