Open main menu

Gramps β

Changes

Ru:Установка

3,788 bytes added, 01:02, 1 October 2021
no edit summary
[[Category:Ru:Documentation]][[Category:Developers/Installation]][[Category:Developers/Packaging]]
{{languages|Installation|Установка}}
==Live CDПоследняя выпущенная версия ==Если вам интересен Последняя версия выпущенная на данный момент - '''GRAMPS, но вы не хотите или не можете установить его прямо сейчас (чужой ПК, Windows, нет Интернета и т''' {{version}}.&ndsp;дЭта версия может быть еще недоступна для установки на вашу платформу.)Пожалуйста, попробуйте наш посетите страницу [[Linux Genealogy CDDownload/ru|Загрузки]]. Он запускается без установки на жёсткий диск и содержит набор бесплатного открытого программного обеспечения для генеалогии. Потом вы сможете установить [http://ubuntu.com Ubuntu 8.04] и GRAMPS с этого диска в любой моментполучения дополнительной информации.
==Автоматическая закачка и установка Обновление GRAMPS==Прежде чем скачивать Если Вы хотите '''обновить GRAMPS ''' с этого сайт, проверьте доступность текущей предыдущей версии в репозатарии вашей системы. Чтобы узнать текущую версию, посетите [httpВы должны выполнить следующие действия://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309 страницу GRAMPS на Sourceforge] и посмотрите на версию верхнего пакета.
Чтобы проверить, что же доступно # '''Экспортировать''' ваше Семейное Дерево в вашей системеформате GRAMPS XML, воспользуйтесь одним из методовиспользую '''старую версию GRAMPS''', приведённых ниже.* Системы установленную на основе Debian вашем компьютере (Ubuntu и её варианты, Mepis, Suse…'''снимите галку "Не включать записи помеченные как личные"''' в параметрах помощнике экспорта): <code> apt-get install gramps</code># '''Удалить''' старую установленную версию GRAMPS* Gentoo (и Sabayon):<code># '''Установить''' новую версию GRAMPS, следуя инструкция приведенным ниже emerge gramps </code># '''Создать''' новое семейное дерево* Mandriva: <code> urpmi gramps</code>* Системы на основе Redhat (Fedora, CentOS…): <code> yum install gramps</code># '''Импотировать''' ваши сохранённые данные в формате GRAMPS XML
==Ручная закачка и установка Дополнительные программы, которые могут расширить возможности GRAMPS==GRAMPS не зависит от следующих программ, однако, их наличие повысит Вашу продуктивность:
Если текущая версия не доступна * '''Проверка правописания''': Установка python-gnome2-extras и python-enchant предоставляет модули gtkspell и enchant, которые добавляют возможность проверки орфографии в репозитарии вашей операционной системызаметках* '''Graphviz''', вам придётся скачать её с этого сайта'''Inkscape''': Gramps может строить красивые генеалогические древа (графы отношений). Некоторые добрые пользователи GRAMPS собрали пакеты Они генерируются средствами Graphviz в файл специального формата (dot), также как программы для различных системпостроения графов (dotty, вызывается из командной строки). Это даёт возможность управления внешним видом Вашего древа, но имеет некую сложность в обучении. Если вам повезётТакже можно создавать графические отчёты, вы найдёте свою систему представляющие древо в списке нижеформате svg файла, который Вы можете открыть/изменить/уточнить в программе Inkscape.* '''ttf-freefont''': Полезен как шрифт, который поддерживает большое количество символов unicode и является true type шрифтом. Выглядит хорошо как при печати, так и при выводе graphviz.* '''[http://portland. Если её там нетfreedesktop.org/wiki/ XdgUtils]''' набор инструментов командной строки, то свяжитесь который помогает с разработчиками через список рассылки интеграцией приложений. Около половины инструментов направлены на задачи связанные с установкой ПО, другая часть направлена на интеграцию с рабочим окружением в котором запущено приложение. Даже если компоненты приложения ограничены установкой, настройкой или управлением, Xdg-utils улучшает интеграцию этих компонентов в пользовательское окружение.* '''[http://tilloy.net/dev/pyexiv2/overview.html pyexiv2]''' модуль позволяющий Gramps считывать и сохранять метаданные находящиеся в изображениях. Используется в грамплетах Metadata Viewer и попросите советаImage Metadata.
* '''Ubuntu''' и производные (Kubuntu, Mephis…): Другие пакеты Ubuntu доступны на [http://sourceforge.net/project/showfiles.php?group_id=25770 странице загрузок GRAMPS].** Hardy (8.04) : скачайте [https://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309&release_id=634561 gramps_3.0.3-1_Ubuntu804.deb]** Gutsy (7.10) : скачайте [https://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309&release_id=634561 gramps_3.0.3-1_Ubuntu710.deb]** Feisty (7.04) : скачайте [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps_2.2.10-1_all.deb] и [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps-help_2.2.10-1_all.deb] и установите их с помощье своего менеджера пакетов. Так же можно воспользоваться пакетом [http://packages.ubuntu.com/gutsy/admin/gdebi gdebi].** Dapper, Edgy и предыдущие: версия 2.2.10 пока не доступна, поэтому скачайте [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps_2.2.8-1dapper1_all.deb] и [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps-help_2.2.8-1dapper1_all.deb] и установите их с помощью своего менеджера пакетов.* '''SuSE''': Ричард Бос (''Richard Bos'') обеспечивает выпуск пакетов GRAMPS для репозитариев SuSE. Они доступны из его [http://software.opensuse.org/download/home:/rbos/ репозитария ''rbos'']. Так же посмотрите на форуме тему об [http://www.suseforums.net/index.php?s=22f80a050a1e3cffffd590db0813dea9&showtopic=28727&pid=152093&st=0&#entry152093 удовлетворении зависимостей GRAMPS на SuSE с использованием ''rbos'' и SMART] <small style="color:grey">(англ.)</small>.* '''Mandriva''': Над новыми версиями иногда проводят бэкпорт. Чтобы установить бэкпорт, вы должны активировать репозитарий ''backports'' (убедитесь, что вы понимаете инструкции, приведённые в [http://wiki.mandriva.com/en/Docs/Basic_tasks/Installing_and_removing_software#Advanced_use:_Backports_and_candidate_updates Mandriva wiki]) <small style="color:grey">(англ.)</small>. Если последней версии нет в репозитарии ''backports'', то проверьте репозитарий ''contrib''.* '''Fedora''': В случае Fedora Core найдите на [http://sourceforge.net/project/showfiles.php?group_id=25770 странице загрузок GRAMPS] пакет с буквами ''fc'' и номером вашей версии в названии, а так же оканщивающийся на ''.rpm''. Альтернативой установке из исходников является [[fedora rpm|сборка пакета]] из особого файла frm или установка бинарных файлов из тестового репозитария Fedora.* '''Debian''': Последняя версия должна находиться в нестабильном (''unstable'') репозитарии ([http://packages.debian.org/sid/gramps Sid Gramps]) и может также могут быть установлена с помощью вашего менеджера пакетов. Тестовый (''testing'') репозитарий обновляется с задержкой в 10 дней, см. [httpполезны://packages.debian.org/lenny/gramps Lenny Gramps].
* '''desktop-file-utils''': просмотр списка программ для открытия файла при щелчке правой кнопкой мыши на изображении
{{man note| Обратите внимание |Различные дистриутиву GNU/== Linux используют различные стандартные способы загрузки ===== Автоматичская загрузка и установки пакетов ПОустановка GRAMPS ===Прежде чем скачивать GRAMPS с этого сайт, проверьте доступность последней версии в репозатарии вашей системы. ПрочтитеЧтобы узнать последнею версию, пожалуйта, инструкции по установке для своего дистрибутива, прежде чем приступить к загрузкепосмотрите в начало этой страницы или же посетите [http://sourceforge.net/projects/gramps/files/Stable/ страницу GRAMPS на SourceForge] и посмотрите на версию нижнего пакета.}}
Во всех остальных случаях Чтобы проверить, что же доступно в вашей системе, воспользуйтесь одним из методов, приведённых ниже:{|{{prettytable}}!Операционная система Linux!Командная строка|-|<!--Linux Operating System-->Системы на основе Debian <br>(Ubuntu & варианты, Mepis,...)|<!--Command Line--><code>sudo apt-get install gramps</code>|-|<!--Linux Operating System-->Gentoo (и Sabayon)|<!--Command Line--><code>sudo emerge gramps </code>|-|<!--Linux Operating System-->Mandriva|<!--Command Line--><code>sudo urpmi gramps</code>|-|<!--Linux Operating System-->Системы на основе Redhat<br>(Fedora, CentOS...)|<!--Command Line--><code>sudo yum install gramps</code>|-|<!--Linux Operating System-->OpenSUSE|<!--Command Line--><code>sudo zypper install gramps</code>|} === Ручная загрузка и установка GRAMPS ===Если последняя версия не доступна в репозитарии вашей операционной системы, то Вы можете установить более старую версию, имеющуюся там, или же вам придётся скачать её с этого сайта. Для некоторых дистрибутивов Linux пакет GRAMPS собран. Если вам повезёт, вы найдёте свою систему в списке ниже. Если её там нет, то свяжитесь с разработчиками через список рассылки и попросите совета. ==== Ubuntu и производные ====Пакеты для '''Ubuntu''' и производных от неё (Kubuntu, Mephis, LinuxMint, ...): доступны на [http://sourceforge.net/project/showfiles.php?group_id=25770 скачатьстранице загрузок GRAMPS]. See [http://sourceforge.net/projects/gramps/files/OldFiles/ OldFiles] for archives. ====Debian===='''Debian''': Последняя версия должна находиться в нестабильном (''unstable'') репозитарии ([http://packages.debian.org/sid/gramps Sid Gramps]) и может быть установлена с помощью вашего менеджера пакетов. Тестовый (''testing'') репозитарий ([http://packages.debian.org/testing/gramps Testing GRAMPS]) обновляется с задержкой в 10 дней. ====SuSE===='''SuSE''': Richard Bos has been providing the GRAMPS releases for OpenSUSE. The repository for OpenSUSE 11.1 is available from [http://download.opensuse.org/repositories/Education/openSUSE_11.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 [http://download.opensuse.org/repositories/Education/openSUSE_11.0/] and 10.3 is [http://download.opensuse.org/repositories/Education/openSUSE_10.3/]. For earlier versions of OpenSUSE (10.2) see the forum entry about [http://www.suseforums.net/index.php?s=22f80a050a1e3cffffd590db0813dea9&showtopic=28727&pid=152093&st=0&#entry152093 satisfying GRAMPS dependencies for SuSE with the ''rbos'' and SMART]. Also, there is [[OpenSUSE_RPM|an other alternative using openSUSE BuildService]]. ====Mandriva===='''Mandriva''': Над новыми версиями иногда проводят бэкпорт. Чтобы установить бэкпорты, вы должны включить репозитарий ''backports'' (убедитесь, что вы понимаете инструкции, приведённые в [http://wiki.mandriva.com/en/Docs/Basic_tasks/Installing_and_removing_software#Advanced_use:_Backports_and_candidate_updates Mandriva wiki]<small style="color:grey">(англ.)</small>). Если последней версии нет в репозитарии ''backports'', то проверьте репозитарий ''contrib''. ==== Fedora ===='''Fedora''': В случае Fedora Core смотрите на [http://sourceforge.net/project/showfiles.php?group_id=25770 странице загрузок GRAMPS] пакет с искодниками буквами ''fc'' и номером вашей версии в названии, и оканщивающийся на ''.rpm''. Альтернативой установке из исходных кодов является [[Fedora RPM|сборка пакета]] из особого файла frm или установка бинарных файлов из тестового репозитария Fedora. ==== Slackware ====Скрипт для сборки пакета из исходных кодов можно найти на сайте [http://slackbuilds.org/ slackbuilds.org]. Аналагично собирается Graphviz. На личном опыте была произведена сборка GRAMPS 3.2.6 в дистрибутиве Linux [http://www.salixos.org/ Salix OS] 13.1.2 (основана на Slackware 13.1) с помощью скрипта для версии 3.2.4 (файлв файле ''gramps.SlackBuild'' необходимо поменять номер версии на 3.2.6). ==== Другие дистрибутивы GNU/Linux ====Различные дистрибутивы GNU/Linux имеют свои пути загрузки и установки GRAMPS. Пожалуйста, прочтите инструкции по установке для вашего дистрибутива перед загрузкой. В прочих случаях, оканчивающийся на «необходимо [http://sourceforge.net/project/showfiles.php?group_id=25770 загрузить] исходные коды (архив '.tar.gz»gz') и установить GRAMPS вручную. Подробности можно найти в разделе об Смотрите раздел о ручной установке из исходниковисходных кодов.
==Windows, BSD, Mac OS X, Solaris=GNOME и KDE===Для Windows существует экспериментальный [[Windows installer/ru|установщик]]. Если версия этого установщика не соответствует последнеей версии GRAMPSВы можете использовать обе, то вам придётся подождать, пока не появится новая версия.{{man note| Для пользователей Windows |Больше информации об использовании но GRAMPS в Windows можно найти на странице [[GRAMPS_and_Windows|GRAMPS и Windows]]лучше работает с GNOME.}}
Для Mac OS X, both the [http://finkprojectВ KDE есть незначительные проблемы с GTK не зависящие от GRAMPS.org Fink project] and На [http://macports.org MacPorts] have Gramps as a installable package. Fink currently has '''very''' old versions available it in the [http://pdb.finkproject.org/pdb/package.php/gramps# package database]. Detailed instructions on using both these systems to install recent versions of gramps are given under [[Mac_OS_XKDE page|Installing from source code on Mac OS Xстранице о KDE]]эта проблема изложена подробнее.
For BSD and Solaris there are experimental install instructions belowВ GNOME, есть некоторые проблемы с ATK/GAIL не зависящие от GRAMPS. For FreeBSD use the Посетите страницу [[http://portsmon.freebsd.org/portoverview.py?category=science&portname=gramps /usr/ports/science/grampsKnown issues|Известные проблемы]] port, чтобы знать, что эти сложности могут быть.
==Gnome и KDE==
Вы можете использовать обе, но GRAMPS согласуется с GNOME лучше. В KDE есть незначительные проблемы с GTK не зависящие от GRAMPS. На [[KDE page|странице KDE]] эта проблема изложена подробнее.
Смотрите так же [http://portland.freedesktop.org/wiki/ XdgUtils].
==Additional software =GRAMPS can benefit fromна портативных устройствах===GRAMPS does not rely on the following programs, however, having them will increase your productivityотлично работает на некоротых мало-размерных устройствах. Успешно используется на:
* '''Gnome-print''': It adds the ability to directly print, to preview, and to generate fully internationalized PS and PDF output. At this time, one needs to install gnome-python-desktop to obtain this package (it might be known under different names, eg [[Gramps on debian python-gnome2-desktop).* '''Spell checking''': Installing python-gnome2-extras provides the gtkspell 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, [https://gna.org/projects/kgraphviewer kgraphviewerEee|Asus Eee PC] 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 gnomeprint and graphviz output.* '''[http://portland.freedesktop.org/wiki/ 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=== Генеалогический загрузочный диск ===Если вам интересен GRAMPS, но Вы не хотите или не можете установить его прямо сейчас (чужой ПК, Windows, нет интернета, работа, ноутбук и т.д.), попробуйте наш [[Linux Genealogy CD]]. Он запускается без установки на жёсткий диск и содержит набор бесплатного открытого программного обеспечения для генеалогии. Потом Вы сможете установить [http://www.ubuntulinux.org/ Ubuntu 10.10] и GRAMPS с этого диска в любой момент.
* '''desktop-file-utils''': see list of programs to open a media file on right click on an image== Windows, FreeBSD, Mac OS X, Solaris ===== Windows ===См. страницу [[Download/ru|Загрузки]] для того, чтобы получить установщик для Windows, убедитесь что вы загрузили и установили [[Windows_installer#Installation|необходимые зависимости для Windows]].* '''Yelp''': Gnome help browser. This allows to call Дополнительную информацию для пользоавтелей Windows можно найти на странице [[Gramps and read the Windows|GRAMPS command line reference (tool) on your computerи Windows]].
==Installing from source=====General RequirementsMac 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.
GRAMPS 2.0 requires python 2.3 and the gnome-python and pygtk2 packages. The gnome-python module should be 2.6.0 or greater. The pygtk package should be version 2.5.0 or greaterMac for Gramps is described at [[Using Gramps on Apple Mac]].
Also librsvg2-common is needed. This is a common error at the moment Macports and Fink versions of Gramps have been used in some packages. Without this library, the icons are not shownpast.
=== FreeBSD и Solaris ===
Для FreeBSD and Solaris приведена экпериментальная инструкция по установке.
* Для FreeBSD испоотльзуется порт: [http://portsmon.freebsd.org/portoverview.py?category=science&portname=gramps /usr/ports/science/gramps]
==Установка из исходных кодов == ===Основные требования=== GRAMPS {{version}} зависит от python 2.6 или старше, pygtk 2.16 или старше и librsvg2 ==== Зависимости пакетов Linux Package Requirements ===={|border="1" align ="center"{{Prettytable}}
|-
|!Debian /Ubuntu |!Fedora /Redhat|Comment!Комментарий
|-
|python
|python
|Required Требуется (needs version версия 2.5 or later6 или старше)
|-
|pygtk2
|pygtk2
|Required Требуется (needs версия 2.5.0 or greater16 или больше)
|-
|gnomexdg-pythonutils|gnomexdg-pythonutils|Required (needs 2Требуется для Gramps-3.61.0 or greater)x или старше
|-
|rcs
|rcs
|Suggested for running
|-
|python-gnome2-extra
|
|Предлагается для запуска проверки орфографии
|-
|librsvg2-common
|librsvg2
|Required for buildingТребуется для сборки
|-
|libglib2.0-dev
|
|librsvg2-devel|Required for buildingТребуется для сборки
|-
|
|gnomelibrsvg2-commondevel|Required for buildingТребуется для сборки
|-
|
|intltool
|Required for buildingintltool|-||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 [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/INSTALL?view=markup INSTALL] and [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/README?view=markup README] files accompanying the code. They come with the most recent information. Details on each download method: '''1. Загрузка стабильной версии''' * The latest stable version of GRAMPS can be downloaded from the [http://sourceforge.net/projects/gramps GRAMPS SourceForge page]. As of this writing, this is Eg: gramps-3.0.1{{version}}.tar.gz. Extract this file into a directory: <code>
tar xzvf gramps-zzz.tar.gz
</code> and then go into this directory:<code>
* 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!
Please'''2. Загрузка из SVN''' You can get a branch version (similar as above) or the latest bleeding-edge version through SVN, now is the time to read the such as:  svn co https://gramps.svn.sourceforge.net/svnroot/gramps gramps '''3. Tarball from SVN''' You can get tarball for last sources. * [http://gramps.svn.sourceforge.net/viewvc/gramps/trunkbranches/maintenance/gramps32/INSTALL?view=markup INSTALLtar 3.2.x] and  * [http://gramps.svn.sourceforge.net/viewvc/gramps/trunkbranches/maintenance/gramps33/README?view=markup READMEtar 3.3.x] files accompanying the code * [http://gramps.svn. They come with the most recent informationsourceforge.net/viewvc/gramps/trunk/?view=tar Trunk]
===Dealing with earlier versions=Обновление 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.
make uninstall</code>
as root '''from where you installed the old version from'''. 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.''' ===Installing from source code on Linux===
GRAMPS provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:<code>
./autogen.sh (as user)</code> 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.
make install (as root) </code>
===Installing from source code on BSD===
Installing on BSD is as straightforward as on Linux, apart from some minor issues like tools having different names. See the [[BSD platforms|BSD page]] for details.
===Installing from source code on Mac OS X===Version 3.0.1 has been successfully installed via fink, see: [[Mac OS X fink local]]
Some users have successfully installed An overview of installing GRAMPS from source on the Mac OS X. See the is given under [[Mac_OS_X|Installing from source code on Mac OS X]] page for details. Please, add to the wiki if you successfully installed GRAMPS on OS X.
===Installing from source code on 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пользуйтесь им на свой страх и риск.
If the dependencies are in place, the development version can be tested by getting the source (see above), making a copy of the file const.py.in and rename it to const.py, then execute "python gramps.py" from within the src directory. Of course, this is a development version, so warnings apply even more to this case than when using the installer. ===Solaris===
===Installing from source code on Solaris=== Version 3.0.1 GRAMPS has been successfully installed from source on both Solaris 10 (SPARC) and OpenSolaris X86 (2008.05). Please see the [[Solaris Platforms|Solaris page]] for step-by-step details. ==GRAMPS on handhelds==GRAMPS can run fine on some small-factor devices. Users have been successful in using GRAMPS on: * [[Gramps on the Eee|Asus Eee PC]]
1,971
edits