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.2 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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: true
  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. ## Debian
  17. Although there is a package of Gitea in Debian's [contrib](https://wiki.debian.org/SourcesList),
  18. it is not supported directly by us.
  19. Unfortunately, the package is not maintained anymore and broken because of missing sources.
  20. Please follow the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide instead.
  21. Should the packages get updated and fixed, we will provide up-to-date installation instructions here.
  22. ## Alpine Linux
  23. Alpine Linux has gitea in its community repository. It follows the latest stable version.
  24. for more information look at https://pkgs.alpinelinux.org/packages?name=gitea&branch=edge.
  25. install as usual:
  26. ```sh
  27. apk add gitea
  28. ```
  29. config is found in **/etc/gitea/app.ini**
  30. ## Windows
  31. There are no published packages for Windows. This page will change when packages are published,
  32. in the form of `MSI` installers or via [Chocolatey](https://chocolatey.org/). In the meantime, follow
  33. the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide.
  34. ## macOS
  35. Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/).
  36. Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work,
  37. but is not supported. To install Gitea via `brew`:
  38. ```
  39. brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
  40. brew install gitea
  41. ```
  42. ## FreeBSD
  43. A FreeBSD port `www/gitea` is available. To install the pre-built binary package:
  44. ```
  45. pkg install gitea
  46. ```
  47. For the most up to date version, or to build the port with custom options,
  48. [install it from the port](https://www.freebsd.org/doc/handbook/ports-using.html):
  49. ```
  50. su -
  51. cd /usr/ports/www/gitea
  52. make install clean
  53. ```
  54. The port uses the standard FreeBSD file system layout: config files are in `/usr/local/etc/gitea`,
  55. bundled templates, options, plugins and themes are in `/usr/local/share/gitea`, and a start script
  56. is in `/usr/local/etc/rc.d/gitea`.
  57. To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it with `service gitea start`.
  58. ## Cloudron
  59. Gitea is available as a 1-click install on [Cloudron](https://cloudron.io). For those unaware,
  60. Cloudron makes it easy to run apps like Gitea on your server and keep them up-to-date and secure.
  61. [![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
  62. The Gitea package is maintained [here](https://git.cloudron.io/cloudron/gitea-app).
  63. There is a [demo instance](https://my-demo.cloudron.me) (username: cloudron password: cloudron) where
  64. you can experiment with running Gitea.
  65. ## Third-party
  66. Various other third-party packages of Gitea exist.
  67. To see a curated list, head over to [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md#user-content-packages).
  68. Do you know of an existing package that isn't on the list? Send in a PR to get it added!