Skip to content

dev_Installing

Xmetalfanx edited this page Nov 27, 2022 · 4 revisions

Installing

installApp function

'installApp' is the name of the function and take an unlimited amount of arguments. - it DOES echo out those arguments in a line similar "Installing " - it then uses the $install var to install the selected - I think this is best when installing something from a default repo or AFTER the needed sources (PPA? RPMFusion? Pacman repo?) are added already. - I do see an issue when passing a number of package names, where it has to stop and check if they are installed one by one.

$install variable

  • This is based on the package manager

  • Examples

    • Arch Linux/Manjaro
      • sudo pacman -S
    • Debian/Ubuntu
      • sudo apt install
    • Fedora
      • sudo dnf install
    • OpenSuse
      • sudo zypper install
    • Solus
      • sudo eopkg install
  • all that has to be done is '$install '

Clone this wiki locally