View Full Version : [ubuntu] C++ is installed or not?
Muhammad_Mudassir
October 19th, 2013, 08:43 PM
i have installed c++ by these commands.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc -v
make -vnow i want to chesk whether c++ is installed or not? how will i check?
steeldriver
October 19th, 2013, 08:46 PM
You can check whether the GNU C++ compiler is installed with
g++ --version
Muhammad_Mudassir
October 19th, 2013, 09:01 PM
i entered command in terminal the following comes.
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install <selected packages>
steeldriver
October 19th, 2013, 09:02 PM
So try
sudo apt-get install g++
Muhammad_Mudassir
October 19th, 2013, 09:07 PM
it comes.
Unable to correct problems, you have held broken packages
mörgæs
October 21st, 2013, 10:50 AM
Please run again
sudo apt-get update
sudo apt-get upgrade
and post the complete output in CODE tags.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.