I have a Debian 8 installed with its GCC4.8, and need to install GCC6, too.
Using Synaptic, if I select GCC6 from the list of installable packages, I get a message of this kind:
Mark additional required changes?
To be removed:
clang
g++
g++4.9
gnome
part of kde
libreoffice
...
Of course there must be something wrong in what I did. How can I simply install a new compiler without all these side effects?
deb http://ftp.uk.debian.org/debian testing main contrib
./configure; make; sudo make install
I would recommend, using options to configure (that I can never remember), to set the install root to/usr/local
instead of/usr
. Onlyapt
should put stuff in/usr/
,/bin
, etc./usr/local
has directories forlib
,bin
,var
,etc
etc (always put staff that you (as opposed to apt) install in/usr/local
or/opt
)