管理 Debian 套件
Artifact Registry 支援您透過 Apt 管理的 Debian 套件。
總覽
如要熟悉 Artifact Registry 中的 Apt 存放區,可以試試 Apt 快速入門導覽課程。
如要進一步瞭解,請參閱以下資訊:
- 針對要使用的套件類型建立存放區。
- 選擇要將存放區設為私人或公開。選擇公開存放區可啟用未經認證的存取權,或選擇私人存放區可啟用經過認證的存取權。
- 如果您的存放區是私人存放區,Apt 會使用 Apt 憑證輔助程式,根據 Identity and Access Management 權限驗證存取權。
- 如果儲存庫是公開的,則任何網際網路使用者都能存取儲存庫,無須驗證。您可以使用 VPC 服務邊界,設定對公開存放區的網路存取權。詳情請參閱「保護服務範圍內的存放區」。
- 設定存放區的存取權。
- 設定套件管理員和存放區,讓 VM 能夠安裝套件。
- 新增、查看、安裝及刪除套件。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-18 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-18 (世界標準時間)。"],[[["\u003cp\u003eArtifact Registry manages Debian packages using Apt.\u003c/p\u003e\n"],["\u003cp\u003eRepositories can be set as private, requiring authentication with IAM permissions, or public, enabling unauthenticated access.\u003c/p\u003e\n"],["\u003cp\u003eAccess to private repositories requires granting permissions to the VMs that will be utilizing it.\u003c/p\u003e\n"],["\u003cp\u003eApt package managers and the repository must be configured so that the virtual machine can install packages.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage packages in Artifact Registry by adding, viewing, installing, and deleting them.\u003c/p\u003e\n"]]],[],null,[]]