Packages manipulation (system)
List of Global Functions
Available - Is a package available?
CheckAndInstallPackages - Check if packages are installed
CheckAndInstallPackagesInteractive - Check if packages are installed
EnsureSourceInit - Ensure that Pkg:: calls working with the installation sources work
EnsureTargetInit - Ensure that Pkg:: calls work. This may become superfluous.
Installed - Is a package provided in the system? Is there any installed package providing 'package'?
PackageAvailable - Is a package available? Checks only package name, not list of provides.
PackageInstalled - Is a package installed? Checks only the package name in contrast to Installed() function.
List of Global Variables
Is a package available?
Function parameters
string package
Return value
boolean - true if yes (nil = no package source available)
Check if packages are installed
Function parameters
list<string> packages
Return value
boolean - true if installation succeeded or packages were installed, false otherwise
Check if packages are installed
Function parameters
list<string> packages
Return value
boolean - true if installation succeeded, packages were installed before or user decided to continue, false otherwise
Ensure that Pkg:: calls working with the installation sources work
Return value
void
Ensure that Pkg:: calls work. This may become superfluous.
Return value
void
Is a package provided in the system? Is there any installed package providing 'package'?
Function parameters
string package
Return value
boolean - true if yes
Is a package available? Checks only package name, not list of provides.
Function parameters
string package
Return value
boolean - true if yes (nil = no package source available)