Extreme noob question: where to put stars.dat in Linux?

Post requests, images, descriptions and reports about work in progress here.
Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 18 years 10 months
Location: Urbandale, IA
Contact:

Extreme noob question: where to put stars.dat in Linux?

Post #1by StarSeeker » 02.04.2009, 11:32

I'm used to running in Windows but now I'm using Linux, specifically Ubuntu 8.10. Can someone tell me what the full path is to where I should be putting the expanded stars.dat? o.O

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 17 years 10 months
Location: NJ USA

Re: Extreme noob question: where to put stars.dat in Linux?

Post #2by LordFerret » 02.04.2009, 17:05

I'm not familiar with Ubuntu, but being built from Debian (which I use) it should be similar I think. If so -

Look in /home/user/.local/share/celestia

Rename the existing stars.dat file, in case you want to revert back, then store the large version in its place.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Re: Extreme noob question: where to put stars.dat in Linux?

Post #3by t00fri » 02.04.2009, 17:15

LordFerret wrote:I'm not familiar with Ubuntu, but being build from Debian (which I use) it should be similar I think. If so -

Look in /home/user/.local/share/celestia

Rename the existing stars.dat file, in case you want to revert back, then store the large version in its place.

Sorry, this suggestion looks pretty "non-canonical". Certainly the extra '.' will have to be skipped. Next, /usr/local is fine with general UNIX nomenclature, but NOT /home/usr/local.

How about proceeding this way: type into the console:

> which celestia

If the result is

/usr/bin/celestia

then the Celestia data files in general and stars.dat in particular should be in

/usr/share/celestia/data

If the result is instead:

/usr/local/bin/celestia

then stars.dat should go to

/usr/local/share/celestia/data

You didn't tell us whether you are using KDE or Gnome. So I have to stop here, due to lack of important information...

Perhaps, after these examples, you can also complete the task yourself...

Fridger
Image

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 18 years 10 months
Location: Urbandale, IA
Contact:

Re: Extreme noob question: where to put stars.dat in Linux?

Post #4by StarSeeker » 02.04.2009, 19:07

I am using Gnome. I should be able to figure it out from here. Thanks to both of you for curing my dumb. Namaste. *bows and scuttles out*

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 20 years 10 months

Re: Extreme noob question: where to put stars.dat in Linux?

Post #5by ajtribick » 02.04.2009, 19:08

Presumably you've installed Celestia from the package manager or the Add/Remove programs window. If you have then note that the default installation of Celestia on Ubuntu 8.10 is broken. You also have to install the celestia-common-nonfree package or you will be missing pretty much all of the textures.

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 18 years 10 months
Location: Urbandale, IA
Contact:

Re: Extreme noob question: where to put stars.dat in Linux?

Post #6by StarSeeker » 03.04.2009, 01:38

I used sudo apt-get install celestia.

Do I need to also sudo apt-get install celestia-common-nonfree or is there other syntax?

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 10 months

Re: Extreme noob question: where to put stars.dat in Linux?

Post #7by John Van Vliet » 03.04.2009, 03:47

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:17, edited 1 time in total.

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 20 years 10 months

Re: Extreme noob question: where to put stars.dat in Linux?

Post #8by ajtribick » 03.04.2009, 17:42

StarSeeker wrote:I used sudo apt-get install celestia.

Do I need to also sudo apt-get install celestia-common-nonfree or is there other syntax?

Yes you need to do that, as this package is not defined as being required for Celestia in the package manager (and there is no indication that this package would need to be installed when you go through the installation process -- apparently with Celestia, Ubuntu is catering to a bunch of purists who would rather have a broken application than anything that might possibly be unfree).

Topic author
StarSeeker
Posts: 44
Joined: 30.08.2005
With us: 18 years 10 months
Location: Urbandale, IA
Contact:

Re: Extreme noob question: where to put stars.dat in Linux?

Post #9by StarSeeker » 04.04.2009, 21:37

Yes, that is one aspect of Ubuntu I don't really care for... none of the media players even have MP3 support by default for just that reason.

...

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 10 months

Re: Extreme noob question: where to put stars.dat in Linux?

Post #10by John Van Vliet » 04.04.2009, 22:25

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:16, edited 1 time in total.

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 17 years 10 months
Location: NJ USA

Re: Extreme noob question: where to put stars.dat in Linux?

Post #11by LordFerret » 06.04.2009, 06:21

t00fri wrote:
LordFerret wrote:I'm not familiar with Ubuntu, but being build from Debian (which I use) it should be similar I think. If so -

Look in /home/user/.local/share/celestia

Rename the existing stars.dat file, in case you want to revert back, then store the large version in its place.

Sorry, this suggestion looks pretty "non-canonical". Certainly the extra '.' will have to be skipped. Next, /usr/local is fine with general UNIX nomenclature, but NOT /home/usr/local.

How about proceeding this way: type into the console:

> which celestia

If the result is

/usr/bin/celestia

then the Celestia data files in general and stars.dat in particular should be in

