You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

from-package.zh-tw.md 1.5 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ---
  2. date: "2016-12-01T16:00:00+02:00"
  3. title: "套件安裝"
  4. slug: "install-from-package"
  5. weight: 10
  6. toc: false
  7. draft: false
  8. menu:
  9. sidebar:
  10. parent: "installation"
  11. name: "套件安裝"
  12. weight: 20
  13. identifier: "install-from-package"
  14. ---
  15. # 從套件安裝
  16. ## Linux
  17. 目前尚未發佈任何 Linux 套件,如果我們發佈了,會直接更新此網頁。在這之前請先參考[執行檔安裝]({{< relref "from-binary.zh-tw.md" >}})方式。
  18. ## Windows
  19. 在 Windows 作業系統你可以透過 [Chocolatey](https://chocolatey.org/) 套件管理器安裝 [Gitea](https://chocolatey.org/packages/gitea) 套件:
  20. ```sh
  21. choco install gitea
  22. ```
  23. 也可以參考[執行檔安裝]({{< relref "from-binary.zh-tw.md" >}})方式。
  24. ## macOS
  25. 目前我們只支援透過 `brew` 來安裝套件。假如您尚未使用 [Homebrew](http://brew.sh/),您就必須參考[執行檔安裝]({{< relref "from-binary.zh-tw.md" >}})方式。透過 `brew` 安裝 Gitea,您只需要執行底下指令:
  26. ```
  27. brew tap go-gitea/gitea
  28. brew install gitea
  29. ```
  30. ## FreeBSD
  31. 下載 FreeBSD port `www/gitea` 套件。你可以安裝 pre-built 執行檔:
  32. ```
  33. pkg install gitea
  34. ```
  35. 對於最新版本或想要自行編譯特定選項,請使用 [port 安裝](https://www.freebsd.org/doc/handbook/ports-using.html):
  36. ```
  37. su -
  38. cd /usr/ports/www/gitea
  39. make install clean
  40. ```
  41. ## 需要協助?
  42. 如果本頁中無法解決您的問題,請直接到 [Discord server](https://discord.gg/Gitea),在那邊可以快速得到協助。