Package fi.evolver.script.app
Class Apt
java.lang.Object
fi.evolver.script.app.Apt
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSource(Apt.Source source) static Stringstatic voidInstall the specified packages with APT.static voidInstall the specified packages with APT.static voidinstallFromUrl(URI uri) static booleanisInstalled(String packageName) static voidstatic voidupdate()Update local package information cache.
-
Constructor Details
-
Apt
public Apt()
-
-
Method Details
-
install
Install the specified packages with APT.- Parameters:
packageNames- Packages to install.
-
install
Install the specified packages with APT.- Parameters:
packageNames- Packages to install.
-
installFromUrl
-
purge
-
update
public static void update()Update local package information cache. -
isInstalled
-
getArchitecture
-
addSource
-