To test that the installation has been successful, just run the following command gcc-12 -versionĪnd you will have an output screen like the following one gcc-12 (Homebrew GCC 12.2.0) 12.2.0Ĭopyright (C) 2022 Free Software Foundation, Inc. This way, you will get the latest version, which is 12. Thereafter, you just have to run the following command brew install gcc Install latest version of GCC on Debian 11 / 10 Note: These instructions will also work for Debian 10 There are many ways to get the latest stable version of GCC, but today I will present you the easiest one that every user can do.įor this, Homebrew is our salvation. How to get the latest version of GCC on Debian 11 / 10 There are several ways, but we will use Homebrew for this. So if you are a C or C++ developer or use compiling intensively, it can be a help to have the latest stable version of GCC. Thanks to it, compilations and program creations of all kinds are made.Īs expected, GCC is present by default in all Linux distributions, however, not always in the latest version. GCC is the compiler of the GNU project for C language, and one of the most important bases that we have on Linux. ![]() In this post, you will learn how to get the latest version of GCC in Debian 11 / 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |