C++ in ubuntu

C++ in ubuntu is called G++ or GCC.
Installation of G++ :

  • Right click on the desktop.
  • Choose create a document and then empty file.
  • Give it name with extension .sh .example: rimpy.sh
  • Open the file and write

sudo apt-get install g++

  • Now save the file.
  • Right click on the file and choose permission tab.
  • Change to Read and Write File and click in the checkbox “Allow Executing Files as program”.
  • Open the terminal and type the following

cd Desktop  (to go to desktop in terminal)
./rimpy.sh      (to run the file to install g++ in terminal mode)

             press Y for continue.Your g++ has been installed now.

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment