Contents
Type in the Terminal sudo apt-get install build-essential and then press key TAB instead of pressing ENTER .
How do I download build essentials Ubuntu?
Install the build-essential packages by running the below-given command:
- $ sudo apt install build-essential.
- $ gcc –version.
- $ nano testprogram.c.
- // testprogram.c. #include
int main() { printf(“Test, Program! n”); return 0; } - $ gcc testprogram.c -o testprogram.
- $ ./ testprogram.
How do I install a package in Linux?
To install a new package, complete the following steps:
- Run the dpkg command to ensure that the package is not already installed on the system: …
- If the package is installed already, ensure it is the version you need. …
- Run apt-get update then install the package and upgrade: