Apt get install essential




















Now, you need to update the packages repository before installing the build-essential tools. Type the following command to update the apt repository index:. Once the installation is finished, verify the installation of these packages by checking the GCC version on your system with the following command:.

The installed version of GCC to be displayed on the terminal, which is also shown in the following screenshot:. Now, all GCC compiler libraries and tools have been installed on Ubuntu However, you can run a C program for testing the installation.

We have explained the installation of build-essential tools in this article. We have explored what is build-essential and how to install and use it on Ubuntu Viewed k times. Improve this question. Eliah Kagan k 51 51 gold badges silver badges bronze badges.

Jaffer Sadhique Jaffer Sadhique 1 1 gold badge 5 5 silver badges 3 3 bronze badges. I encountered a similar problem. I solved it by entering 'sudo apt-get upgrade' after 'sudo apt-get update'. Add a comment. Active Oldest Votes. Improve this answer. Parto Ngoc Ngoc 5 5 silver badges 3 3 bronze badges. Why does this solve the problem? It helped me install ubuntu-restricted-extras..

Did not work for me. Ubuntu This works in Ubuntu Then run these commands in a terminal: sudo apt-get update sudo apt-get install build-essential. Avinash Raj Avinash Raj See: linuxconfig. ElefantPhace 2, 3 3 gold badges 14 14 silver badges 28 28 bronze badges.

If necessary, the apt-get command will try to upgrade important packages at the expense of less important ones.

It may also remove some packages in this process. It is followed by one or more package names the user wishes to install. All the dependencies of the desired packages will also be retrieved and installed.

Also, the user can select a specific distribution by following the package name with a forward slash and the version or the archive name e. Both of these version selection methods have the potential to downgrade the packages, so must be used with care. It does not remove any configuration files created by the package.

Skip to content. Change Language. Related Articles. Table of Contents.



0コメント

  • 1000 / 1000