====== Installation of Takin ====== {{ :takin:install2.svg?nolink&120}} //Takin// is developed under Linux and the newest version can be always compiled directly from [[https://code.ill.fr/scientific-software/takin|the repository]]. From time to time, we compile [[https://forge.frm2.tum.de/public/takin/|prepared packages]] for Ubuntu, RedHat, macOS and Windows. There is not yet installer of Takin for Mac and Windows. Compiled version can run standalone without any installation. ===== macOS ===== - [[takin:download|Download latest Mac version]]. - Use control-click on downloaded file and select "open" (because app is currently unsigned) - The Mac version contains all features from Linux version. ===== Ubuntu ===== - [[takin:download|Download latest Ubuntu version]]. - Install the package (replacing with the name of the downloaded file; note the "./" in front of the file name): apt-get install --fix-broken ./ ===== Windows (experimental) ===== - [[takin:download|Download latest windows version]] - Unpack downloaded file. We recommend to use open source utility [[http://www.7-zip.org/|7-Zip]]. - Run takin.exe - Native Windows version is not able to run Python/Julia scripts, so convolution fitting is very simplified. In order to use all Takin features on Windows, we recommend using Ubuntu version under Windows 10. See below. ===== Windows subsystem for Linux (preferred for Windows) ===== * **Instalation** - Users of Windows 10 can run native version of Takin under Linux subsystem. - Install the Windows Subsystem for Linux - Open PowerShell as Administrator and run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux - Follow the instructions, restart the computer if needed - Run Bash (Start --> Bash on Ubuntu on Windows) - Check, if you have version 16 of Ubuntu lsb_release -aIf not, you need to upgrade your linux by running ''sudo do-release-upgrade'' - Perform a system update ''sudo apt update && sudo apt upgrade'' - Install Xming, we recommend to use Setup wizard ([[https://sourceforge.net/projects/xming/|official page]]) - [[takin:download|Download latest Ubuntu version]]. - Install the package (replacing with the name of the downloaded file): dpkg -i * **Run takin** - Start Xming - Start bash - Run DISPLAY=:0 takin - Alternatively you can create a shortcut to ''bash -c "DISPLAY=:0 takin"'' and use [[http://wiki.mlz-garching.de/_media/takin:takin.ico|TAKIN icon]] for it.