-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiorgino-test.sh
129 lines (110 loc) · 4.61 KB
/
giorgino-test.sh
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/bin/bash
#This script install several software for Ubuntooth, useful in digital dentistry workflow, and add some ppa to keep the software updated to latest version
#install software to clone git repo
sudo apt install -y curl jq
#make local folder
cd /usr/local/vinsurf
sudo mkdir /usr/local/vinsurf/scripts
sudo mkdir /usr/local/vinsurf/scripts/modules
sudo mkdir /usr/local/vinsurf/scripts/addons
cd /usr/local/vinsurf/scripts
sudo chmod 777 addons
cd /usr/local/vinsurf/scripts/addons
#Adding Patrick Moore git repository's
sudo curl https://api.github.com/users/patmo141/repos | jq .[].clone_url | xargs -n 1 git clone
#Adding ppa....
sudo add-apt-repository -y ppa:thomas-schiex/blender
sudo add-apt-repository -y ppa:kritalime/ppa
sudo add-apt-repository -y ppa:thopiekar/cura
sudo add-apt-repository -y ppa:inkscape.dev/stable
#sudo add-apt-repository -y ppa:zarquon42/meshlab
#sudo add-apt-repository -y ppa:romain-janvier/cloudcompare
sudo add-apt-repository -y ppa:freecad-maintainers/freecad-stable
#sudo add-apt-repository -y ppa:vokoscreen-dev/vokoscreen-daily
sudo add-apt-repository -y ppa:atareao/telegram
sudo add-apt-repository -y ppa:wine/wine-builds
sudo add-apt-repository -y ppa:libreoffice/ppa
#sudo add-apt-repository -y ppa:docky-core/stable
#sudo add-apt-repository -y ppa:simonschneegans/testing
sudo add-apt-repository -y ppa:elmer-csc-ubuntu/elmer-csc-ppa
#Installing Software
sudo apt update -y
sudo apt install -y blender
cd
cd /etc
cd skel
sudo mkdir .config
cd .config
sudo mkdir blender
cd blender
sudo mkdir 2.78
cd 2.78
sudo mkdir config
cd config
sudo cp /usr/local/vinsurf/ubuntooth/ubuntooth-parts/copy/userpref.blend /etc/skel/.config/blender/2.78/config
cd
sudo mkdir -p ~/.config/blender/2.78/config
sudo cp /etc/skel/.config/blender/2.78/config/userpref.blend ~/.config/blender/2.78/config
cd /usr/local/vinsurf
sudo apt install -y krita krita-l10n
#sudo apt install -y meshlab
sudo apt install -y inkscape
sudo apt install -y winehq-devel
sudo apt install -y cura cura-plugins-all cura-extra-plugins-all
#sudo apt install -y cloudcompare
sudo apt install -y freecad
sudo apt install -y vokoscreen
sudo apt install -y telegram
sudo apt install -y aeskulap
sudo apt install -y libreoffice
sudo apt install -y gimp
sudo apt install -y playonlinux
#sudo apt install -y plank
#sudo apt install -y gnome-pie
sudo apt install -y elmerfem-csc
sudo apt install -y software-properties-gtk
sudo dpkg --configure -a
#sudo snap install blender-tpaw
sudo snap install meshlab
sudo snap install meshlab-mardy
sudo snap install cloudcompare
#sudo snap install krita
#sudo snap install inkscape
#sudo snap install libreoffice
#sudo snap install telegram
# sudo snap install simplescreenrecorder-mardy
cd /usr/local
#Give permission to write in folder vinsurf
sudo chmod -R 777 vinsurf
#add slicer slicercmf itksnap
cd /usr/local/vinsurf
sudo wget http://download.slicer.org/bitstream/561384 -O /usr/local/vinsurf/slicer.tar.gz
sudo tar -zxvf /usr/local/vinsurf/slicer.tar.gz
sudo rm -f /usr/local/vinsurf/slicer.tar.gz
sudo wget http://slicer.kitware.com/midas3/download/item/237896/SlicerCMF3-1_Linux.zip -O /usr/local/vinsurf/slicercmf.zip
sudo unzip /usr/local/vinsurf/slicercmf.zip
sudo rm -f /usr/local/vinsurf/slicercmf.zip
sudo wget https://sourceforge.net/projects/itk-snap/files/itk-snap/3.6.0-rc1/itksnap-3.6.0-rc1-20161029-Linux-x86_64.tar.gz -O /usr/local/vinsurf/itksnap.tar.gz
sudo tar -zxvf /usr/local/vinsurf/itksnap.tar.gz
sudo rm -f /usr/local/vinsurf/itksnap.tar.gz
sudo cp -r /usr/local/vinsurf/ubuntooth/ubuntooth-parts/local/share/applications /usr/share/applications
#sudo cp -r /usr/local/vinsurf/ubuntooth/ubuntooth-parts/local/share/desktop-directories /usr/share/desktop-directories
#sudo wget http://software.ultimaker.com/current/Cura-2.4.0.AppImage -O /usr/local/vinsurf/cura.AppImage
#sudo chmod a+x cura.AppImage
sudo wget https://download.teamviewer.com/download/teamviewer_i386.deb
sudo wget https://github.com/SebKuzminsky/pycam/releases/download/v0.6/pycam_0.6_all.deb
sudo wget https://iweb.dl.sourceforge.net/project/pinguy-os/ISO_Builder/pinguybuilder_4.3-8_all-beta.deb
sudo wget http://packages.linuxmint.com/pool/main/m/mintdrivers/mintdrivers_1.3.4_all.deb
sudo dpkg -i teamviewer_i386.deb
sudo dpkg -i pycam_0.6_all.deb
sudo dpkg -i pinguybuilder_4.3-8_all-beta.deb
sudo dpkg -i mintdrivers_1.3.4_all.deb
sudo apt-get update --fix-missing
sudo dpkg --configure -a
sudo apt install -y -f
sudo rm -f /usr/local/vinsurf/teamviewer_i386.deb
sudo rm -f /usr/local/vinsurf/pycam_0.6_all.deb
sudo rm -f /usr/local/vinsurf/pinguybuilder_4.3-8_all-beta.deb
sudo rm -f /usr/local/vinsurf/mintdrivers_1.3.4_all.deb
cd
exit