We already discussed about installation setups for Chef-Solo. If you are using the Omnibus method, you don't need to worry about any dependencies. However, for installation as a Ruby gem or package management, please ensure that the following packages are installed on your machine.
Use the following command to install the required packages:
$ sudo apt-get install Ruby1.9.3 build-essential
For Omnibus, make sure
curl is installed on your machine:
$ sudo apt-get install curl
curl is a command-line tool for transferring data with URL syntax. It supports various protocols including HTTP, FTP, and FTPS.
Some dependencies for Berkshelf are as follows:
$ sudo apt-get install libxslt-dev libxml2-dev openssl zlib1g
$ chef-solo -v
The preceding command will display the Chef version as shown in the following screenshot: