All Products
Search
Document Center

Object Storage Service:Install ossfs 2.0 on Linux

Last Updated:Feb 02, 2026

Learn how to install ossfs 2.0 on different Linux distributions.

Installation steps

Alibaba Cloud Linux

  1. Download the package for your system architecture.

    • x86_64: sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.rpm

    • aarch64: sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_aarch64.rpm

  2. Install ossfs 2.0 using the appropriate command for your system architecture.

    • x86_64: sudo yum install ossfs2_2.0.6_linux_x86_64.rpm -y

    • aarch64: sudo yum install ossfs2_2.0.6_linux_aarch64.rpm -y

  3. Verify that ossfs 2.0 has been installed.

    ossfs2 --version
    Note

    The ossfs2 executable file is installed to the /usr/local/bin/ossfs2 path. If your PATH environment variable does not include this directory, you must use the absolute path /usr/local/bin/ossfs2 to run the program.

CentOS

  1. Download the installation package.

    sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.rpm
  2. Install ossfs 2.0.

    sudo yum install ossfs2_2.0.6_linux_x86_64.rpm -y
  3. Verify that ossfs 2.0 has been installed.

    ossfs2 --version
    Note

    The ossfs2 executable file is installed to the /usr/local/bin/ossfs2 path. If your PATH environment variable does not include this directory, you must use the absolute path /usr/local/bin/ossfs2 to run the program.

Ubuntu/Debian

  1. Download the installation package.

    sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.deb
  2. Install ossfs 2.0.

    sudo dpkg -i ossfs2_2.0.6_linux_x86_64.deb
  3. Verify that ossfs 2.0 has been installed.

    ossfs2 --version
    Note

    The ossfs2 executable file is installed to the /usr/local/bin/ossfs2 path. If your PATH environment variable does not include this directory, you must use the absolute path /usr/local/bin/ossfs2 to run the program.

Next step

After you install ossfs 2.0, configure the OSS bucket information and access credentials. For instructions, see Configure ossfs 2.0.