Check out example codes for "Please install the gcc make perl packages from your distribution.". It will help you in understanding the concepts better.

Code Example 1

sudo apt-get update
sudo apt-get install build-essential gcc make perl dkms
reboot

Learn ReactJs, React Native from akashmittal.com