Namespace src/Linux/Apt
src/Linux/Apt
Overview
Directory src/Linux/Apt
file source src/Linux/Apt/addRepository.sh
Linux::Apt::addRepository
add apt repository followed by an apt-get update
Environment variables
- SKIP_APT_GET_UPDATE
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
Features
- Retry::default
src/Linux/Apt/install.sh
file source src/Linux/Apt/install.sh
Linux::Apt::install
apt-get install
Arguments
- … (softwares:String[]): list of softwares to install
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
Features
- Retry::default
src/Linux/Apt/installIfNecessary.sh
file source src/Linux/Apt/installIfNecessary.sh
Linux::Apt::installIfNecessary
apt-get install if package is not installed yet
Arguments
- … (packages:String[]): list of packages to install
Environment variables
- SKIP_APT_GET_UPDATE
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
Features
- Retry::default
src/Linux/Apt/isPackageInstalled.sh
file source src/Linux/Apt/isPackageInstalled.sh
Linux::Apt::isPackageInstalled
check if apt package is installed
Arguments
- $1 (package:String): the package name to check
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
src/Linux/Apt/remove.sh
file source src/Linux/Apt/remove.sh
Linux::Apt::remove
remove ubuntu packages
Arguments
- … (softwares:String[]): list of softwares to remove
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
Features
- Retry::default
src/Linux/Apt/repositoryExists.sh
file source src/Linux/Apt/repositoryExists.sh
Linux::Apt::repositoryExists
check if apt repository is added to apt sources Linux::requireSudoCommand
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
src/Linux/Apt/update.sh
file source src/Linux/Apt/update.sh
Linux::Apt::update
update apt packages list
Output on stdout
- diagnostics logs
Requires
- Linux::requireUbuntu
Features
- Retry::default