000 [how to install g++ on ubuntu]E: Invalid operation build-essential

Post date: 2013/1/10 上午 02:58:17

1. Click applications -> ubuntu software center ->edit-> software sources, then activate all the sources

2. Make sure the computer is connected to network

3. sudo apt-get install build-essential