Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to set gcc-8 as default in linux

#make sure give priority on your required version
eg:
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
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7
Comment

PREVIOUS NEXT
Code Example
Shell :: find exclude specific file 
Shell :: bash merge pdf 
Shell :: unzip rar 
Shell :: service redis restart 
Shell :: Id field in Model Django 
Shell :: unity localization 
Shell :: pgadmin4 on docker 
Shell :: github readme.md add image 
Shell :: ls list only first 10 files 
Shell :: generate crt and key openssl 
Shell :: git get current branch 
Shell :: how to install react spring with typescript 
Shell :: unix history date time 
Shell :: wsl 
Shell :: unable to resolve host myhost 
Shell :: get path composer 
Shell :: kill a process linux 
Shell :: undo previous commit locally 
Shell :: failed to start openbsd secure shell server 
Shell :: command to update ubuntu 
Shell :: icon theme and widget ubuntu 
Shell :: wordpress mit ssh installieren 
Shell :: no space left on device 
Shell :: conda install pandas 
Shell :: cp linux command with progress bar 
Shell :: how to delete all branches in git except master 
Shell :: install.packages( tidyverse ) not working 
Shell :: tree command 
Shell :: wsl2 vs virtualbox performance 
Shell :: intellij for mac crack 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =