User forums > Using Code::Blocks
Total n00b, lost in Linux Code::Blocks install.
CB_n00b:
I have recently converted from Windows XP to Linux (Fedora Core) and have previously developed with Visual Studio. I downloaded the RPM file and ran it but have no idea where the executable is. I downloaded the file from here; the second to last link under the 'Stable Releases' '1.0 RC2' link. I downloaded it to my home directory and double clicked the icon and saw it do its business, but the program never asked me where I wanted to install the package and nothing new showed up in my home directory. Like I said, I am a recent Linux user (no real Unix experience either) and had thought that if I ran the RPM file, then a 'link' to the program would have shown up in the 'Applications' toolbar/button.
Did I do something wrong?
As a bit of background, I have successfully installed and tested (Hello World!) Eclipse and the CDT plugin. I am currently evaluating C/C++ IDE for this new (to me) operating system.
Thanks!
Michael:
Hello,
You can download the latest FC4 nightly build here.
Best wishes,
Michael
TDragon:
To expound a bit on Michael's post: the nightly builds are (strangely, I know) generally more stable and hugely more feature-rich than RC2. (Though some people have been complaining about crashes on Linux recently, I haven't ever had issues myself; I use Mandriva.)
In any case, you'll find that the majority of RPMs don't make any visible changes to your desktop or menus. Rather, they bury a few files in the bowels of your filesystem and it's up to you to know about 'em. In Code::Blocks' case, the 'codeblocks' executable is installed to /usr/local/bin, and you can execute it by entering 'codeblocks' at a shell prompt (if /usr/local/bin is in your $PATH), or creating a symlink to it on your desktop, or what have you.
TheTuxKeeper:
--- Quote from: TDragon on March 24, 2006, 04:02:18 pm ---In any case, you'll find that the majority of RPMs don't make any visible changes to your desktop or menus. Rather, they bury a few files in the bowels of your filesystem and it's up to you to know about 'em. In Code::Blocks' case, the 'codeblocks' executable is installed to /usr/local/bin, and you can execute it by entering 'codeblocks' at a shell prompt (if /usr/local/bin is in your $PATH), or creating a symlink to it on your desktop, or what have you.
--- End quote ---
That's not right. Autotools creates a .desktop file which contains the information to add the menu entry. KDE and other windowmanager usually add the menu entry automatically. Perhaps a restart/relogin is needed (not the whole computer has to be restarted, only the windowmanager).
rpm packages install the files to specified locations, which can't be changed, so it won't ask you where to install :lol:
Linux has standard directories where to intall which kind of data (executables to for example /usr/bin and other data to /usr/share).
Regards,
Daniel
TheTuxKeeper:
@CB_n00b: What's the name of the package you downloaded/installed ? I think you installed a wxGTK package, no codeblocks package (I corrected it in the wiki).
Take CB_20060323_rev2236_fc4.rpm from the link Michael posted. You will need to uninstall the wxGTK package you installed (if you don't do this, next step will fail) and install this ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/wxGTK-2.6.2-0.2.2.fc4.i386.rpm before installing codeblocks.
Navigation
[0] Message Index
[#] Next page
Go to full version