-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall-kmcos-complete-linux-venv-Ubuntu20.bash
More file actions
54 lines (44 loc) · 1.6 KB
/
install-kmcos-complete-linux-venv-Ubuntu20.bash
File metadata and controls
54 lines (44 loc) · 1.6 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash -eu
echo "Simple wrapping script that resolves"
echo "dependency within the APT system"
cd ~
mkdir kmcosInstallation
cd kmcosInstallation
sudo apt-get update
sudo apt-get install gfortran
sudo apt-get install git
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install wheel #--user
git clone http://www.github.com/kmcos/kmcos
cd kmcos
echo "Entering the kmcos directory to install kmcos."
pip3 install -r requirements.txt #--user
python3 setup.py install #--user
echo "Now doing the pip3 command."
pip3 install kmcos[MINIMAL] --upgrade #--user
echo "Now going to examples."
cd examples
python3 MyFirstSnapshots__build.py
cd MyFirstSnapshots_local_smart
python3 kmc_settings.py benchmark
echo "if you see a printed line showing a certain number of steps/s, ten the benchmark test worked and your kmcos installation is complete!"
cd ..
cd ..
cd ..
echo "Installing Dependencies for kmcos view function"
cd ~
echo "Installing Python3-gi"
sudo apt-get install python3-gi
echo "Installing Pycairo"
sudo apt install libcairo2-dev pkg-config python3-dev
pip3 install pycairo #pycairo 1.21.0 with PyGobject of 3.42.2 is known to work with Ubuntu 20.04 LTS on VirtualBox as of Aug 14th 2022
echo "Installing PyGObject"
sudo apt install libglib2.0-dev
sudo apt install libgirepository1.0-dev
pip3 install pygobject #pycairo 1.21.0 with PyGobject of 3.42.2 is known to work with Ubuntu 20.04 LTS on VirtualBox as of Aug 14th 2022
echo "Installing Tkinter"
sudo apt-get install python3-tk
#rm sudo-kmcos-install-dependencies-ubuntu.bash
echo "Installing GooCanvas"
sudo apt-get install gir1.2-goocanvas-2.0