Simple scripts and how to's to make tasks easier for users of the QORTectors and home built pi4's and linux. The scripts herein are not be utilized on other Linux systems unless explicitly indicated in the list below this body of text.
Applicable to other linux distros that are Qortal nodes only:
- unintall_ui.sh
- update_install_ui.sh
To Utilize:
-
Ensure
gitis installed with terminal commandgit --version.
If no git version is listed simply install via terminal withsudo apt install gitand proceed. -
Download removal & update scripts to your home folder via wget:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/update_install_ui.sh
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/uninstall_ui.sh
- Download Core & UI launchers via wget:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_Core.sh (move to desktop)
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_UI.sh (move to desktop)
-
Make the script/s executable:
via terminal, immediately after terminal load, with
chmod +x *.shVia GUI with
(Right-click -> Properties -> Permissions)and check the "make executable" box. -
Cut/paste Core & UI launchers to desktop
-
Now run the update_install or uninstall script/s via termianl:
sudo ./<script name with file extension> eg: sudo ./uninstall_ui.sh
Important Details (2023):
- Since the qortal-ui repo has been restructured there are now 2 sets of scripts.
- Post 2023 repo change scripts prefixed with nothing
- Pre 2023 repo change scripts prefixed with "prc2023"
-
If a clean install is preferred, and it is suggested, the following procedural flow must be followed based on the indicated situation
-
If doing a fresh install
- Ensure nodeJS is not already installed via APT as it will not be an LTS release
Sudo apt purge nodeJS
- Ensure nodeJS is not already installed via APT as it will not be an LTS release
-
If updating for the first time since the repo re-orginization
- Ensure nodeJS is not already installed via APT as it will not be an LTS release
Sudo apt purge nodeJS - Run the
prc2023unintall_ui.shscript to remove the qortal-ui install that was previously the normal installer - Run the
update_install_ui.shscript to install the qortal-ui
- Ensure nodeJS is not already installed via APT as it will not be an LTS release
-
-
Finish up by re-installing curl
sudo apt install curl
Important Details (2022) (Deprecated):
- Since the UI repo has changed from "UI" to "qortal-ui" there are now 2 sets of scripts.
- Pre repo change prefixed with "prc"
- Post repo change prefixed with nothing
If a clean install is preferred, and it is suggested, the pre repo change uninstaller should be utilized before utilizing the post repo change installer.