![]() |
GCC 9 and 10 seem to be installed - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Software (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=18) +--- Thread: GCC 9 and 10 seem to be installed (/showthread.php?tid=7640) Pages:
1
2
|
GCC 9 and 10 seem to be installed - AcsPrime - 02-20-2021 Hello, I installed Linux Lite 1h ago and in the package manager I can see gcc 9 and gcc 10: https://pasteboard.co/798ad879-31a9-442f-8c42-660ac1457acf I really only need the latest and greatest not sure how or why I have two gcc. I did try to search for gcc 10 in my system but I can only find gcc 9. How can I just have gcc 10 and not mess anything up? Re: GCC 9 and 10 seem to be installed - Moltke - 02-20-2021 "Image not found" That img you uploaded, is not there. Use imgur https://imgur.com/ or imgBB https://imgbb.com/ https://www.freecinema2022.gq/forums/introductions/forum-posting-guidelines/ You can keep both, and make one the default, just type in a terminal Code: sudo update-alternatives --config gcc You'll see something like Code: There are 3 choices for the alternative gcc (providing /usr/bin/gcc). Select the one you want to use and that's it. Hope this helps! ![]() Re: GCC 9 and 10 seem to be installed - AcsPrime - 02-20-2021 Hey, This is the image: https://pasteboard.co/JPdQnzZ.png It seems that I don't have an extra gcc even though I am seeing one there. Thanks for your help Re: GCC 9 and 10 seem to be installed - AcsPrime - 02-25-2021 Hello again, It seems that now I really do have gcc 9 and gcc 10: Code: ls -la /usr/bin/ | grep gcc so gcc is set to gcc9 how to I get rid of gcc9 or at least just switch gcc to gcc10 (and hopefully not cause conflicts on anything) Re: GCC 9 and 10 seem to be installed - Valtam - 02-25-2021 They may both be there for a reason. You can test your option in a VM first. Sent from my mobile phone using Tapatalk Re: GCC 9 and 10 seem to be installed - AcsPrime - 02-25-2021 The reason is that I installed gcc10, but I was hoping that gcc10 would then be set as default ![]() Re: GCC 9 and 10 seem to be installed - Valtam - 02-25-2021 Did you read reply #1? Re: GCC 9 and 10 seem to be installed - AcsPrime - 02-25-2021 I did! This is what I get: Code: ~ sudo update-alternatives --config gcc Re: GCC 9 and 10 seem to be installed - Valtam - 02-25-2021 https://askubuntu.com/questions/26498/how-to-choose-the-default-gcc-and-g-version Re: GCC 9 and 10 seem to be installed - AcsPrime - 02-25-2021 Did you read my reply??? The accepted answer talks about update-alternatives which I've already shown says there are no alternatives. But if this is as simple as just changing the symlink and there will be no issues sure, I'll change. |