vzpkg localinstall
The
vzpkg localinstall
command is used to install a software package inside a Container from the corresponding file on the server.
Syntax
vzpkg localinstall
[
options
]
<CT_ID
|
CT_name>
<rpm_file_path>
[...]
Options
Name
|
Description
|
-C, --cache
|
When handling the package interdependencies, makes the
vzpkg localinstall
command look for the needed packages in the local
vzpkg
cache only. If there is a package not available locally, the command will fail.
You can omit this parameter if the elapsed time from the last
vzpkg
cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file.
|
-r, --remote
|
If the elapsed time from the last
vzpkg
local cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file, you should use this option to make
vzpkg localinstall
look for the packages in the remote repository.
|
-n, --check-only
|
Simulates the same operations as
vzpkg localinstall
completes without specifying this option (e.g., handles the package interdependencies); however, the package itself is not installed in the specified Container.
|
-d, --debug
<num>
|
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.
|
-q, --quiet
|
Disables logging to the screen and to the log file.
|
When executed, the command installs the package, the full path to which is specified as
<rpm_file_path>
, inside the Container with the ID of
<
CT_ID
>
or with the name of
<
CT_name
>
. You may specify multiple packages to be installed inside the Container.
During its execution,
vzpkg localinstall
automatically handles the interdependencies among the packages to be installed inside a Container and ensures that all dependencies are satisfied. If the package dependencies cannot be resolved, the installation process will fail and the corresponding message will be displayed.
|