Install c++ from ubuntu

I recently got ubuntu from the toaster in the comsci building, then installed it, but I haven’t been able to get c++ running. someone told me to try on the command line sudo apt-get install g++-4.1 and get a message that the package cannot be found.
Is C++ already install in the ubuntu package? If so, how to install if don’t have an internet connection?
Really need help!!

Re: Installing C++

You should install the packages g++ and build-essential.

So, sudo aptitude install g++ build-essential

If you don’t have an Internet connection, you can burn the Unofficial Package DVDs on the Toaster. They add up to 6 DVDs, but form a complete ubuntu archive. Then you can register them in Synaptic and install anything you need from them.

Otherwise, take your computer somewhere where there is a connection and install them.

How do we install dvd mirrors

How do we install dvd mirrors on to the system while another os is still there?

re: How do we install dvd mirrors

I assume you are asking how you add the Package DVDs as sources?

You choose Edit -> Add CDROM in Synaptic.

Syndicate content