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.en-us.md 3.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ---
  2. date: "2016-12-01T16:00:00+02:00"
  3. title: "Installation from package"
  4. slug: "install-from-package"
  5. weight: 10
  6. toc: false
  7. draft: false
  8. menu:
  9. sidebar:
  10. parent: "installation"
  11. name: "From package"
  12. weight: 20
  13. identifier: "install-from-package"
  14. ---
  15. # Installation from package
  16. **Table of Contents**
  17. {{< toc >}}
  18. ## Alpine Linux
  19. Alpine Linux has [Gitea](https://pkgs.alpinelinux.org/packages?name=gitea&branch=edge) in its community repository which follows the latest stable version.
  20. ```sh
  21. apk add gitea
  22. ```
  23. ## Arch Linux
  24. The rolling release distribution has [Gitea](https://www.archlinux.org/packages/community/x86_64/gitea/) in their official community repository and package updates are provided with new Gitea releases.
  25. ```sh
  26. pacman -S gitea
  27. ```
  28. ## Arch Linux ARM
  29. Arch Linux ARM provides packages for [aarch64](https://archlinuxarm.org/packages/aarch64/gitea), [armv7h](https://archlinuxarm.org/packages/armv7h/gitea) and [armv6h](https://archlinuxarm.org/packages/armv6h/gitea).
  30. ```sh
  31. pacman -S gitea
  32. ```
  33. ## Windows
  34. There is a [Gitea](https://chocolatey.org/packages/gitea) package for Windows by [Chocolatey](https://chocolatey.org/).
  35. ```sh
  36. choco install gitea
  37. ```
  38. Or follow the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide.
  39. ## macOS
  40. Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/).
  41. Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work,
  42. but is not supported. To install Gitea via `brew`:
  43. ```
  44. brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
  45. brew install gitea
  46. ```
  47. ## FreeBSD
  48. A FreeBSD port `www/gitea` is available. To install the pre-built binary package:
  49. ```
  50. pkg install gitea
  51. ```
  52. For the most up to date version, or to build the port with custom options,
  53. [install it from the port](https://www.freebsd.org/doc/handbook/ports-using.html):
  54. ```
  55. su -
  56. cd /usr/ports/www/gitea
  57. make install clean
  58. ```
  59. The port uses the standard FreeBSD file system layout: config files are in `/usr/local/etc/gitea`,
  60. bundled templates, options, plugins and themes are in `/usr/local/share/gitea`, and a start script
  61. is in `/usr/local/etc/rc.d/gitea`.
  62. To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it with `service gitea start`.
  63. ## Cloudron
  64. Gitea is available as a 1-click install on [Cloudron](https://cloudron.io).
  65. Cloudron makes it easy to run apps like Gitea on your server and keep them up-to-date and secure.
  66. [![Install](/cloudron.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
  67. The Gitea package is maintained [here](https://git.cloudron.io/cloudron/gitea-app).
  68. There is a [demo instance](https://my.demo.cloudron.io) (username: cloudron password: cloudron) where
  69. you can experiment with running Gitea.
  70. ## Third-party
  71. Various other third-party packages of Gitea exist.
  72. To see a curated list, head over to [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md#user-content-packages).
  73. Do you know of an existing package that isn't on the list? Send in a PR to get it added!