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.

66 lines
1.9 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`.