LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2012, 02:04 PM   #1
michaelas
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
Difficulty installing OpenAstro for Ubuntu 12.04


Hi
I am a Linux Newbie. I just installed Ubuntu v 12.04.1, having tried out Suse Linux back in 2008. Currently using Windows 7, and wanting to get away from it.

I am trying to install Open Astro v 1.1.25 http://www.openastro.org/?Download
I have managed to download the software (I think), as the file is in the Software Center, but am unclear about how to install it.
When I tried opening through the Ubuntu Software Center (double click on the file) I get a page describing the openastro features, with the following message:
Dependency is not satisfiable: python 2.6
ERROR

On the Astro download page, under Ubunto, it lists three links, for Maverick, Natty, and Oneiric. Since I have Ubuntu v 12.04, I wasn't sure which to pick, so I clicked on Oneiric (under I-386, with the other two choices being AMD 64, and LPLA), I have an AMD processor, but it is not 64 (32 I think). Anyway, I went to the Terminal and typed in the following commands listed at the bottom of the download page (see openastro link above):

wget https://launchpad.net/~pellesimon/+a...25.orig.tar.gz

tar -xzf openastro.org_1.1.25.orig.tar.gz

cd openastro.org-1.1.25.orig

sudo ./setup.py install

It seemed to download everything fine, and then I found the file on the software page when I searched for it, and it was also in my dash folder. But then I got the error message.

Is Python the problem?

Anyone know where I can go from here?
Thanks for your help.

Hope this is the right forum. Sorry if it's not.

M
 
Old 10-01-2012, 10:28 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

sudo apt-get install \
python-all-dev python-dateutil python-rsvg python-gtk2 python-cairo imagemagick

cd openastro.org-1.1.25/ && sudo python setup.py install

... But the data files are installed to a wrong location (/usr/local),
so this is a solution :
1) sudo cp -a /usr/local/share/openastro.org/ /usr/share/
2) sudo cp -a /usr/local/share/swisseph/ /usr/share/

P.S. : Same issues with Debian Wheezy (Ubuntu is a Debian clone),
but no issues on other OS's with Python2.7, e.g. Fedora 17.

.

Last edited by knudfl; 10-01-2012 at 10:29 AM.
 
1 members found this post helpful.
Old 10-01-2012, 12:20 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
... Later : I found the right syntax for installing to /usr/ .
( Not sure what happened, when I tried 2 hours ago.)


It's as simple as : sudo python setup.py install --prefix=/usr
 
1 members found this post helpful.
Old 10-02-2012, 10:16 PM   #4
michaelas
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Cool

Wow, thanks for replying. That's tons more than one of the "other sites" did.
Sorry. I'm embarrassed to admit this, but I'm not 100% sure what you said in both your posts, knudfl.
Am I to insert these into the terminal as written?
Not sure of which order to do things in.
I wouldn't mind just a little more newbie translation.
I appreciate your reply. makes me feel hopeful here.
 
1 members found this post helpful.
Old 10-03-2012, 12:19 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 4

Yes. All long commands / combined commands can be executed as one command.
1)
Code:
sudo apt-get install python-all-dev python-dateutil python-rsvg python-gtk2 python-cairo imagemagick
2) And if you have the openastro folder (with the same name) in your current location:
Code:
cd openastro.org-1.1.25/ && sudo python setup.py install --prefix=/usr
etc. etc.

And you don't have to type the commands.
In Linux the "mouse middle button" will paste any highlighted text.

.

Last edited by knudfl; 10-03-2012 at 03:11 AM.
 
Old 10-03-2012, 09:15 AM   #6
michaelas
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank's so much, knudfl.
I will try this and get back to you.
m
 
  


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
[SOLVED] Difficulty uninstalling LibreOffice and installing OpenOffice in Ubuntu 11.04 64-bit Stefaans Linux - Software 6 06-27-2011 01:22 AM
difficulty installing lighttpd+php5+fastcgi on Ubuntu 10.04 walterbyrd Linux - Software 4 05-13-2010 10:03 AM
difficulty installing java walterbyrd Debian 5 01-14-2006 02:47 AM
difficulty installing distributions namayay Linux - Software 4 10-19-2004 12:01 PM
Difficulty in installing the AGP ruzvay Linux - Hardware 1 06-01-2004 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 PM.

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