PDA

View Full Version : [ubuntu] where can i download g++ package?



r1e1z1a
March 8th, 2009, 08:22 AM
where can i download g++ package?
(i can't connect my home pc to internet for using add/remove
because of my modem zoltrix z919 3 chip is not recognized by ubuntu)
i can download g++ in my work and install in my home pc.

thanks a lot!!

pfdevil
March 8th, 2009, 08:41 AM
sudo aptitude download build-essential

This downloads the .deb package to your current directory. I think build-essential is the correct package to get gcc, g++ etc.

You could have figured this out by reading the man pages.


man aptitude

binbash
March 8th, 2009, 10:25 AM
sudo apt-get install g++

or you can browse and download the deb from packages.ubuntu.com

Partyboi2
March 8th, 2009, 11:27 AM
You can also install it from the ubuntu cd without needing a internet connection.
Open a terminal and

sudo apt-cdrom add
sudo aptitude update
sudo aptitude install build-essential