Note: This version of the VDT (1.10.1) is supported, but is not our latest stable release. The current stable release is 2.0.0.

NAME

vdt-version - Report version information about the VDT

SYNOPSIS

    vdt-version --vdt-location <location>
                --show
                  --brief
                  --no-wget
                  --wget-timeout
                --add <package-name>
                  --short-version <version number>
                  --version-desc <version description>
                --remove <package-name>
                --help

DESCRIPTION

By default, vdt-version reports information about the current version of the VDT, and each of the VDT components that has been installed.

vdt-version also attempts to determine if updates are available for software components installed by the VDT, but it can only do this if the software was installed with the --short-version flag. This is new since VDT 1.10.1k, and only packages that have been updated since 1.10.1k will be able to use this feature.

It is also used internally to edit information about what components have been installed, using the --add and --remove options. Users should not use these options.

OPTIONS

--vdt-location <location>
The location of your VDT installation. This option is not needed if $VDT_LOCATION is defined in your environment.
--show

Show version information. This is the default if neither --add nor --remove are specified.

--brief
Print only the VDT major version plus letter (e.g. 1.10.1n). Do not show any information about installed software. This flag implies --no-wget.
--no-wget
vdt-version will not fetch the defs file from the VDT website. If this option is used, it is not possible to check if updates are available for software components.
--wget-timeout <timeout in seconds>
Set the wget timeout length for fetching the VDT defs file. Default is 30 seconds.
--add <package-name>

Record the fact that the given package has been installed. This should not be used by users, but only by the installation process.

--short-version <version number>
This option is used with --add, and is used to specify the version number of the software being added.
--version-desc <version description>
This option is used with --add, and is used to specify the description of the software being added. This option should rarely be used, --short-version should be used instead, however it is provided for historical reasons.
--remove <package-name>
Record the fact that the given package has been removed. This should not be used by users, but only by the installation process.
--help
Show brief explanatory text for using vdt-version.