7/28/2023 0 Comments Install mucommander ubuntuThe newer versions of the GCC compiler include new functions and optimization improvements.Īt the time of writing this article, the default Ubuntu repositories include several GCC versions, from 7.x.x to 10.x.x. Install the desired GCC and G++ versions by typing: sudo apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10 In the following example, we will install the latest three versions of GCC and G++. The commands below configures alternative for each version and associate a priority with it. Sudo update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-10 100 -slave /usr/bin/g++ g++ /usr/bin/g++-10 -slave /usr/bin/gcov gcov /usr/bin/gcov-10 sudo update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-9 90 -slave /usr/bin/g++ g++ /usr/bin/g++-9 -slave /usr/bin/gcov gcov /usr/bin/gcov-9 sudo update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-8 80 -slave /usr/bin/g++ g++ /usr/bin/g++-8 -slave /usr/bin/gcov gcov /usr/bin/gcov-8 The default version is the one with the highest priority, in our case that is gcc-10. Press to keep the current choice, or type selection number: Later if you want to change the default version use the update-alternatives command: sudo update-alternatives -config gcc There are 3 choices for the alternative gcc (providing /usr/bin/gcc). You will be presented with a list of all installed GCC versions on your Ubuntu system. Enter the number of the version you want to be used as a default and press Enter. You can now visit the official GCC Documentation We’ve shown you how to installed GCC on Ubuntu 20.04. Page and learn how to use GCC and G++ to compile your C and C++ programs. If you hit a problem or have feedback, leave a comment below.If you consider switching to Linux from a Windows or OS X machine, you will find some of my experience in this post, one year after starting to use Linux exclusively for my professional life as a scientist. With the ubiquity of web applications, the desktop environment might seem less important than a few years ago. Still, there are plenty of things that are better done on a desktop, including computation-heavy or specialized analyses. This post assumes you have some knowledge of Linux, specifically how to install applications and how to edit configuration files. I first tested Linux on my laptop in 20 but was only convinced to permanently switch to using it for my personal use with the arrival of Ubuntu Dapper Drake in 2006. Using Ubuntu at home had an impact on my daily professional life. For example, our collection of reagents is maintained on a LabKey server on Ubuntu in a virtual machine. #Install mucommander ubuntu professionalĮxperience with the command line definitely helped for the administration of our laboratory backup server, a Sinology network disk station.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |