Difference between revisions of "Ru:Установка"

From Gramps
Jump to: navigation, search
m (Последняя выпущенная версия)
m (Obtaining the source)
Line 213: Line 213:
 
'''1. Download a Stable Version'''
 
'''1. Download a Stable Version'''
  
* The latest stable version of GRAMPS can be downloaded from the [http://sourceforge.net/projects/gramps GRAMPS SourceForge page]. Eg: gramps-3.1.2.tar.gz. Extract this file into a directory:
+
* The latest stable version of GRAMPS can be downloaded from the [http://sourceforge.net/projects/gramps GRAMPS SourceForge page]. Eg: gramps-3.1.3.tar.gz. Extract this file into a directory:
 
<code>
 
<code>
 
   tar xzvf gramps-zzz.tar.gz
 
   tar xzvf gramps-zzz.tar.gz

Revision as of 14:55, 6 December 2009


Последняя выпущенная версия

Последняя версия выпущенная на данный момент - GRAMPS 3.1.3. Эта версия может быть еще недоступна для установки на вашу платформу. Пожалуйста, посетите страницу Загрузки для получения дополнительной информации.

Обновление GRAMPS

Если Вы хотите обновить GRAMPS с предыдущей версии, Вы должны выполнить следующие действия:

  1. Экспортировать ваше Семейное Дерево в формате GRAMPS XML, использую старую версию GRAMPS, установленную на вашем компьютере (снимите галку "Не включать записи помеченные как личные" в параметрах помощнике экспорта)
  2. Удалить старую установленную версию GRAMPS
  3. Установить новую версию GRAMPS, следуя инструкция приведенным ниже
  4. Создать новое семейное дерево
  5. Импотировать ваши сохранённые данные в формате GRAMPS XML

Дополнительные программы, которые могут расширить возможности GRAMPS

GRAMPS does not rely on the following programs, however, having them will increase your productivity:

  • Spell checking: Installing python-gnome2-extras and python-enchant provides the gtkspell module and the enchant module, which adds spell checking in the notes
  • Graphviz, Inkscape: Gramps can make nice Genealogical trees (relationship graphs). These are generated by the Graphviz package, which defines a code (dot), as well as programs to produce graphs (dotty, to be called from command line). This gives you as researcher most power over how your tree will look, but has a learning curve. Also, kgraphviewer works fine with dot generated by GRAMPS. An alternative is to make a graphical report, converting the tree to an svg file, which you then can open/edit/refine in eg Inkscape.
  • ttf-freefont: Useful as a font that supports a large subset of the unicode and is a true type. This works well with both print and graphviz output.
  • XdgUtils is a set of command line tools that assist applications with a variety of desktop integration tasks. About half of the tools focus on tasks commonly required during the installation of a desktop application and the other half focuses on integration with the desktop environment while the application is running. Even if the desktop components of your application are limited to an installer, configuration or management tool, Xdg-utils provides you with an easy way to enhance the usage experience of your customers by improving the integration of these components in the user's environment.

Other packages might also be useful:

  • desktop-file-utils: see list of programs to open a media file on right click on an image

Linux

Автоматичская загрузка и установка GRAMPS

Прежде чем скачивать GRAMPS с этого сайт, проверьте доступность последней версии в репозатарии вашей системы. Чтобы узнать последнею версию, посмотрите в начало этой страницы или же посетите страницу GRAMPS на SourceForge и посмотрите на версию нижнего пакета.

Чтобы проверить, что же доступно в вашей системе, воспользуйтесь одним из методов, приведённых ниже:

Операционная система Linux Командная строка
Системы на основе Debian
(Ubuntu & варианты, Mepis,...)
apt-get install gramps
Gentoo (и Sabayon) emerge gramps
Mandriva urpmi gramps
Системы на основе Redhat
(Fedora, CentOS...)
yum install gramps
OpenSUSE sudo zypper install gramps

Ручная загрузка и установка GRAMPS

Если последняя версия не доступна в репозитарии вашей операционной системы, то Вы можете установить более старую версию, имеющуюся там, или же вам придётся скачать её с этого сайта. Для некоторых дистрибутивов Linux пакет GRAMPS собран. Если вам повезёт, вы найдёте свою систему в списке ниже. Если её там нет, то свяжитесь с разработчиками через список рассылки и попросите совета.

Ubuntu и производные

Пакеты для Ubuntu и производных от неё (Kubuntu, Mephis, LinuxMint, ...): доступны на странице загрузок GRAMPS.

Ubuntu (версия) GRAMPS
релиз
Загрузить
Jaunty Jackalope (9.04) 3.1.2 gramps_3.1.2-1_Ubuntu904.deb
Intrepid Ibex (8.10) 3.1.2 gramps_3.1.2-1_Ubuntu810.deb
Hardy (8.04) 3.1.2 gramps-3.1.2-1_Ubuntu804.deb
Gutsy (7.10) 3.0.3 gramps_3.0.3-1_ubuntu710.deb
Feisty (7.04) 2.2.10 Загрузите gramps_2.2.10-1_all.deb
и gramps-help_2.2.10-1_all.deb, и установите с помощью вашего менеджера пакетов.
Dapper, Edgy
и более старые Ubuntu
2.2.8 Загрузите gramps_2.2.8-1dapper1_all.deb
и gramps-help_2.2.8-1dapper1_all.deb, и установите с помощью вашего менеджера пакетов.

Debian

Debian: Последняя версия должна находиться в нестабильном (unstable) репозитарии (Sid Gramps) и может быть установлена с помощью вашего менеджера пакетов. Тестовый (testing) репозитарий (Testing GRAMPS) обновляется с задержкой в 10 дней.

SuSE

SuSE: Richard Bos has been providing the GRAMPS releases for OpenSUSE. The repository for OpenSUSE 11.1 is available from [1]. 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 [2] and 10.3 is [3]. 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: Над новыми версиями иногда проводят бэкпорт. Чтобы установить бэкпорты, вы должны включить репозитарий backports (убедитесь, что вы понимаете инструкции, приведённые в Mandriva wiki(англ.)). Если последней версии нет в репозитарии backports, то проверьте репозитарий contrib.

Fedora

Fedora: В случае Fedora Core смотрите на странице загрузок GRAMPS пакет с буквами fc и номером вашей версии в названии, и оканщивающийся на .rpm. Альтернативой установке из исходных кодов является сборка пакета из особого файла frm или установка бинарных файлов из тестового репозитария Fedora.

Different GNU/Linux distributions

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 source package (the file ending with '.tar.gz') and install GRAMPS manually. See the section about installing from source for details.

GNOME и KDE

Вы можете использовать обе, но GRAMPS лучше работает с GNOME.

В KDE есть незначительные проблемы с GTK не зависящие от GRAMPS. На странице о KDE эта проблема изложена подробнее.

В GNOME, есть некоторые проблемы с ATK/GAIL не зависящие от GRAMPS. Посетите страницу Известные проблемы, чтобы знать, что эти сложности могут быть.

Смотрите так же XdgUtils.

GRAMPS on handhelds

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

Генеалогический загрузочный диск

Если вам интересен GRAMPS, но Вы не хотите или не можете установить его прямо сейчас (чужой ПК, Windows, нет интернета, работа, ноутбук и т.д.), попробуйте наш Linux Genealogy CD. Он запускается без установки на жёсткий диск и содержит набор бесплатного открытого программного обеспечения для генеалогии. Потом Вы сможете установить Ubuntu 8.04 и GRAMPS с этого диска в любой момент.

Windows, FreeBSD, Mac OS X, Solaris

Windows

Сторите страницу Загрузки для того, чтобы получить установщик для Windows, убедитесь что вы загрузили и установили необходимые зависимости для Windows.

  • Дополнительную информацию для пользоавтелей Windows можно найти на странице GRAMPS и Windows

Mac OS X

A new port of Gramps to Mac is available (July 2009). This is relatively untested and it is wise to back up data carefully before running it. It's available as a ready-built binary application for both Intel and PPC Macs. It's also available as a build environment and can be built from scratch by any Mac with the Apple Xcode toolset.

Mac for Gramps is described at Using Gramps on Apple Mac.

Macports and Fink versions of Gramps have been used in the past.

FreeBSD и Solaris

Для FreeBSD and Solaris приведена экпериментальная инструкция по установке.

Установка из исходных кодов

General Requirements

GRAMPS 3.1.x requires python 2.5 or greater, pygtk2 2.12 or greater, glade bindings and librsvg2

Linux Package Requirements

Debian /Ubuntu Fedora /Redhat Comment
python python Required (needs version 2.5 or later)
pygtk2 pygtk2 Required (needs 2.12 or greater)
xdg-utils xdg-utils Required for Gramps-3.1.x or later
rcs rcs Suggested for running
python-gnome2-extra Suggested for running (spell check)
python-enchant Suggested for running (spell check)
librsvg2-common librsvg2 Required for building
libglib2.0-dev Required for building
python-glade2 Required
librsvg2-devel Required for building
gnome-common Required for building
intltool intltool Required for building
gnome-doc-utils Required for building
gcc, make, gettext Required for building

Obtaining the source

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. Download a Stable Version

  • The latest stable version of GRAMPS can be downloaded from the GRAMPS SourceForge page. Eg: gramps-3.1.3.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. Download from 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 gramps

Upgrading 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 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 user)

then

 make install (as root) 

BSD

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.

Mac OS X

An overview of installing GRAMPS from source on the Mac is given under Installing from source code on Mac OS X

Windows

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.

Solaris

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.