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

79 lines
2.5 KiB

  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. ## Windows
  23. There are no published packages for Windows. This page will change when packages are published,
  24. in the form of `MSI` installers or via [Chocolatey](https://chocolatey.org/). In the meantime
  25. the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide.
  26. ## macOS
  27. Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/).
  28. Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work,
  29. but is not supported. To install Gitea via `brew`:
  30. ```
  31. brew tap go-gitea/gitea
  32. brew install gitea
  33. ```
  34. ## FreeBSD
  35. A FreeBSD port `www/gitea` is available. To install the pre-built binary package:
  36. ```
  37. pkg install gitea
  38. ```
  39. For the most up to date version, or to build the port with custom options,
  40. [install it from the port](https://www.freebsd.org/doc/handbook/ports-using.html):
  41. ```
  42. su -
  43. cd /usr/ports/www/gitea
  44. make install clean
  45. ```
  46. The port uses the standard FreeBSD file system layout: config files are in `/usr/local/etc/gitea`,
  47. bundled templates, options, plugins and themes are in `/usr/local/share/gitea`, and a start script
  48. is in `/usr/local/etc/rc.d/gitea`.
  49. To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it with `service gitea start`.
  50. ## Cloudron
  51. Gitea is available as a 1-click install on [Cloudron](https://cloudron.io). For those unaware,
  52. Cloudron makes it easy to run apps like Gitea on your server and keep them up-to-date and secure.
  53. [![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
  54. The Gitea package is maintained [here](https://git.cloudron.io/cloudron/gitea-app).
  55. There is a [demo instance](https://my-demo.cloudron.me) (username: cloudron password: cloudron) where
  56. you can experiment with running Gitea.