Most server distributions do not have the developer tools installed by default. The developer tools such as gcc c/c++ compilers, make and linkers are required to install any packages such are nodejs, memcache, etc from the source. Fortunately all the developer tools, including gcc c/c++ compilers, make and others can be installed easily using a single apt-get command. There is a convenient meta-package called 'build-essential' that will install all the developer tools with just one command.
Run the following command:
You will see the output asking for confirmation for a list of packages to be installed/updated. Please enter 'Y' for yes when prompted. All the required packages will be downloaded from the repository and installed.
Run the following command:
sudo apt-get update && sudo apt-get install build-essential
You will see the output asking for confirmation for a list of packages to be installed/updated. Please enter 'Y' for yes when prompted. All the required packages will be downloaded from the repository and installed.
No comments:
Post a Comment