Облачная платформаAdvanced

Downloading and Installing obsutil

Эта статья полезна?
Язык статьи: Английский
Перевести

Download Links

Table 1 lists the download links of obsutil for different OSs.

Table 1 Download links of obsutil

OS

Software Package

Integrity Verification File

Windows (64-bit)

obsutil_windows64

obsutil_windows64_sha256

Linux AMD (64-bit)

obsutil_linux_amd64

obsutil_linux_amd64_sha256

Linux Arm (64-bit)

obsutil_linux_arm64

obsutil_linux_arm64_sha256

macOS (64-bit)

obsutil_mac64

obsutil_mac64_sha256

Getting Started with obsutil

You can download obsutil and then use it without installation. Methods of downloading obsutil vary depending on the OS type.

Note

Make sure that your cloud server has been connected to the Internet, or the obsutil installation will fail.

Windows

  1. Download the obsutil package to your local PC.
  2. Decompress the software package.
  3. Use Command Prompt to go to the decompressed folder and run obsutil commands.

Linux

  1. Open the CLI and run the wget command to download obsutil.

    Linux AMD (64-bit) and Linux x86 (64-bit):

    wget https://obs-community.obs.ru-moscow-1.hc.sbercloud.ru/obsutil/current/obsutil_linux_amd64.tar.gz
    Note
    • The URL after wget is the download link of the installation package, for which you do not need to make any adaptations. To download the package, just copy and run the whole wget command.
    • You can also download the obsutil package from a PC running Windows and then use a cross-platform transfer tool (such as WinSCP) to transfer the package to your Linux host.

  2. Run the following command in the directory where the obsutil package resides:

    tar -xzvf obsutil_linux_amd64.tar.gz

  3. Run the following command to view the directory structure after decompression: x.x.x indicates the obsutil version.

    ls -al
    dr-x------ 2 root root 4096 Jan 5 2024 obsutil_linux_amd64_x.x.x
    -rw------- 1 root root 3845484 Mar 27 17:05 obsutil_linux_amd64.tar.gz

  4. Go to the directory where obsutil resides. x.x.x indicates the obsutil version.

    cd obsutil_linux_amd64_x.x.x

  5. Run the following command to grant the execute permissions for obsutil:

    chmod 755 obsutil
    Note

    You must grant execute permissions for obsutil. Otherwise, the Permission denied error will be reported when you run obsutil commands.

  6. Continue to run the following command in the directory. If the version number of obsutil is returned, the installation is successful.

    ./obsutil version
    obsutil version:5.7.9, obssdk version:3.24.12
    operating system:linux, arch:amd64

macOS

  1. Download the obsutil package to your local PC.
  2. Decompress the software package.
  3. Open the CLI, go to the directory where obsutil belongs, and run the following command to add execute permissions to obsutil:

    chmod 755 obsutil

Helpful Links