code.gitea.io/gitea@v1.22.3/docs/content/installation/from-package.en-us.md (about)

     1  ---
     2  date: "2016-12-01T16:00:00+02:00"
     3  title: "Installation from package"
     4  slug: "install-from-package"
     5  sidebar_position: 20
     6  toc: false
     7  draft: false
     8  aliases:
     9    - /en-us/install-from-package
    10  menu:
    11    sidebar:
    12      parent: "installation"
    13      name: "From package"
    14      sidebar_position: 20
    15      identifier: "install-from-package"
    16  ---
    17  
    18  # Installation from Package
    19  
    20  ## Official packages
    21  
    22  ### macOS
    23  
    24  Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/).
    25  Following the [deployment from binary](installation/from-binary.md) guide may work,
    26  but is not supported. To install Gitea via `brew`:
    27  
    28  ```
    29  brew install gitea
    30  ```
    31  
    32  ## Unofficial packages
    33  
    34  ### Alpine Linux
    35  
    36  Alpine Linux has [Gitea](https://pkgs.alpinelinux.org/packages?name=gitea&branch=edge) in its community repository which follows the latest stable version.
    37  
    38  ```sh
    39  apk add gitea
    40  ```
    41  
    42  ### Arch Linux
    43  
    44  The rolling release distribution has [Gitea](https://www.archlinux.org/packages/extra/x86_64/gitea/) in their official extra repository and package updates are provided with new Gitea releases.
    45  
    46  ```sh
    47  pacman -S gitea
    48  ```
    49  
    50  ### Arch Linux ARM
    51  
    52  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).
    53  
    54  ```sh
    55  pacman -S gitea
    56  ```
    57  
    58  ### Gentoo Linux
    59  
    60  The rolling release distribution has [Gitea](https://packages.gentoo.org/packages/www-apps/gitea) in their official community repository and package updates are provided with new Gitea releases.
    61  
    62  ```sh
    63  emerge gitea -va
    64  ```
    65  
    66  ### Canonical Snap
    67  
    68  There is a [Gitea Snap](https://snapcraft.io/gitea) package which follows the latest stable version.
    69  *Note: The Gitea snap package is [strictly confined](https://snapcraft.io/docs/snap-confinement). Strictly confined snaps run in complete isolation, so some of the Gitea functionals may not work with the confinement*
    70  
    71  ```sh
    72  snap install gitea
    73  ```
    74  
    75  ### SUSE and openSUSE
    76  
    77  OpenSUSE build service provides packages for [openSUSE and SLE](https://software.opensuse.org/download/package?package=gitea&project=devel%3Atools%3Ascm)
    78  in the Development Software Configuration Management Repository
    79  
    80  ### Windows
    81  
    82  There is a [Gitea](https://chocolatey.org/packages/gitea) package for Windows by [Chocolatey](https://chocolatey.org/).
    83  
    84  ```sh
    85  choco install gitea
    86  ```
    87  
    88  Or follow the [deployment from binary](installation/from-binary.md) guide.
    89  
    90  ### FreeBSD
    91  
    92  A FreeBSD port `www/gitea` is available. To install the pre-built binary package:
    93  
    94  ```
    95  pkg install gitea
    96  ```
    97  
    98  For the most up to date version, or to build the port with custom options,
    99  [install it from the port](https://www.freebsd.org/doc/handbook/ports-using.html):
   100  
   101  ```
   102  su -
   103  cd /usr/ports/www/gitea
   104  make install clean
   105  ```
   106  
   107  The port uses the standard FreeBSD file system layout: config files are in `/usr/local/etc/gitea`,
   108  bundled templates, options, plugins and themes are in `/usr/local/share/gitea`, and a start script
   109  is in `/usr/local/etc/rc.d/gitea`.
   110  
   111  To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it with `service gitea start`.
   112  
   113  ### Others
   114  
   115  Various other third-party packages of Gitea exist.
   116  To see a curated list, head over to [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md#user-content-packages).
   117  
   118  Do you know of an existing package that isn't on the list? Send in a PR to get it added!