Es:Instalación

From Gramps
Revision as of 22:24, 27 August 2012 by Jsanchez (talk | contribs) (Software adicional del que GRAMPS se puede beneficiar: Some spelling and style changes, many more needed)
Jump to: navigation, search

Última versión publicada

La última versión publicada es GRAMPS 5.2.1. Esta versión puede que no esté disponible aun para tu plataforma. Por favor, visita la página de Descargas para mayor información.

Actualizando Gramps

Gnome-important.png
Atención

Si estás actualizando GRAMPS desde una versión anterior, debes primero seguir estas instrucciones.

Si estás actualizando Gramps desde una versión anterior, deberías primero:

  1. Utilizar la version instalada de GRAMPS para exportar tus árboles genealógicos al formato GRAMPS XML (desmarca opciones de privacidad en el Asistente de Exportación)
  2. Desinstalar la versión vieja de GRAMPS
  3. Instalar la nueva versión de GRAMPS siguiendo las instrucciones indicadas abajo
  4. Crear un nuevo árbol genealógico
  5. Importar tus datos antiguos guardados en formato GRAMPS XML

Software adicional del que GRAMPS se puede beneficiar

GRAMPS no depende de los siguentes programas, sin embargo, tenerlos incrementarán tu productividad:

  • Corrección ortográfica: Instalar gnome-python2-extras y python-enchant provee los módulos gtkspell y enchant, lo que agrega corrección ortográfica en las notas
  • Graphviz, Inkscape: Gramps puede hacer árboles genealógicos buenos (gráficos de relaciones). Éstos son generados por el paquete Graphviz, que define un formato de datos (dot), así como programas para producir gráficos (dotty, para ser llamado desde la línea de comandos). Esto te da como investigador más capacidad sobre como se verá tu árbol, pero tiene una curva de aprendizaje. Una alternativa es hacer un reporte gráfico, convirtiendo el árbol en un archivo svg, que puedes luego abrir/editar/refinar en, por ejemplo, Inkscape.
  • ttf-freefont: Útil como fuente que soporta un gran subconjunto de unicode y es true type. Funciona bien con salidas impresas y graphviz.
  • XdgUtils es un conjuto de herramientas para la linea de comandos que ayudan a las apicaciones con una variedad de tareas de integración de escritorio. Cerca de la mitad de las herramientas se enfocan a tareas comúnmente requeridas durante la instalación de una aplicación de escritorio y la otra mitad se enfocan en la integracion con el ambiente de escritorio mientras se ejecuta la aplicación. Inclusive, si los componentes de escritorio de tu aplicación son limitados para un instalador o una herramienta de configuración o gestión, Xdg-utils te proporciona una forma fácil de mejorar la experiencia de uso de tus clientes a través de la mejora de la integración de estos componentes en el ambiente del usuario.
  • pyexiv2 es un módulo que permite a Gramps leer y escribir metadatos incrustados en archivos de imágenes. Se usa en los gramplets Vista de Metadatos y Edición de Metadatos Exif.
  • osmgpsmap es una biblioteca que provee funcionalidad de mapas GPS. Se usa en las vistas Geográficas.

Otros paquetes que pueden ser útiles:

  • desktop-file-utils: permite ver la lista de programas para abrir un archivo de medios haciendo un click derecho en una imagen.

Linux

Descarga e instalación automática de GRAMPS

Before downloading GRAMPS from this site, see if your operating system's repository makes the current GRAMPS 5.2.1 version available. You could also visit GRAMPS stable on Sourceforge and look at the version number of the top package.

To check what is available specifically for your Linux operating system some methods are listed below:

Linux Operating System Command Line
Debian based systems
(Ubuntu & variants, Mepis,...)
sudo apt-get install gramps
Gentoo (and Sabayon) sudo emerge gramps
Mandriva sudo urpmi gramps
Redhat based systems
(Fedora, CentOS...)
sudo yum install gramps
OpenSUSE sudo zypper install gramps

Dexcarga e instalación manual de GRAMPS

If your Linux operating systems repository does not have the current version, then you may be able to download it from this site. Some helpful users of GRAMPS have made packages for various systems. If you are lucky you'll find your system below. If it's missing you can contact the developers email list for advice.

Ubuntu y sus derivados

Repository packages for Ubuntu and derivatives (Kubuntu, Mephis, LinuxMint, ...): are available on GRAMPS download page.

