Robertspark's CNC Setup

More
02 Jun 2022 13:34 - 02 Jun 2022 13:38 #244449 by robertspark
Replied by robertspark on topic Robertspark's CNC Setup
Simple Update Script

create a desktop shortcut and within it add the following text:
Call it something line Update.Desktop
You will probably need to change the icon file to one you like or have available.
[Desktop Entry]
Version=1.0
Type=Application
Name=Update
Comment=
Exec=bash /home/chips/update.sh
Icon=xfsm-reboot
Path=
Terminal=true
StartupNotify=false


Create a file in the home directory called "update.sh" {if you change it to something else change the text in the desktop icon.....}

Once you save the file you will need to make it executable
via terminal type:
chmod 774 update.sh

cope and paste the following text into your update.sh file.
Note this is what I use.... you may not want to update your system....
I am also running a RIP install (for QTPlasmaC on Master) and a 2.8.2 install on Buster so that I can use NativeCAM (python2.7) for mill and lathe.
Hence I have 2 installs of linuxcnc as I would like to still use Python2.7 (for the time being).
#! /bin/sh
sudo apt update
sudo apt upgrade -y
#cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make -j4
sudo make setuid
echo -e "\e[1;41mall done!!\e[1;m"
cd
Last edit: 02 Jun 2022 13:38 by robertspark. Reason: forum editor
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum