-
Notifications
You must be signed in to change notification settings - Fork 2
dev_Installing
Xmetalfanx edited this page Mar 30, 2023
·
4 revisions
-
Arguments taken:
- it take an unlimited amount of arguments.
- it DOES display out those arguments in a line similar "Installing <arguments here>"
-
Function tasks:
-
it uses the $install var to install the selected package
- $install is assigned based on the pmanager variable
-
Checking for software installed already:
- This will check the list of apps and only install those not detected as installed already
-
-
Personal Comments
-
Best used when:
- I think this is best when installing something from a default repo or AFTER the needed sources (PPA? RPMFusion? Pacman repo?) are added already.
-
IMPORTANT NOTE:
- I cant remember why this is the case but each argument in the list passed to installApp has to be in seperate double quotes for the checking part of installApp
- ... otherwise it's all detected as one single string, I think.
- I cant remember why this is the case but each argument in the list passed to installApp has to be in seperate double quotes for the checking part of installApp
-
- This is based on the package manager detected
- Examples
- Arch Linux/Manjaro
sudo pacman -S
- Debian/Ubuntu
sudo apt install
- Fedora
sudo dnf install
- OpenSuse
sudo zypper install
- Solus
sudo eopkg install
- Arch Linux/Manjaro
- Examples
- How to use:
- all that has to be done is
$install <package name>
- all that has to be done is
- Script Menus
- Software Menu
- Xmetal's Bulk Tasks
- Dev Documentation
- Distros
- Cleanup Menu
- Software Menus