Gramps-notes.png
This page has good information but needs a cleanup. Please make the Gramps Wiki more useful by re‑organizing this page and linking introductory material. Consider also updating the screenshots.
Ubuntu (Version) GRAMPS
Release
Download
(10.10) 3.3.2 gramps_3.3.2-1.deb
(10.04) 3.3.2 gramps_3.3.2-1.deb
(9.10) 3.2.6 gramps_3.2.6-1_Ubuntu09.deb
Jaunty Jackalope (9.04) 3.2.6 gramps_3.2.6-1_Ubuntu09.deb
Intrepid Ibex (8.10) 3.1.3 gramps-3.1.3-1_Ubuntu.deb
Hardy (8.04) 3.1.3 gramps-3.1.3-1_Ubuntu.deb
Gutsy (7.10) 3.0.3 gramps_3.0.3-1_ubuntu710.deb
Feisty (7.04) 2.2.10 Download gramps_2.2.10-1_all.deb
and gramps-help_2.2.10-1_all.deb, and install with your package manager.
Dapper, Edgy
and earlier versions of Ubuntu
2.2.8 Download gramps_2.2.8-1dapper1_all.deb
and gramps-help_2.2.8-1dapper1_all.deb, and install with your package manager.

Debian

Debian: the latest version should be in the unstable repository (Sid Gramps) and can be upgraded from your package manager. The testing repository is updated 10 days later (except near a new stable release), see Testing Gramps. Released versions of Debian (etch and lenny) contain older versions of GRAMPS, see the list of versions of GRAMPS in Debian.

SuSE

SuSE: Richard Bos has been providing the GRAMPS releases for OpenSUSE. The repository for OpenSUSE 11.1 is available from [1] or [2]. Note that at the time of writing this repository is not the same as that in the repository list as "Education" and must be added as a URL. The repository for 11.0 is [3] and 10.3 is [4]. For earlier versions of OpenSUSE (10.2) see the forum entry about satisfying GRAMPS dependencies for SuSE with the rbos and SMART. Also, there is an other alternative using openSUSE BuildService.

Mandriva

Mandriva: Newer versions of GRAMPS are sometimes backported. To install backports you must enable the backports repository (make sure you understand the instructions on the Mandriva wiki). If the latest version is not in the backports repository you cab try the contrib repository.

Fedora

Fedora: For Fedora look on the GRAMPS download page for a package containing fc with your number and ending with .rpm. The alternative to installing from source is to build a package from an rpm spec file, or install a binary from fedora testing.

Slackware

Slackware 13.0: Gramps 3.2.5 is available via LinuxPackages.

Otras distribuciones GNU/Linux

Different GNU/Linux distributions have other preferred ways to download and install packages for GRAMPS. Please read the installation instructions specific to your distribution before downloading.

In all other cases, you must download the stable source package (the file ending with '.tar.gz') and install GRAMPS manually. See the section about installing from source for details.

Gnome y KDE

You can use both, but GRAMPS fits in better with GNOME.

For KDE there are some minor issues due to some (GTK) issues outside of GRAMPS. Check the KDE page to know what these problems might be.

For GNOME, there are some issues due to some (ATK/GAIL) issues outside of GRAMPS. Check the Known issues to know what these problems might be.

Also, you might look at XdgUtils.

GRAMPS en dispositivos móviles

GRAMPS can run fine on some small-factor devices. Users have been successful in using GRAMPS on:

Live Genealogy CD

If you are interested in GRAMPS, but are afraid to actually install it or unable to install it (not your PC, windows, no internet at home, work laptop, ...), then try out our Linux Genealogy CD. It runs without installing on the hard disk and contains a collection of open source, free, genealogy programs. You can then install Ubuntu 10.10 and GRAMPS from the CD anytime you like.

Windows, FreeBSD, Mac OS X, Solaris

Windows

Be aware there is a least 3 different ways you can install/use GRAMPS under windows. The method you choose will be dependent on your requirements and how much extra work you wish to put into setting up your environment. In order of difficulty:


More information of each of these installation methods can be seen on the download page.

Construyendo desde las fuentes

Fortunately for users of Microsoft Windows, some users have made a Windows installer. So far there have not been any reports of serious differences between the official builds of GRAMPS and the Windows Installer, so the future looks promising, but please, use this at your own risk.

Mac OS X

A ready-to-run application for Max OS X has been available since September 2009 for both Intel and PPC Apple computers. It is wise to back-up data carefully before using the application (especially if you are upgrading from a previous version of Gramps).

Please read the installation instructions at Mac OS X:Application package before you use the program.

Free/OpenBSD y Solaris

For FreeBSD and Solaris there are experimental install instructions.

  • For FreeBSD use the /usr/ports/science/gramps port. In case of error on FreeBSD 8.0, read ticket 3228.
  • For OpenBSD use the gramps port
  • Installing on BSD is as straightforward as on Linux, apart from some minor issues like tools having different names. See the BSD page for details.
  • GRAMPS has been successfully installed from source on both Solaris 10 (SPARC) and OpenSolaris X86 (2008.05). Please see the Solaris page for step-by-step details.

Instalando GRAMPS desde el código fuente

Requerimientos generales

GRAMPS 5.2.1 requires python 2.6 or greater, pygtk 2.16 or greater and librsvg2

Paquetes Linux requeridos

