The Solidity Programming Language 0.3.6
This is the first release from the solidity-standalone repository. Solidity is a high-level language whose syntax is similar to that of JavaScript and it is designed to compile to code for the Elementrem Virtual Machine
Install step by step (Ubuntu Xenial 16.04)
- Downalod and Extract
linux-ubuntu-xenial-solc-0.3.6-compilier.tar.gz - Install Prerequisite
tar -xvzf ./linux-ubuntu-xenial-solc-0.3.6-compilier.tar.gz
sudo dpkg -i libboost-program-options1.58.0_1.58.0+dfsg-5ubuntu3_amd64.deb
sudo dpkg -i libjsoncpp1_1.7.2-1_amd64.deb
- Install Solidity
sudo dpkg -i solc_0.3.6-0ubuntu1~xenial_amd64.deb
If Installation failed:
Downalod Solidity Dependency
tar -xvzf ./solc-0.3.6-dependency.tar.gz
sudo dpkg -i libboost-system1.58.0_1.58.0+dfsg-5ubuntu3_amd64.deb
sudo dpkg -i libboost-filesystem1.58.0_1.58.0+dfsg-5ubuntu3_amd64.deb
sudo apt-get -y install libboost-filesystem-dev
sudo apt-get -f -y install
sudo dpkg -i libboost-filesystem-dev_1.58.0.1ubuntu1_amd64.deb
sudo dpkg -i solc_0.3.6-0ubuntu1~xenial_amd64.deb
- In to The _Gele console_
You should make sure whether the solidity compiler is applied or not.
> ele.getCompilers()
["Solidity"]
If the solidity is not applied, You can apply it manually.
> admin.setSolc("/usr/bin/solc")
"solc, the solidity compiler commandline interface\nVersion: 0.3.6-0/None-Linux/g++\n\npath: /usr/bin/solc"