LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2006, 07:46 PM   #1
bweil
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
How do I install anjuta after download?


I'm new to ubuntu and gnome. I want to install the anjuta package I just downloaded. Where do I drop the archive file and how do I proceed to install it for system wide use?

Thanks
 
Old 10-29-2006, 09:30 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Well, I'm pretty sure that Ubuntu uses apt get, so I think you just type

su
<fill in root password when asked>
apt get anjuta

in a terminal. That will automatically download the needed files from the internet, download anything else you need, and install it.

If you need to install from the source file you downloaded for some reason, you can do it the hard way. You can unpack the archive anywhere you like. Then open a terminal and run:

cd <inside the folder that was extracted from the tarball>
./configure
make
su
<give root password when asked>
make install

That should be correct, but after you extract the archive, inside there will be a file named INSTALL. Read it for instructions.
 
Old 10-29-2006, 10:00 PM   #3
bweil
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
PatrickNew, thanks for the reply.

I tried the apt-get like this:
bweil@bunt350:~/Desktop$ sudo apt-get anjuta
E: Invalid operation anjuta
bweil@bunt350:~/Desktop$ sudo apt-get install anjuta
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package anjuta
bweil@bunt350:~/Desktop$
Then I tried the downloaded archive, like this:
bweil@bunt350:~/Desktop$ cd anjuta-2.0.2-i486-1.tgz_FILES
bweil@bunt350:~/Desktop/anjuta-2.0.2-i486-1.tgz_FILES$ ls
etc install usr
bweil@bunt350:~/Desktop/anjuta-2.0.2-i486-1.tgz_FILES$ ls -al
total 20
drwxr-xr-x 5 bweil bweil 4096 2006-10-29 21:40 .
drwxr-xr-x 3 bweil bweil 4096 2006-10-29 21:40 ..
drwxr-xr-x 3 bweil bweil 4096 2006-05-15 18:34 etc
drwxr-xr-x 2 bweil bweil 4096 2006-05-16 07:35 install
drwxr-xr-x 9 bweil bweil 4096 2006-05-16 07:37 usr
bweil@bunt350:~/Desktop/anjuta-2.0.2-i486-1.tgz_FILES$ ./config
bash: ./config: No such file or directory
bweil@bunt350:~/Desktop/anjuta-2.0.2-i486-1.tgz_FILES$
In the install folder, there was a script called doinst.sh, but the permissions are not set to execute.

Any other ideas?

Thanks.

ps. I saw the misspelling of configure above and tried again with ./configure and got the same result.

Last edited by bweil; 10-29-2006 at 10:03 PM.
 
Old 10-29-2006, 11:38 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
ok, well, where did you get your package from? From the looks of the contents of that archives, I would guess that your tarball is a precompiled package, not a source tarball. If I remember correctly, slackware uses .tgz in its package format.

Note: If you see an architecture attached to a filename, it is precompiled. (like i386, i686, x86_64, ppc, etc.) Try a tarball from here: http://prdownloads.sourceforge.net/a...ar.gz?download

But first, hopefully a Ubuntu user will find this and tell you how to configure apt to make it work, because if you can get it, that way is much easier.

Btw, looking at their webpage, Anjuta says 1.2.4a is the last stable version. Are you aware you're using a development version? Nothing wrong with it, but you should know. If you want to use version 2.0.2 then use this tarball.
http://prdownloads.sourceforge.net/a...ar.gz?download
 
Old 10-30-2006, 10:35 AM   #5
bweil
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
PatrickNew, thanks.

Ok on the precompiled; I assumed that since I wasn't up to the task of contributing to the development of this package, I didn't need source.

Ok too on the stable vs development versions. I didn't notice it when I downloaded it because the project page said it was released. I didn't recognize the distinction between development release and stable release.

Since then, I was looking at the dependencies listed there and have begun trying to install some of them since my standard ubuntu distribution did not include development packages. I see now how the ./configure was meant to work, but I still struggling through the first install, gdl-0.6.1. Apparently, there are other packages missing that I have to install before this one.

I've found some of these other missing packages in the ubuntu application package manager gui application and gotten a little further each time. I'll slog on until I get stuck again.

Thanks again.
 
Old 10-30-2006, 11:27 AM   #6
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
no problem. I would hope a ubuntu user will find this and tell you how to set up apt to install it, because that is much easier, and you will have to configure apt before long, but you can compile from source.

I found a website describing how to install with Automatix, which appears to be an apt frontend. Try opening it, and you should be able to select packages. Pick System --> Programming --> Anjuta. If that doesn't work, I'd be happy to help you through installing from source.
 
Old 10-30-2006, 04:55 PM   #7
bweil
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Ok. Progress. I was poking around in the ubuntu Synaptic Package Manager ( gui form of apt?) and found an option called "Universe" that was not turned on.

To make a long story short, I found anjuta there and installed. The package manager identified dependencies and downloaded other packages as well.

I got it running and after downloading a few other things ( like make ), I was able to compile and run the "Hello World" tutorial example using anjuta.

Now, I'm trying to resolve some missing glade-c++ headers.

Thanks!
 
Old 10-30-2006, 10:15 PM   #8
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
there you'll be looking for a package named lib-glade
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to install anjuta-2.0.2-IDE alexeyp Linux - Software 5 07-27-2006 04:32 PM
Anjuta 2.0 install problem greghua Linux - Software 10 05-26-2005 02:36 PM
Please help to install anjuta-1.2.2 in Fedora Core 3 shoma1508 Linux - Software 1 12-09-2004 07:45 AM
Anjuta install gjmwalsh Mandriva 0 05-08-2004 06:00 PM
Can't install Anjuta dustinwu Mandriva 0 12-01-2003 06:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration