Downloading and Installing obsutil
Download Links
OS |
Download Link |
How to Use |
View Help |
---|---|---|---|
Windows (64-bit) |
After the download completes, refer to Quick Start to quickly get started with obsutil. Basic functions |
Use the help command to get familiar with more functions of obsutil. |
|
Linux AMD (64-bit) |
|||
Linux ARM (64-bit) |
|||
macOS (64-bit) |
For details about the version revision records of obsutil, see ChangeLog. The download address with sha256 contained indicates the verification file of a software package. For example, if the address for downloading the software package for Windows x64 is obsutil_windows64, the address for downloading the package's verification file is obsutil_windows64_sha256.
Quick Installation
Methods of downloading obsutil vary depending on the OS type. For details, see the following:
The following operations require that the ECS be connected to the Internet, or the obsutil installation will fail.
- In Windows
- Open the required download link given in the table above in a browser to download obsutil to your local PC.
- Decompress the downloaded package to a specified folder.
- Double-click obsutil.exe to start using obsutil.
Alternatively, you can open the CLI to go to the upper-level directory of obsutil.exe and run obsutil commands. The command line structures of the two modes are different. For details, see Command Line Structure.
- In Linux
- Open the CLI and run the wget command to download obsutil.
wget https://obs-community-intl.obs.ap-southeast-1.myhuaweicloud.com/obsutil/current/obsutil_linux_amd64.tar.gz
You can also download the obsutil package from a PC running the Windows operating system and then use a cross-platform transfer tool (such as WinSCP) to transfer the package to your host running the Linux operating system.
- Run the following command in the directory where the tool package resides:
tar -xzvf obsutil_linux_amd64.tar.gz
- Go to the directory where obsutil resides and run the following command to grant the execute permission on obsutil:
chmod 755 obsutil
You must grant the execute permission on obsutil, or error "No such file or directory" will be reported during a query of the obsutil version number.
- Continue to run the following command in the directory. If the version number of obsutil is returned, the installation is successful.
./obsutil version
- Open the CLI and run the wget command to download obsutil.
- In macOS
- Open the required download link given in the table above in a browser to download obsutil to your local PC.
- Decompress the downloaded package to a specified folder.
- Open the CLI, go to the directory where obsutil resides, and run the following command to grant the execute permission to obsutil:
chmod 755 obsutil
- If you need to use obsutil on a Huawei Cloud ECS, you can configure to access OBS using obsutil over an intranet to reduce costs on traffic.
- To improve the usability of obsutil, you can set obsutil commands as built-in commands by running the shell or batch script in the software package. This way, obsutil commands can be run in any directory. For details, see Setting obsutil Commands as Built-in Commands.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot