Ubuntu Forums Archive Viewer

gcc: installation problem, cannot exec `cc1plus': No such file or directory

Archived thread 10867 from Repositories & Backports. Markdown source: Repositories_&_Backports/thread_10867_gcc_installation_problem,_cannot_exec_`cc1plus'_No.md

Original URL About this archive
#1

I just tried to use gcc and got this error:

gcc: installation problem, cannot exec `cc1plus': No such file or directory

I am running Warty... gcc version Debian 1:3.3.4-9ubuntu5.

Google found some info about this problem in gcc 3.0.2, and it was supposedly fixed then. Hmm...

Thanks for your time, Krum

#2

Solved:

apt-get install g++

#3

Preferrable is:

sudo apt-get install g++

Don't forget to be ready with your installation CD if asked for.