Skip to content

Commit ef29775

Browse files
committed
updating
1 parent a83bf76 commit ef29775

File tree

1 file changed

+19
-43
lines changed

1 file changed

+19
-43
lines changed

setupPackages.sh

Lines changed: 19 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ APPINVENT=aisetup.deb
66
APPINVENTDesktop="AppInventorTerminal.desktop"
77
FreecadDesktop="Freecad.desktop"
88
#https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/
9-
FREECAD=FreeCAD_weekly-builds-37543-conda-Linux-x86_64-py311.AppImage
9+
FREECAD=FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage
10+
if (! test -e ~/bin/ ) then
11+
mkdir ~/bin/
12+
fi
1013
if (! test -e $APPINVENT) then
1114
sudo apt -y install zlib1g:i386 lib32stdc++6 libstdc++6:i386 lib32z1
1215
sudo rm -rf /usr/google/appinventor/
@@ -32,7 +35,7 @@ fi
3235

3336
if (! test -e $FreecadDesktop) then
3437

35-
wget https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/$FREECAD -O freecad
38+
wget https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/1.0.0/$FREECAD -O freecad
3639
sudo cp freecad /usr/local/bin/
3740
sudo chmod +x /usr/local/bin/freecad
3841
sudo cp FreeCAD-logo.png /usr/local/bin/
@@ -73,21 +76,16 @@ GITHUBDESKTOPRELEASE=3.3.5-linux2
7376
#https://github.com/shiftkey/desktop/releases/download/release-3.3.5-linux2/GitHubDesktop-linux-amd64-3.3.5-linux2.deb
7477
GITHUBDESKTOP=GitHubDesktop-linux-amd64-$GITHUBDESKTOPRELEASE.deb
7578
if (! test -e $GITHUBDESKTOP) then
76-
sudo apt purge -y bcmwl-kernel-source
77-
sudo apt install -y firmware-b43-installer
7879
wget https://github.com/shiftkey/desktop/releases/download/release-$GITHUBDESKTOPRELEASE/$GITHUBDESKTOP
7980
sudo dpkg -i $GITHUBDESKTOP
8081
else
8182
echo "$GITHUBDESKTOP installed "
8283
fi
8384

84-
sudo apt install -y git texstudio python3-pip libncurses5 libpython2.7 mesa-utils openshot-qt python3-openshot ssh net-tools build-essential curl wget inkscape docker.io libfuse2 nodejs npm sssd-ad sssd-tools realmd adcli krita obs-studio godot3 google-chrome-stable kazam gnome-sound-recorder ffmpeg
85+
sudo apt install -y git texstudio python3-pip libncurses5 libpython2.7 mesa-utils openshot-qt python3-openshot ssh net-tools build-essential curl wget inkscape docker.io libfuse2 nodejs npm sssd-ad sssd-tools realmd adcli krita obs-studio godot3 google-chrome-stable kazam gnome-sound-recorder ffmpeg gedit f3d
8586
sudo apt purge -y modemmanager scratch brltty meshlab
8687
sudo pip install pyserial
8788

88-
89-
90-
9189
sudo snap install blender --classic
9290

9391

@@ -126,7 +124,7 @@ if (! test -e $CURADESKTOP) then
126124
sudo desktop-file-install $CURADESKTOP
127125
fi
128126
if (! test -e $ARDUINODESKTOP) then
129-
sudo wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Linux_64bit.AppImage -O /usr/local/bin/arduino-2
127+
sudo wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.3.4_Linux_64bit.AppImage -O /usr/local/bin/arduino-2
130128
sudo chmod +x /usr/local/bin/arduino-2
131129
sudo wget https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg -O /usr/local/bin/arduino.svg
132130
echo "[Desktop Entry]
@@ -172,28 +170,20 @@ if (! test -e $SCRATCHJR) then
172170
cd $SCRIPT/
173171
fi
174172

