# Instalación

## Como obter o &kstars;

O &kstars; distribúese co &kde; como parte do módulo "Edutainment" do kdeedu.

We also occasionally make an independent release. These independent releases will be available as a gzipped tar archive from the following website: http://prdownloads.sourceforge.net/kstars/.

Independent releases are announced through the kstars-announce@lists.sourceforge.net mailing list. Releases are also posted to the &kstars; home page, kde-apps.org, and freshmeat.net.

&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 kdeedu package, which includes &kstars;.

If you would like the latest SVN development version of &kstars;, please follow these instructions.

## Requisitos

Para executar con éxito o &kstars; precísase &kde; >=4.0 e &Qt; >=4.3.

Para compilar o &kstars; tamén hai que ter instalados os paquetes seguintes:

- kdelibs-devel

- qt-devel

- zlib-devel

- fam-devel

- png-devel

- jpeg-devel

- cmake

No meu sistema, o &kstars; utiliza uns 60 MB de memoria do sistema coa configuración por omisión. A maior parte deste uso débese ás bases de datos de obxectos cargadas. Pódese reducir enormemente a ocupación da memoria reducindo o límite de visibilidade das estrelas na xanela de configuración ou eliminando catálogos de obxectos (NGC, IC, cometas, asteroides, &etc;). Se o &kstars; non está a facer nada emprega moi pouca CPU, mais utiliza toda a disponíbel cando se despraza ou amplía a visualización.

## Compilación e instalación

In order to compile and install &kstars; on your system, type the following in the base folder of the unpacked &kstars; distribution:

    % ./configure --prefix=$KDEDIR
    % make
    % make install

Please do not forget the prefix argument to configure. If your `KDEDIR` variable is not set, set prefix to whatever folder &kde; is installed in: this is usually either `/usr`, `/opt/kde`, or `/opt/kde3`. Also, make sure you do the last step as `root`.

&kstars; uses `autoconf` and `automake`, so you should not have trouble compiling it. Should you run into problems please report them to the &kstars; mailing list kstars-devel@kde.org.

## Configuración

Nesta altura non hai opcións ou requisitos de configuración especiais. Se o &kstars; se queixa de que lle faltan ficheiros de datos, entra como `root` e copia manualmente todos os ficheiros que haxa en `kstars/data` para `$(KDEDIR)/apps/kstars` (se non tes privilexios de `root` cópiaos para `~/.kde/share/apps/kstars/.`)