Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara menginstal Cloud Storage FUSE menggunakan biner Linux bawaan
sebelumnya atau kode sumber terbaru, dan cara mengupgrade ke versi terbaru
Cloud Storage FUSE. Untuk mengetahui informasi tentang framework, sistem operasi, dan
arsitektur yang didukung Cloud Storage FUSE, lihat
Framework, sistem operasi, dan arsitektur.
Menginstal Cloud Storage FUSE menggunakan biner Linux bawaan
Untuk menginstal atau mengupgrade Cloud Storage FUSE menggunakan library Linux bawaan, selesaikan
petunjuk berikut.
Mengonfigurasi pengelola paket
Ubuntu/Debian
Jika distribusi Anda mendukung opsi ditandatangani oleh, selesaikan petunjuk
berikut:
Tambahkan URL distribusi Cloud Storage FUSE sebagai sumber paket:
Jika Anda menggunakan sistem operasi CentOS, Red Hat, atau Rocky Linux,
gunakan petunjuk berikut untuk mengupgrade ke Cloud Storage FUSE versi terbaru:
sudoapt-getupdatesudoyum-yupgradegcsfuse
SUSE Linux
Jika Anda menggunakan sistem operasi SUSE Linux,
gunakan petunjuk berikut untuk mengupgrade ke versi terbaru
Cloud Storage FUSE:
sudozypperrefreshsudozypper-nupdategcsfuse
Menginstal atau mengupgrade Cloud Storage FUSE dengan mem-build kode sumber terbaru
Untuk menginstal atau mengupgrade Cloud Storage FUSE dengan mem-build
kode sumber terbaru dari GitHub, selesaikan petunjuk berikut:
Jika Anda belum melakukannya, instal fuse, git, dan go (lihat
go.mod untuk versi terbaru go).
Instal Cloud Storage FUSE menggunakan perintah go install:
Jika berhasil, biner bernama gcsfuse akan diinstal ke $GOPATH/bin.
GOPATH adalah variabel lingkungan yang digunakan untuk menemukan root ruang kerja go Anda.
Atau, Anda juga dapat menginstal Cloud Storage FUSE dengan meng-clone repositori
git ke sistem file lokal Anda:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-25 UTC."],[],[],null,["# Install or upgrade Cloud Storage FUSE\n\nThis page describes how to install [Cloud Storage FUSE](/storage/docs/gcs-fuse) using prebuilt Linux\nbinaries or the latest source code, and how to upgrade to the latest version\nof Cloud Storage FUSE. For information on which frameworks, operating systems, and\narchitectures Cloud Storage FUSE supports, see\n[Frameworks, operating systems, and architectures](/storage/docs/cloud-storage-fuse/overview#frameworks-os-architectures).\n\nInstall Cloud Storage FUSE by using prebuilt Linux binaries\n-----------------------------------------------------------\n\nTo install or upgrade Cloud Storage FUSE by using prebuilt Linux libraries, complete\nthe following instructions.\n\n### Configure package manager\n\n### Ubuntu/Debian\n\nIf your distribution supports the signed-by option, complete the following\ninstructions:\n\n1. Add the Cloud Storage FUSE distribution URL as a package source:\n\n export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`\n echo \"deb [signed-by=/usr/share/keyrings/cloud.google.asc] https://packages.cloud.google.com/apt $GCSFUSE_REPO main\" | sudo tee /etc/apt/sources.list.d/gcsfuse.list\n\n2. Import the Google Cloud public key:\n\n curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo tee /usr/share/keyrings/cloud.google.asc\n\nIf your distribution is outdated and doesn't support the signed-by option,\ncomplete the following instructions:\n\n1. Add the Cloud Storage FUSE distribution URL as a package source:\n\n export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`\n echo \"deb https://packages.cloud.google.com/apt $GCSFUSE_REPO main\" | sudo tee /etc/apt/sources.list.d/gcsfuse.list\n\n2. Import the Google Cloud public key:\n\n curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -\n\n### CentOS/Red Hat/Rocky Linux\n\nIf you're using the CentOS, Red Hat, or Rocky Linux operating system,\ncomplete the following instructions:\n\n1. Configure the Cloud Storage FUSE repository and its associated public key:\n\n sudo tee /etc/yum.repos.d/gcsfuse.repo \u003e /dev/null \u003c\u003cEOF\n [gcsfuse]\n name=gcsfuse (packages.cloud.google.com)\n baseurl=https://packages.cloud.google.com/yum/repos/gcsfuse-el7-x86_64\n enabled=1\n gpgcheck=1\n repo_gpgcheck=0\n gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg\n https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg\n EOF\n\n2. If you haven't yet, install [FUSE](https://github.com/libfuse/libfuse) by using the\n [`YUM` Linux package manager](https://www.redhat.com/sysadmin/how-manage-packages):\n\n sudo yum install fuse\n\n### SUSE Linux\n\nIf you're using the SUSE Linux operating system, complete the\nfollowing instructions:\n\n1. Configure the Cloud Storage FUSE repository and its associated public key:\n\n sudo tee /etc/zypp/repos.d/gcsfuse.repo \u003e /dev/null \u003c\u003cEOF\n [gcsfuse]\n name=gcsfuse (packages.cloud.google.com)\n baseurl=https://packages.cloud.google.com/yum/repos/gcsfuse-el7-x86_64\n enabled=1\n gpgcheck=1\n repo_gpgcheck=0\n gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg\n https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg\n EOF\n\n2. If you haven't yet, install [FUSE](https://github.com/libfuse/libfuse) by using the\n [`ZYPPER` Linux package manager](https://documentation.suse.com/smart/systems-management/html/concept-zypper/index.html):\n\n sudo zypper install fuse\n\n### Install or upgrade Cloud Storage FUSE\n\n### Ubuntu/Debian\n\nUpdate the list of available packages and install Cloud Storage FUSE: \n\n sudo apt-get update\n sudo apt-get install gcsfuse\n\n### CentOS/Red Hat/Rocky Linux\n\nIf you're using the CentOS, Red Hat, or Rocky Linux operating system,\ncomplete the following instructions:\n\nInstall Cloud Storage FUSE: \n\n sudo yum install gcsfuse\n\nBe sure to answer \"yes\" to any questions about adding the GPG signing key.\n\n### SUSE Linux\n\nIf you're using the SUSE Linux operating system, complete the\nfollowing instructions:\n\nInstall Cloud Storage FUSE: \n\n sudo zypper install gcsfuse\n\nBe sure to answer \"yes\" to any questions about adding the GPG signing key.\n\nAlternatively, you can download the latest prebuilt package of\nCloud Storage FUSE directly from [GitHub](https://github.com/GoogleCloudPlatform/gcsfuse/releases).\n\nTo upgrade to the latest version of Cloud Storage FUSE using prebuilt Linux binaries,\nuse the following instructions: \n\n### Ubuntu/Debian\n\nIf you're using the Ubuntu or Debian Linux operating system, use the\nfollowing instructions to upgrade to the latest version of Cloud Storage FUSE: \n\n sudo apt-get update\n sudo apt-get install --only-upgrade gcsfuse\n\n### CentOS/Red Hat/Rocky Linux\n\nIf you're using the CentOS, Red Hat, or Rocky Linux operating system,\nuse the following instructions to upgrade to the latest version of\nCloud Storage FUSE: \n\n sudo apt-get update\n sudo yum -y upgrade gcsfuse\n\n### SUSE Linux\n\nIf you're using the SUSE Linux operating system,\nuse the following instructions to upgrade to the latest version of\nCloud Storage FUSE: \n\n sudo zypper refresh\n sudo zypper -n update gcsfuse\n\nInstall or upgrade Cloud Storage FUSE by building the latest source code\n------------------------------------------------------------------------\n\nTo install or upgrade Cloud Storage FUSE by building the\n[latest source code from GitHub](https://github.com/GoogleCloudPlatform/gcsfuse/tree/master), complete the following instructions:\n\n1. If you haven't yet, install `fuse`, `git`, and `go` (see\n [go.mod](https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/go.mod) for the latest version of `go`).\n\n2. Install Cloud Storage FUSE by using the `go install` command:\n\n go install github.com/googlecloudplatform/gcsfuse/v3@master\n\n If successful, a binary named `gcsfuse` is installed to `$GOPATH/bin`.\n `GOPATH` is an environment variable that's used to find the root of your `go`\n workspace.\n\nAlternatively, you can also install Cloud Storage FUSE by cloning the git\nrepository to your local file system:\n\n1. Clone the Cloud Storage FUSE repository:\n\n git clone https://github.com/GoogleCloudPlatform/gcsfuse.git\n\n2. Switch your current working directory to the `gcsfuse` folder containing the\n Cloud Storage FUSE repository:\n\n cd gcsfuse\n\n3. Install Cloud Storage FUSE by using the `go install` command:\n\n go install .\n\n If successful, a binary named `gcsfuse` is installed to `$GOPATH/bin`.\n\nTo upgrade to the latest version of Cloud Storage FUSE using source code, re-run\nthe [install instructions](#install-source-code).\n\nWhat's next\n-----------\n\nLearn how to [mount buckets using Cloud Storage FUSE](/storage/docs/gcsfuse-mount)."]]