This command is used to install application EZ templates, YUM software groups, or individual software packages into containers.
Syntax.
vzpkg install [<options>] <CT_name> <object> [...]
The vzpkg install
command will add an <object>
to the specified container. An object can be an application EZ template, a YUM software group, or a standard software package. You can specify several objects to install into the container by separating them by spaces.
When executed, vzpkg install
automatically handles the interdependencies among the packages to be installed into a container and ensures that all dependencies are satisfied. If the package dependencies cannot be resolved, the installation process fails and the corresponding message is displayed.
Table 3.32. Options
Name | Description |
---|---|
| Installs a software package instead of an EZ template. |
| Installs a YUM software group instead of an EZ template. The |
| Forces the EZ template/package installation. |
| Makes the |
| If the elapsed time from the last |
| Simulates the same operations as |
| Sets the debugging level to one of the specified values (from 0 to 10). 10 is the highest debug level and 0 sets the debug level to its minimal value. |
| Disables logging to the screen and to the log file. |
By default, the specified object is treated by vzpkg install
as an application EZ template. However, you can use the -p
or -g
option to explicitly specify the type of the object.
Note
Note: A container has to be running in order to apply an application EZ template to or install a package inside this container.