FFGo: Difference between revisions

Jump to navigation Jump to search
120 bytes removed ,  14 March 2016
m
→‎Installation tips: Use the Note template for nicer formatting
m (→‎Updating the software: Use the Note template for nicer formatting)
m (→‎Installation tips: Use the Note template for nicer formatting)
Line 360: Line 360:
<pre>C:\> pip install --upgrade --pre ffgo</pre>
<pre>C:\> pip install --upgrade --pre ffgo</pre>


<p>Note:</p>
{{Note|Development snapshots have version numbers such as 1.9.0.dev2; beta versions have numbers like 1.9.0b1; for release candidates, the version number can be of the form 1.9.0c2 or 1.9.0rc2, etc. All this is explained in [https://www.python.org/dev/peps/pep-0440/ PEP 0440] if you are interested.}}
 
<blockquote>
Development snapshots have version numbers such as 1.9.0.dev2; beta versions
have numbers like 1.9.0b1; for release candidates, the version number can be
of the form 1.9.0c2 or 1.9.0rc2, etc. All this is explained in
[https://www.python.org/dev/peps/pep-0440/ PEP 0440] if you are interested.
</blockquote>


===== Uninstalling the software =====
===== Uninstalling the software =====
Line 494: Line 487:
<pre>apt-get install ffgo python3-pil.imagetk geographiclib-tools</pre>
<pre>apt-get install ffgo python3-pil.imagetk geographiclib-tools</pre>


'''Note:'''
{{Note|Installing the <tt>geographiclib-tools</tt> package is not enough to have the <tt>MagneticField</tt> program working. This program needs one or more datasets which are not part of the <tt>geographiclib-tools</tt> package. One easy way to install the minimal dataset on Debian is to run the following command with root privileges:
<blockquote>Installing the <tt>geographiclib-tools</tt> package is not enough to have the <tt>MagneticField</tt> program working. This program needs one or more datasets which are not part of the <tt>geographiclib-tools</tt> package. One easy way to install the minimal dataset on Debian is to run the following command with root privileges:


<pre>/usr/sbin/geographiclib-get-magnetic minimal</pre>
<pre>/usr/sbin/geographiclib-get-magnetic minimal</pre>


This will automatically download and install a minimal dataset under <tt>/usr/share/GeographicLib/magnetic</tt>, where it can be found by <tt>MagneticField</tt> (not registering the added files with <tt>dpkg</tt> though, which is a bit ugly, cf. [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687253 Debian bug #687253]).
This will automatically download and install a minimal dataset under <tt>/usr/share/GeographicLib/magnetic</tt>, where it can be found by <tt>MagneticField</tt> (not registering the added files with <tt>dpkg</tt> though, which is a bit ugly, cf. [https://bugs.debian.org/687253 Debian bug #687253]). Otherwise, you can read the [http://geographiclib.sourceforge.net/html/MagneticField.1.html MagneticField(1) manual page] which explains how to tell MagneticField where he should look to find the datasets it needs.}}
Otherwise, you can read the [http://geographiclib.sourceforge.net/html/MagneticField.1.html MagneticField(1) manual page] which explains how to tell MagneticField where he should look to find the datasets it needs.
</blockquote>


Once the <tt>ffgo</tt> package is installed, FFGo can be run from the [http://freedesktop.org/ freedesktop] menu and, obviously, from the command line (the command name is <tt>ffgo</tt>).
Once the <tt>ffgo</tt> package is installed, FFGo can be run from the [http://freedesktop.org/ freedesktop] menu and, obviously, from the command line (the command name is <tt>ffgo</tt>).
Line 799: Line 789:
======  Updating the software ======
======  Updating the software ======


Note: ''none of the following should be run as root.''
{{Note|None of the following should be run as root.}}


<ol style="list-style-type: decimal">
<ol style="list-style-type: decimal">
Line 1,000: Line 990:
choice.</p>
choice.</p>


<p>Note:</p>
{{Note|This script installs FFGo inside the virtual environment. If you want to use FFGo from its Git repository instead, just replace <tt>FFGo</tt> with <tt>CondConfigParser</tt> in the last line of the script (since CondConfigParser is a mandatory dependency of FFGo).}}
 
<blockquote>
This script installs FFGo inside the virtual environment. If you want to use
FFGo from its Git repository instead, just replace <tt>FFGo</tt> with
<tt>CondConfigParser</tt> in the last line of the script (since CondConfigParser is a mandatory dependency of FFGo).
</blockquote>
</li>
</li>
</ul>
</ul>
377

edits

Navigation menu