175-
wget https://github.com/CommonWealthRobotics/Installer-Linux-BowlerStudio/releases/latest/download/bowlerstudio -O $SCRIPT/bowlerstudio
176-
sudo cp $SCRIPT/bowlerstudio /usr/local/bin/bowlerstudio
177-
sudo chmod +x /usr/local/bin/bowlerstudio
178-
179-
wget https://github.com/CommonWealthRobotics/ESP32ArduinoEclipseInstaller/releases/latest/download/eclipse -O $SCRIPT/eclipse
180-
sudo cp $SCRIPT/eclipse /usr/local/bin/eclipse
181-
sudo chmod +x /usr/local/bin/eclipse
182-
sudo cp $SCRIPT/icon.xpm /usr/local/bin/icon.xpm
183-
sudo cp $SCRIPT/splash.png /usr/local/bin/splash.png
184173

185-
sudo sed -i 's/sudo/#sudo/g' /usr/local/bin/bowlerstudio
186-
sudo sed -i 's/pkexec/#pkexec/g' /usr/local/bin/eclipse
187174

188175
ECLIPSE=$SCRIPT/Eclipse-BS.desktop
189176
if (! test -e $ECLIPSE) then
177+
mkdir ~/bin/eclipse/
178+
wget https://github.com/CommonWealthRobotics/ExternalEditorsBowlerStudio/releases/download/0.1.1/Eclipse-Groovy-Linux-x86_64.tar.gz -O ~/bin/Eclipse-Groovy-Linux-x86_64.tar.gz
179+
tar -xvzf ~/bin/Eclipse-Groovy-Linux-x86_64.tar.gz -C ~/bin/eclipse/
190180
echo "[Desktop Entry]
191181
Version=1.0
192182
Type=Application
193-
Name=Eclipse Bowlerstudio
183+
Name=Eclipse CommonWealthRobotics Build
194184
Comment=
195-
Exec=/usr/local/bin/eclipse
196-
Icon=/usr/local/bin/icon.xpm
185+
Exec=$HOME/bin/eclipse/eclipse
186+
Icon=$HOME/bin/eclipse/icon.xpm
197187
Path=
198188
Terminal=false
199189
StartupNotify=false" > $ECLIPSE
@@ -207,7 +197,11 @@ if (! test -e $BOWLERLAUNCHER) then
207197
wget https://github.com/CommonWealthRobotics/HatRack/releases/latest/download/$BOWLERLAUNCHER
208198
sudo dpkg -i $BOWLERLAUNCHER
209199
fi
210-
200+
CADOODLE= CaDoodle-Linux-x86_64.deb
201+
if (! test -e $CADOODLE) then
202+
wget https://github.com/CommonWealthRobotics/CaDoodle/releases/latest/download/$CADOODLE
203+
sudo dpkg -i $BOWLERLAUNCHER
204+
fi
211205

212206
SCRATCH3=scratch-desktop_3.3.0_amd64.deb
213207
if (! test -e $SCRATCH3) then
@@ -234,25 +228,7 @@ sudo chmod 777 -R /tmp/arduino/
234228
sudo mkdir -p /etc/skel/.config
235229
sudo cp -r $SCRIPT/.config/cura/ /etc/skel/.config/
236230

237-
cd /home/
238-
for d in */ ; do
239-
TRIMMED=$(basename $d);
240-
echo "Checking $TRIMMED"
241-
TMP=$(id -u $TRIMMED)
242-
sudo mkdir -p /home/$TRIMMED/.arduinoIDE/plugins/
243-
sudo cp $SCRIPT/$EXCEPTION_ZIP /home/$TRIMMED/.arduinoIDE/plugins/
244-
if (! test -d /home/$TRIMMED/.config/cura/) then
245-
echo "Updating cura config for $TRIMMED"
246-
sudo cp -r $SCRIPT/.config/cura/ /home/$TRIMMED/.config/
247-
fi
248-
sudo mkdir -p /home/$TRIMMED/Desktop/
249-
sudo rm -rf /home/$TRIMMED/.config/google-chrome/Singleton*
250-
sudo chown -R $TMP:$TMP /home/$TRIMMED/
251-
252-
done
253-
254-
255-
sudo lpadmin -p MDC_LAB -E -v ipp://10.88.5.129/ipp/print -m everywhere
231+
256232

257233

258234

0 commit comments

Comments
 (0)