All Products
Search
Document Center

Object Storage Service:update

Last Updated:Aug 30, 2023

This topic describes how to run the update command to update ossutil to the latest version.

Important Sample command lines in this topic are based on the 64-bit Linux system. For other systems, replace ./ossutil64 in the commands with the corresponding binary name. For more information, see ossutil.

Command syntax

./ossutil64 update [-f]

This command is run to check the current and the latest versions of ossutil and generate their version numbers. If an update is available, you are prompted to determine whether to upgrade ossutil to the latest version. If the -f option is specified and an update is available, ossutil is upgraded without prompting the user for confirmation after the command is run.

Examples

  • You can run the following command to determine whether to upgrade ossutil to the latest version:
    ./ossutil64 update 
    The current version is V1.5.1, and the latest version is V1.7.5.
    Are you sure that you want to upgrade the version (y or N)? y
  • You can run the following command to upgrade ossutil without prompting the user for confirmation:
    ./ossutil64 update -f