Debian /Ubuntu Fedora /Redhat Comment
python python Required (needs version 2.6 or later)
python-gtk2 pygtk2 Required (needs 2.16 or greater)
BSDDB BSDDB Current backend
librsvg2-common librsvg2 Required for building
libglib2.0-dev glib2-devel Required for building
librsvg2-devel Required for building
intltool intltool Required for building
gcc make gettext Required for building
xdg-utils xdg-utils Required for Gramps-3.1.x or later
rcs rcs Suggested for running
python-gtkspell gnome-python2-gtkspell Suggested for running (spell check). Included in the python-gnome2-extras package in older Debian distributions.
python-webkit python-gtkmozembed WebKitgtk pywebkitgtk Required for the HTML view
python-pygoocanvas goocanvas pygoocanvas Required for Graph View
graphviz graphviz graphviz-python Required for some reports and views
Django Required for http://gramps-connect.org Gramps-Connect
python-pyexiv2 pyexiv2 Required for the Metadata Viewer and Edit Exif Metadata gramplets
libosmgpsmap-dev python-osmgpsmap osm-gps-map Required for the Geography views
gtk2-engines-pixbuf Solves issue with 'Unable to locate theme engine in module_path: "pixmap"'

Under Redhat/Fedora you can install all of the above with:

sudo yum install python pygtk2 xdg-utils rcs gnome-python2-gtkspell librsvg2 \
  librsvg2-devel intltool gnome-doc-utils gcc automake autoconf autogen \
gettext WebKitgtk pywebkitgtk goocanvas pygoocanvas graphviz graphviz-python \ Django pyexiv2 inkscape ImageMagick

Obteniendo las fuentes

There are two ways to get the source code: download a stable version source, or checkout the source from svn. Please, now is the time to read the INSTALL and README files accompanying the code. They come with the most recent information. Details on each download method:

1. Descarga una versión estable

  • The latest stable version of GRAMPS can be downloaded from the GRAMPS SourceForge file area. Eg: gramps-5.2.1.tar.gz. Extract this file into a directory:

  tar xzvf gramps-zzz.tar.gz

and then go into this directory:

  cd gramps-zzz

  • If you are interested in testing out the very latest development versions of GRAMPS, they can be obtained from SVN, see Brief introduction to SVN. The SVN versions of GRAMPS are potentially very dangerous as they have not been extensively tested - especially the "trunk" version which contains features that may still be partly implemented. Be aware that they may be prone to crashing and cause extensive data loss. Please use with extreme caution - and only ever on a copy of your data!

2. Descarga desde SVN

You can get a branch version (similar as above) or the latest bleeding-edge version through SVN, such as:

svn co https://gramps.svn.sourceforge.net/svnroot/gramps/tags/gramps-3.3.1 gramps

for the most recent development version, see Running a development version of Gramps.

3. Un archivo Tarball desde SVN

You can get tarball for last sources.

Actualizando GRAMPS

If you have an older version of the GRAMPS source code installed you need to make a decision what you want to do with it before installing a later version. If you wish to keep the old version, make sure that you read the instructions in the INSTALL file regarding the use of the --prefix option to specify where the new version gets installed.

Should you just want to do a straightforward replacement instead, make sure that you remove the older version before you install the new version. Do not install over the top of the old version. As new versions of Gramps are developed, some functionality is occasionally rewritten in different ways. If you install over the top of an existing installation you run the risk that the old code left behind from the old version may be used instead of the new, sometimes with unintended consequences. If you installed from source, the best way of removing the old version is to run

 make uninstall

as root from where you installed the old version. Use your distribution's package manager to uninstall if your old version was installed as a package.

Note that you should use your old GRAMPS version to export backup copies to GRAMPS XML before removing the old version.

Linux

GRAMPS provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:

 ./autogen.sh   # as regular user

This script will report any missing dependencies. Install these (see also INSTALL file). Building from source code typically requires that the development versions of the required libraries be installed. You might consider setting a prefix path with autogen.sh, see the INSTALL file for instructions. Standard install is in /usr/local.

Once a successful run of autogen.sh has been completed, you can run the typical make procedure.

 make  # as regular user

then

 make install  # as root

Local installation without root privileges is possible, instructions are available on the INSTALL file, most importantly one needs to supply a --prefix= and a --with-mime-dir= argument to autogen.sh.

Mac OS X:construyendo desde las fuentes

There are several different ways of building Gramps from source on Mac OS X. An overview of building from source is given at Mac OS X:Build from source.

Macports and fink versions of Gramps have been used.

The latest version of MacPorts Gramps is 5.1.6. The latest official unstable fink version is 3.0.4 for Mac OS X 10.5 on both PPC and Intel. There is currently no official stable fink version of Gramps. (As at February 2012)

Instructions for building the pre-built binary version (Mac OX X Application package) are given at Mac OS X:Build from source:Application package. Some discussion about earlier attempts is at Mac OS X:Build from source:gtk-osx with bugs reported at Mac OS X:Build from source:gtk-osx:bugs

An older build approach is given at Mac OS X:Build from source:Native OS X.