/usr/share/celestia/data

If the result is instead:

/usr/local/bin/celestia

then stars.dat should go to

/usr/local/share/celestia/data

You didn't tell us whether you are using KDE or Gnome. So I have to stop here, due to lack of important information...

Perhaps, after these examples, you can also complete the task yourself...

Fridger
The period "." is not extra, hidden folders in Debian (and Ubuntu) start with them. The follow link applies to both Debian and Ubuntu, the examples given for Ubuntu...
http://www.debianadmin.com/how-to-view-hidden-files-and-folders-in-ubuntu-file-browser.html

As for paths, my install is standard, nothing fancy. I used the Autopackage Software Installer (GTK+) to install Celestia with... and that's where it ended up. Have a peek...
Image
click for full size image

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 17 years 10 months
Location: NJ USA

Re: Extreme noob question: where to put stars.dat in Linux?

Post #12by LordFerret » 06.04.2009, 06:32

StarSeeker wrote:Yes, that is one aspect of Ubuntu I don't really care for... none of the media players even have MP3 support by default for just that reason.

...
Been there, done that. :( You need to install LAME. :wink:
http://lame.sourceforge.net/index.php

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Re: Extreme noob question: where to put stars.dat in Linux?

Post #13by t00fri » 06.04.2009, 09:57

LordFerret wrote:...
The period "." is not extra, hidden folders in Debian (and Ubuntu) start with them. The follow link applies to both Debian and Ubuntu, the examples given for Ubuntu...
http://www.debianadmin.com/how-to-view-hidden-files-and-folders-in-ubuntu-file-browser.html

As for paths, my install is standard, nothing fancy. I used the Autopackage Software Installer (GTK+) to install Celestia with... and that's where it ended up. Have a peek...
Image
click for full size image

Knowing UNIX -- the mother of all LINUX flavors -- since > 25 years in and out, I can assure you that /home/usr/local or /home/user/.local are NOT in any way standard elements of a UNIX directory tree! Directory names have always been standardized in UNIX, until some strange Linux distributors apparently have even modified these...

YES there was life before Ubuntu and Debian ;-)

Syntactically, anything below /home has always been attributed to individual users, like
/home/t00fri, /home/madonna/ ...

Instead the branch /usr/local/... is meant to refer to local installations applying to ALL users.

They will eventually also loose me as a Linux affectionado, because of this unfortunate tendency to destroy UNIX universality features whereever possible! Behind these efforts to implement distribution-specific patches like mad and apparently also to support non-standardized directory nomenclature, is to prevent people from migrating between specific distributions...

Fridger
Image

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 17 years 10 months
Location: NJ USA

Re: Extreme noob question: where to put stars.dat in Linux?

Post #14by LordFerret » 06.04.2009, 15:43

t00fri wrote:YES there was life before Ubuntu and Debian ;-)
Yes, this I know! :lol:

Instead the branch /usr/local/... is meant to refer to local installations applying to ALL users.
Such installations have to be made by the root user (admin), yes?

I didn't install Celestia as an admin, I installed it as "me" a user. That would make this -
Syntactically, anything below /home has always been attributed to individual users, like
/home/t00fri, /home/madonna/ ...
- true, yes? That being the case, I'm pretty sure that's why my Celestia install landed where it did. Maybe I should reinstall it as the root user?

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 3 months
Location: Hamburg, Germany

Re: Extreme noob question: where to put stars.dat in Linux?

Post #15by t00fri » 07.04.2009, 00:30

LordFerret wrote:
t00fri wrote:YES there was life before Ubuntu and Debian ;-)
Yes, this I know! :lol:

Instead the branch /usr/local/... is meant to refer to local installations applying to ALL users.
Such installations have to be made by the root user (admin), yes?
Right, as is usual for installations. Just type su (+password) and you are root.
Or you re-login as root if you need full GUI stuff.
I didn't install Celestia as an admin, I installed it as "me" a user. That would make this -
Syntactically, anything below /home has always been attributed to individual users, like
/home/t00fri, /home/madonna/ ...
- true, yes? That being the case, I'm pretty sure that's why my Celestia install landed where it did. Maybe I should reinstall it as the root user?

Absolutely! That's the canonical procedure. Don't forget the executable has to be placed into a canonical (bin) directory, E.g. /usr/local/bin, that is part of the execution PATH. The latter meaning that you can call the application JUST by it's name anywhere and it will be executed.

Fridger
Image

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 10 months

Re: Extreme noob question: where to put stars.dat in Linux?

Post #16by John Van Vliet » 07.04.2009, 01:31

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:15, edited 1 time in total.

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 17 years 10 months
Location: NJ USA

Re: Extreme noob question: where to put stars.dat in Linux?

Post #17by LordFerret » 07.04.2009, 20:32

Awesome reference John, thanks for the link. I've not seen that one before, I'm bookmarking it. 8)

I'll reinstall Celestia as root - right after I finish the upgrade to "Lenny".


Return to “Add-on development”