FAMMMM
FAMMMM

Reputation: 79

how can i solve the gcc problems in Debian ? when i am apt-get install gcc find one qustions?

I'm using gcc to compile files in Debian terminal, but I get back : zsh: command not found: gcc

So I've tried sudo apt-get install gcc.

> The following packages have unmet dependencies:
> gcc :
> Depends:gcc-4.7(>=4.7.2-1~) but it is not going to be installed
> Recommends: libc6-dev but it is not going to be installed or libc-dev

Upvotes: 1

Views: 966

Answers (2)

GAD3R
GAD3R

Reputation: 4625

Run the following command:

aptitude -f install

Then install build-essantial it will install all the dev-tools:

aptitude install build-essential

Upvotes: 1

Simon Kirsten
Simon Kirsten

Reputation: 2577

Try installing GCC and its dependencies with this package:

sudo apt-get install build-essential

Upvotes: 1

Related Questions