|
|
# Downloading or updating #
|
|
|
|
|
|
Whatever your operating system, `git` software is needed. If you did not installed it check
|
|
|
again the [prerequisites] (https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user/wikis/prerequisites)
|
|
|
# <a name=downloading>Downloading</a> #
|
|
|
|
|
|
Due to some flaws of our web server, the graphical interfaces of Git usually do not work. Thus you must
|
|
|
use some terminal commands (on Linux or MacOs, start a terminal, on Windows start the `Git BASH` program).
|
|
|
This should be fixed by next version, some keep some hope !
|
|
|
## Download links ##
|
|
|
|
|
|
* [Downloading] (#downloading)
|
|
|
* [Updating] (#updating)
|
|
|
Linux/MacOs users:
|
|
|
* [version 2017.rc2](https://seafile.lmgc.univ-montp2.fr/f/5695b3514d/?raw=1)
|
|
|
|
|
|
## <a name=downloading>Downloading</a> ##
|
|
|
Windows 32bits:
|
|
|
* [version 2017.rc2](https://seafile.lmgc.univ-montp2.fr/f/1b0a5ce5c3/?raw=1)
|
|
|
|
|
|
In your terminal create a directory in which you will download LMGC90 software
|
|
|
```shell
|
|
|
cd ~/Desktop
|
|
|
mkdir LMGC90
|
|
|
cd LMGC90
|
|
|
```
|
|
|
The choice to put it in the `Desktop/LMGC90` directory here is purely an example, you should put it in any directory of your convenience provided that
|
|
|
you have read/write access on it.
|
|
|
Windows 32bits:
|
|
|
* [version 2017.rc2](https://seafile.lmgc.univ-montp2.fr/f/892bc318bb/?raw=1)
|
|
|
|
|
|
Then to download the software run:
|
|
|
```shell
|
|
|
git clone https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user.git
|
|
|
```
|
|
|
## Uncompress ##
|
|
|
|
|
|
This should create a directory *lmgc90_user* which will contain the following subdirectories:
|
|
|
Then uncompress the downloaded archive wherever you want on your system. This should create a directory *lmgc90_user* which will contain the following subdirectories:
|
|
|
* *src* : the sources of LMGC90 software
|
|
|
* *examples* : the user examples working with the sources
|
|
|
* *manuals* : a list of manuals/documentation for the software in pdf format
|
|
|
* *docs* : the html documentation generated from the sources
|
|
|
* *build* : (Windows only) the pre-compiled version of LMGC90
|
|
|
|
|
|
|
|
|
## <a name=updating>Updating</a> ##
|
|
|
|
|
|
If you modified some of the files (for instance the notebook), you must put them back in their original state
|
|
|
before updating them. So if you want to keep your modifications, you must first rename those files.
|
|
|
|
|
|
To get the list of modified files you can either use a graphical interface of Git, or in the terminal, after
|
|
|
going to the right directory (in Windows you can just right-click in the `lmgc90_user` directory and select `open with Git BASH`),
|
|
|
run:
|
|
|
```shell
|
|
|
git reset --hard origin/master
|
|
|
git pull origin master
|
|
|
``` |