/usr/share/doc/hydroffice.bag-doc/html/_sources/how_to_install_on_linux_mint.txt is in hydroffice.bag-doc 0.2.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | BAG library on Linux Mint
=========================
This document describes a tested configuration to install the BAG library on Linux Mint.
For use with a VM image:
* Download from here: http://www.osboxes.org/linux-mint/#linuxmint-173-rosa-vmware
* Change Display resolution *[optional]*
* Install VM Tools using Software Manager (select open-vm-tools-desktop) *[optional]*
Installation:
* Download 64-bit Python 2.7 miniconda: http://conda.pydata.org/miniconda.html
* Install it from terminal: ``bash Miniconda-latest-Linux-x86_64.sh``
* Install dependencies using conda (since with pip they may fail): ``conda install numpy matplotlib gdal lxml spyder``
* Finally use pip for hydroffice.bag: ``pip install hydroffice.bag``
Test:
* Open Spyder using the terminal: ``spyder``
* Write in the temp.py:
.. code-block:: python
from hydroffice import bag
print("BAG version: %s" % bag.__version__)
* Run the script and you should get the library version without errors:
.. image:: ./_static/linux_mint_spyder.png
:align: center
:alt: Spyder
.. NOTE::
If you get issues on the installation, you may open a ticket:
* https://bitbucket.org/ccomjhc/hyo_bag/issues?status=new&status=open
* https://github.com/giumas/hyo_bag/issues
|