-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
leaf works really simple. There are some actions that can be performed, some need packages to work with and leaf's behavior can be controlled by the usage of flags.
Leaf supports the following actions:
This action does not need any packages to work with. It just downloads the newest version of the package list. This should be done from time to time. Some packages may break if you use a old package list, so keep it up to date.
This command, as the name implies, installs the supplied packages. It will use the package list to determine the download links of the packages, store them, extract them and deploy them. This action will ask you if you are sure about the action after presenting you the changes that will be made.
Leaf supports a couple of flags:
The flags '-v' and '-V' specify the verbosity of leaf. '-v' will lead to more detailed output of information over the process while '-V' will absolutely flood you with information, meant for developers only.
This flag forces leaf to redownload the specified packages, this means that leaf will redownload only the packages you supply on the command line, the dependencies will not be downloaded, because that would lead to a LOT of downloads (you would download the whole Distribution up until your package).
Options let you specify things that can't be expressed with flags:
This is the path leaf will apply the packages to, this helps to rescue broken systems. Say you have your broken AcaciaLinux mounted at /mnt/acacia, you can install packages on it by using leaf install --rootPath=/mnt/acacia mypackage.