Hi, Thx for helping

- here is the info:
- Computer: AMD AM4 Athlon, 16GB Ram, 256 GB HD
-Linux distribution - OpenSuse Leap 15.6
-Desktop Platform - KDE Plasma, Version 5.115.0-150600.1.3.x86_64 vendor SUSE LLC
-TyphonIDE Build Platform :
* CodeTyphonCenter Ver 8.60 for Linux 64
* Typhon64 for Linux64 (BigIDE)
Here is the installation script:
user@abawispserver:~/CodeTyphonIns> more install.sh
#!/bin/bash
# =============================================================
# CodeTyphon Studio
# Copyright (c) PilotLogic Software House.
# All rights reserved.
# =============================================================
xwritelogo()
{
echo " "
echo "===================================================="
echo " CodeTyphon Studio "
echo " Version 8.60 (GEN 8)"
echo " Installation for Linux-Solaris-Openindiana-MacOS"
echo " FreeBSD-NetBSD-OpenBSD-DragonFly"
echo "===================================================="
}
#================ Check User Privileges ===========
xcheckuserprivileges()
{
if [ $(id -u) = 0 ]; then
echo " "
echo "
WARNING
WARNING ----WARNING
"
echo "You tryng to install CT as root"
echo "This is NOT the correct procedure."
echo "You MUST start CodeTyphon Installation as normal user"
echo "with sudo root privileges"
echo "
"
fi
#
Check for sudo command
CAN_RUN_SUDO=$(sudo -n uptime 2>&1|grep "load"|wc -l)
if ! [ ${CAN_RUN_SUDO} -gt 0 ]
then
echo " "
echo "
ERROR
ERROR ----ERROR
"
echo " "
echo "Current user can NOT run the sudo command"
echo "To correct this problem:"
echo "1) Install sudo"
echo "2) Add current user to sudo list"
echo " with root privileges"
echo " "
echo "
ERROR
ERROR ----ERROR
"
echo " "
exit
fi
}
#================ Check Installation Dir =======================
xcheckinsdir()
{
if [ -d /usr/lib/codetyphon/ ] ;
then
echo " "
echo "Removing OLD Installation Dir (CT<8.60 /usr/lib/codetyphon)"
echo "please wait..."
echo " "
sudo rm -fr /usr/lib/codetyphon
fi
if [ ! -d /usr/local/ ] ;
then
sudo mkdir /usr/local
sudo chmod -R 777 /usr/local
fi
if [ ! -d /usr/local/bin/ ] ;
then
sudo mkdir /usr/local/bin
sudo chmod -R 777 /usr/local/bin
fi
}
#================ Remore ALL CT Files and Directories ===========
xdeleteallfiles()
{
sudo rm -fr /usr/local/codetyphon
# ---- Remove Desktop Links ----
if [ -f ~/Desktop/codetyphon.desktop ] ;
then
sudo rm -f ~/Desktop/codetyphon.desktop
fi
if [ -f ~/Desktop/typhon32.desktop ] ;
then
sudo rm -f ~/Desktop/typhon32.desktop
fi
if [ -f ~/Desktop/typhon64.desktop ] ;
then
sudo rm -f ~/Desktop/typhon64.desktop
fi
# ---- Remove Dirs and Files ----
sudo rm -f /usr/bin/codetyphon
sudo rm -f /usr/bin/typhon*
sudo rm -f /usr/bin/fpc32
sudo rm -f /usr/bin/fpc64
sudo rm -f /usr/bin/ppc*
sudo rm -f /usr/local/bin/codetyphon
sudo rm -f /usr/local/bin/typhon*
sudo rm -f /usr/local/bin/fpc32
sudo rm -f /usr/local/bin/fpc64
sudo rm -f /usr/local/bin/ppc*
}
#================ Remove ========================
xremove()
{
echo " "
echo "
"
echo " "
echo "Totally removing CodeTyphon"
echo "please wait..."
echo " "
xdeleteallfiles
# ---- Remove MacOS stuff ----
if [ -f /usr/local/lib/libc.dylib ] ;
then
sudo rm -fr /usr/local/lib
fi
if [ -d /Library/Frameworks/CoreFoundation.framework ] ;
then
sudo rm -fr /Library/Frameworks/CoreFoundation.framework
fi
echo " "
echo "[FINAL INFO] CodeTyphon Studio removed from you PC"
echo " "
}
#================ First Install ===================
xinstall()
{
echo " "
echo "
"
echo " "
echo "Copying new files"
echo "please wait..."
echo " "
sudo mkdir /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon
sudo cp -fr installbin/* /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh
cd /usr/local/codetyphon
bash ./setup.sh
}
#================ Remove and Install ===============
xremoveinstall()
{
echo " "
echo "
"
echo " "
echo "Removing Old CodeTyphon installation"
echo "please wait..."
xdeleteallfiles
sudo mkdir /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon
echo " "
echo "Copying new files"
echo "please wait..."
sudo cp -fr installbin/* /usr/local/codetyphon
sudo chmod -R 655 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh
cd /usr/local/codetyphon
bash ./setup.sh
}
#================ Update ========================
xupdate()
{
echo " "
echo "
"
echo " "
echo "Updating CodeTyphon installation"
echo "please wait..."
echo " "
#
if [ -d /usr/local/codetyphon/allzips ] ;
then
sudo rm -fr /usr/local/codetyphon/allzips
fi
if [ -d /usr/local/codetyphon/bin ] ;
then
sudo rm -fr /usr/local/codetyphon/bin
fi
if [ -d /usr/local/codetyphon/binBase ] ;
then
sudo rm -fr /usr/local/codetyphon/binBase
fi
if [ -d /usr/local/codetyphon/binCenter ] ;
then
sudo rm -fr /usr/local/codetyphon/binCenter
fi
if [ -d /usr/local/codetyphon/binTools ] ;
then
sudo rm -fr /usr/local/codetyphon/binTools
fi
if [ -d /usr/local/codetyphon/help ] ;
then
sudo rm -fr /usr/local/codetyphon/help
fi
if [ -d /usr/local/codetyphon/ScriptsLin ] ;
then
sudo rm -fr /usr/local/codetyphon/ScriptsLin
fi
if [ -d /usr/local/codetyphon/ScriptsWin ] ;
then
sudo rm -fr /usr/local/codetyphon/ScriptsWin
fi
#
DEV
if [ -d /usr/local/codetyphon/xIDE ] ;
then
sudo rm -fr /usr/local/codetyphon/xIDE
fi
if [ -d /usr/local/codetyphon/xLAB_App ] ;
then
sudo rm -fr /usr/local/codetyphon/xLAB_App
fi
#
sudo cp -fr installbin/* /usr/local/codetyphon
sudo chmod -R 777 /usr/local/codetyphon/*
sudo chmod +x /usr/local/codetyphon/*.sh
cd /usr/local/codetyphon
bash ./setup.sh
}
#================ Small Menu =======================
xmenusmall()
{
echo " "
echo " 0) Install CodeTyphon Studio"
echo " "
echo " 9) Exit"
echo " "
echo -n ">>> Select an action (press 0..9 key): "
read var_read
case $var_read in
0)
xinstall
;;
*)
exit
;;
esac
}
#================ Big Menu ========================
xmenubig()
{
echo " "
echo " 0) Install CodeTyphon Studio (remove old first)"
echo " "
echo " 1) Update CodeTyphon Studio"
echo " "
echo " 2) Remove CodeTyphon Studio"
echo " "
echo " "
echo " 9) Exit"
echo " "
echo -n ">>> Select an action (press 0..9 key): "
read var_read
case $var_read in
0)
xremoveinstall
;;
1)
xupdate
;;
2)
xremove
xwritelogo
xmenusmall
;;
*)
exit
;;
esac
}
# ================= MAIN ======================
xwritelogo
xcheckuserprivileges
xcheckinsdir
if [ -d /usr/local/codetyphon ] ;
then
xmenubig
else
xmenusmall
fi
user@abawispserver:~/CodeTyphonIns>