Answer the question
In order to leave comments, you need to log in
How to install gcc on debian?
Can't install gcc compiler on debian 8.0
Tried with apt-get .
Mistake:
Package gcc is not avaible, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only avaible from another source
E: Package 'gcc' has no installation candidate
Answer the question
In order to leave comments, you need to log in
gcc-4.8-base:amd64
gcc-4.9-base:amd64
Depending on which of them you need (any -dev will be needed for building)
In general, apt-cache search gcc helps a lot in such cases.
sudo apt-get install gcc until you're blue in the face doesn't work, since you don't specify how exactly it doesn't work.
There may be troubles with dependencies too)) You can send the error text to the studio))
Try:
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update
apt-get upgrade
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question