|
xc
|
ATM there are no precompiled packages for no Linux distribution available. Means you need to compile XC yourself. This is quite straight forward with the documentation provided.
Please have patience. It takes some time and you may encounter some problems. If you have any problem at installation process, feel free to add an issue at https://github.com/xcfem/xc/issues
Compiling XC is straight forward. We provide scripts which automate the tasks above. If you are familar with git, cmake and make, you can skip any further description in this file and directly head over to the scripts. They should do the job for you without any hasle. You will find further instructions in https://github.com/xcfem/xc/blob/master/install/install.scripts.linux.md
You will need to install all packages needed for your distribution. The package installation scripts does install them for various Linux distributions. Your can run the script or copy the contents in a Linux shell.
Just do what ever fits best for you.
You can take a look to the program dependencies https://github.com/xcfem/xc/blob/master/install/dependencies_list.md "here".
Make sure Python 3 is the default Python interpreter for your system. If your using a Debian like distribution you can set Python 3 as the default interpreter as follows:
sudo apt install python-is-python3
First make a directroy in your home directroy and go inside. Following the commands for all needed steps. foo is common used term. You normally see your username and the name of the computer you sit at. After this you will see the directory your are in. Check this before you copy a command. If you would like to copy more than one line at once you may open the XC install script xc_code_install.sh and copy the commands from there.
It is time to get the source code now. Git will clone the source code of xc in the current directory
Building and installing XC works the same way as any other program that uses cmake:
make or make -j 1.make -j 4XC needs to install some Python modules:
If you had no error message XC should be installed on your machine now. It is time ot test if everything works as aspected.
1.8.13