TDE educational programs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.0 KiB

<appendix id="installation">
<sect1 id="getting-kstars">
<title>How to obtain &kstars;</title>
&kstars; is distributed with &kde; as part of the tdeedu "Edutainment"
We also occasionally make an independent release. These independent
releases will be available as a gzipped tar archive from the following
Independent releases are announced through the
<email></email> mailing list.
Releases are also posted to <ulink url="">the
&kstars; home page</ulink>,
<ulink url=""></ulink>, and
<ulink url=""></ulink>.
&kstars; is been packaged by many Linux/BSD distributions, including Redhat, Suse,
and Mandrake. Some distributions package &kstars; as a separate application, some
just provide a tdeedu package, which includes &kstars;.
If you would like the latest CVS development version of &kstars;, please
follow <ulink url="">these instructions</ulink>.
<sect1 id="requirements">
In order to successfully run &kstars;, you need &kde; >=3.2 and
To compile &kstars;, you will also have to have the following packages
<listitem><para>autoconf (>=2.5)</para></listitem>
On my system, &kstars; uses about 60 MB of system memory with the
default settings. Most of this usage is due to the loaded object
databases. You can dramatically reduce the memory footprint by
reducing the faint limit for stars in the Configuration Window, or
eliminating catalogs of objects (NGC, IC, comets, asteroids, &etc;).
If &kstars; is idling, it uses very little <acronym>CPU</acronym>;
but it will use as much as you have got when panning or zooming.
<sect1 id="compilation">
<title>Compilation and Installation</title>
In order to compile and install &kstars; on your system, type the
following in the base folder of the unpacked &kstars; distribution:
<screen width="40">
<prompt>%</prompt> <userinput>./configure --prefix=$TDEDIR</userinput>
<prompt>%</prompt> <userinput>make</userinput>
<prompt>%</prompt> <userinput>make install</userinput>
Please do not forget the prefix argument to configure. If your <envar>TDEDIR</envar>
variable is not set, set prefix to whatever folder &kde; is installed in: this is
usually either <filename class="directory">/usr</filename>,
<filename class="directory">/opt/kde</filename>, or
<filename class="directory">/opt/trinity</filename>.
Also, make sure you do the
last step as <systemitem class="username">root</systemitem>.
&kstars; uses <command>autoconf</command> and <command>automake</command>,
so you should not have trouble compiling it. Should you run into problems
please report them to the &kstars; mailing list
<sect1 id="configuration">
At this point, there are no special configuration options or
requirements. If &kstars; complains that there are missing data files,
become <systemitem class="username">root</systemitem> and manually copy
all files in <filename class="directory">kstars/data/</filename> to
<filename class="directory">$(TDEDIR)/apps/kstars/</filename> (If you
do not have <systemitem class="username">root</systemitem> privileges,
copy them to
<filename class="directory">~/.trinity/share/apps/kstars/.</filename>)