07-27-2023, 06:55 AM
Open the "setup_lnx.sh" in your text editor. There should be a sequence that looks like this:
Below this jumbo write the following:
just how it appears and save the file. This has to be changed because the distro is only reporting what it is, not its base. The base (in this case Debian/Ubuntu) is needed to figure out to use "apt" and not "dnf" or "pacman" etc., and to use packages with DEB file extension which are exclusive to Ubuntu, which KDE Neon is based on.
In addition you might want to do the following before running the setup file again:
Code: (Select All)
#Arch Linux = arch
#Debian = debian
#Fedora = Fedora
#KUbuntu = ubuntu
#LUbuntu = ubuntu
#Linux Mint = linuxmint
#Ubuntu = ubuntu
#Slackware = slackware
#VoidLinux = voidlinux
#XUbuntu = ubuntu
#Zorin = Zorin
if [ -n "$lsb_command" ]; then
DISTRO=`$lsb_command -si | tr '[:upper:]' '[:lower:]'`
elif [ -e /etc/arch-release ]; then
DISTRO=arch
elif [ -e /etc/debian_version ] || [ -e /etc/debian_release ]; then
DISTRO=debian
elif [ -e /etc/fedora-release ]; then
DISTRO=fedora
elif [ -e /etc/redhat-release ]; then
DISTRO=redhat
elif [ -e /etc/centos-release ]; then
DISTRO=centos
fi
Below this jumbo write the following:
Code: (Select All)
DISTRO=debian
just how it appears and save the file. This has to be changed because the distro is only reporting what it is, not its base. The base (in this case Debian/Ubuntu) is needed to figure out to use "apt" and not "dnf" or "pacman" etc., and to use packages with DEB file extension which are exclusive to Ubuntu, which KDE Neon is based on.
In addition you might want to do the following before running the setup file again:
Code: (Select All)
sudo apt install make