I am following this documentation, https://developers.eos.io/welcome/latest/getting-started/development-environment/install-the-CDT which is used for installing eosio cdt. It has two ways for doing this.
The first is:
wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.6.3/eosio.cdt_1.6.3-1-ubuntu-18.04_amd64.deb sudo apt install ./eosio.cdt_1.6.3-1-ubuntu-18.04_amd64.deb
And the second way is (Install from source):
git clone --recursive https://github.com/eosio/eosio.cdt --branch v1.6.3 --single-branch cd eosio.cdt ./build.sh sudo ./install.sh
I am curious, the first one takes very less time to execute while the second one takes very long time. My question is, generally which method should be used? OR do we need to execute all these commands? Please guide and correct me if I am wrong.