Help - Search - Members - Calendar
Full Version: Installing Anjuta Or Eclipse (c++) Onto Ubuntu
Linuxhelp > Support > Programming in Linux
zarniwoop
I want to do some C++ programming on an ubuntu system and I have no idea how to install either of these programs. I can't find any simple binaries though there are some for Anjuta but they aren't designed for Ubuntu(will they work anyway?). I only installed linux a couple of days ago so haven't ever installed a program onto it.
russ_m9
you can try the binaries they may or may not work as expected, i always like to compile from source code for the platform and distro that i intend to use the program on that way no problems arise from thier useon the system in question.

download the source(s) and extract them to a directory, i always use this: home/<your_name_here>/temp

then open a teminal and type:
cd /home/<your_name_here>/temp 'open directory of source
su 'press enter after
now at the $ prompt enter your root password press enter

now at the root prompt ( "#" ) type ./configure ' press enter

make a note of any warnings or error(s)

now type make ' press enter key
same as above about warnings or error(s)

now type make install ' press enter key
and again the same as above about warnings or error(s)

but in most cases there should not be any problems

now if there are any problems they will most likely be the following:

1.no kernel headers and source installed.
2.libs are out of date
3.make not found by bash
4.M4 is not found

to fix all of these possible problems do the following:

use the Ubantu packmanager system to install the dev files from it's install cd.

after that do the following steps from above to compile it again and that should be all you need to do to compile and install the program from source, but if that fails i cannot tell you what to do other than try and find precompiled binaries as a note of intrest to you Linux programs have always been distributed as source rather than binary just to maintain compatibility between other distros of linux.

I hope this helps

Scincerly
Russell Morton.
zarniwoop
Thanks a lot.

I shall try it and then you will have either more of my thanks, or my contempt for you as a worthless giver of advice.
russ_m9
well i hope it works out for ya, all i can say is in all the time i have been using linux 3 yrs (Mandrake 6.5 and on)and i have used that method with complete success as long as you read the readme files that come with the source distribution you will never fail. but failure to follow simple logic and common sense is a stupidity no linux user can afford.

but either way let me know what happens and provide me the details and more than likely i or someone else will help you find the problem and fix it, but remember diffrent distros do things in diffrent ways but they should all be about the same when compiling programs.


Scincerly
Russell Morton
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.