DIGIT-ARC read-only archive · snapshot: July 23, 2026

unable to compile

7 posts · originally from https://geek.digit.in/community/threads/unable-to-compile.43845/

mak1012
mak1012 Original post #1
Dec 15, 2006 at 4:14 PM
hi,
i have ubuntu 5.10....im not able to compile c or c++ using g++ command in terminal. shuld i need to install ne software for that?
QwertyManiac
Dec 15, 2006 at 4:37 PM
You need to pass sudo apt-get install gcc cpp to get them installed.
D
Dec 15, 2006 at 5:09 PM
actually it is available on ubuntu's live cd too
sudo apt-cdrom add
(now insert cd in cd rom and fireup command given below)
sudo apt-get install build-essential

(after downloading all the essential package test whether gcc is working properly or not by creating simple "Hello world" program u can compile any c program using this command "gcc -o fileName filename.c" without "" or by using make)

Regards,
Dheeraj
mak1012
mak1012 #4
Dec 15, 2006 at 5:31 PM
thanx for reply.
M
Dec 15, 2006 at 6:42 PM
Any reason for running 5.10? It's outdated and has no more support. Please get 6.06. If you can't download it, then order it from shipit.ubuntu.com
mak1012
mak1012 #6
Dec 18, 2006 at 3:14 PM
i got that yesterday. and updated thankx......but now when i sun gcc comand it says it has not been installed roerly now what to do?
D
Dec 18, 2006 at 4:11 PM
@mak1012 read this !!!!! *www.thinkdigit.com/forum/showpost.php?p=366630&postcount=3