GCC ain't on Ubuntu's package manager, if you mean the Add/Remove application, 'cause I couldn't find any package manager :P
Printable View
GCC ain't on Ubuntu's package manager, if you mean the Add/Remove application, 'cause I couldn't find any package manager :P
Go to Synaptic Package Manager, search for gcc (might be multiple packages), tick it, press apply. Should download&install in no time. Then search for "codeblocks", tick it, apply. Then there will be a "Programming" submenu under the main menu, where there is Code::Blocks - ready to serve you. ;)
Edit: Package manager is under System->Administration if I remember correctly.
Hmm... Why do I need both GCC and Code::Blocks?
GCC is the compiler, Code::Blocks is the IDE. Because Code::Blocks can work with multiple compilers, it probably has no hard dependency on GCC.
So, I DLed the SVN for no reason? :P
And I still havn't seen any of the promised freedom Linux is supposed to give me... Where is it? :P
There's a reason, but no purpose.
You could edit the source you downloaded. Have fun modifying VC++.Quote:
And I still havn't seen any of the promised freedom Linux is supposed to give me... Where is it? :P
I mean, seriously, what do you expect? Abe Lincoln rising from the grave and holding a speech in your living room?
If you can't find gcc in the Package Manager (or whatever it's called on your system), then try going to the command line and type these commands:
Code:apt-get update
apt-get install gcc
I found GCC in the package manager, but it says it's installed o.O? I havn't got no GCC...
EDIT: Ok, looks like I ahve got GCC :P And Code::Blocks now
Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
Why am I getting that when I try to compile a Hello, World program o.O?
Code::Blocks can't find the C++ compiler. Perhaps it's not configured correctly, or the C++ compiler is a separate package from the C compiler.
The GCC I found on package manager, said it was a C compiler... But I found no GCC C++ compiler >.<
You need the package "g++".
It ain't there :P Nothing called g++ is in the package manager
Well, it's here:
http://packages.ubuntu.com/search?ke...id§ion=all
So it has to be somewhere in Ubuntu.
After looking at that site, it magically is the first thing I find by searching G++ on package manager, and I'm a 100% sure it wasn't there before :P