How to install GitLab on Manjaro machine?

Hi,
I want to install GitLab on my Manjaro Linux server. Arch Linux have package gitlab which is free (or just open-source, I’m not sure) version of gitlab (GitLab CE). There is also package gitlab-ee (proprietary version of GitLab) in AUR but it is proprietary and also it relyes on many gitlab-* packages from Arch Linux repo that are not present in Manjaro repo. So obviously I can’t install this AUR package on Manjaro. Do I have to install it from source?.. :frowning: Installing this is going to be a mess. I saw installation guide, it have ~25 pages.

I see this in the Manjaro (community) repository, if that is what you are referring to:

gitlab-13.10.2-1-x86_64.pkg.tar.zst

There are 4 results for gitlab-* both in Arch and in Manjaro

All packages needed by gitlab-ee are in Manjaro repo

[fabio@fabio-pc gitlab-ee]$ LANG=C makepkg -so
==> Making package: gitlab-ee 12.7.5-3 (mar 20 apr 2021, 18:09:07)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (8) jemalloc-1:5.2.1-3  perl-image-exiftool-12.16-1  ruby2.7-2.7.3-1  gitlab-gitaly-13.10.0-1  gitlab-workhorse-8.65.0-1
             http-parser-2.9.4-1  redis-6.2.1-2  ruby-bundler-2.2.16-4

Total Installed Size:  577,85 MiB

:: Proceed with installation? [Y/n] y
(8/8) checking keys in keyring          

as @jrichard326 said it is in the repo

So why my system don’t see it??!

[*** ~]$ sudo pacman -Syy
[sudo] password for ***: 
:: Synchronizing package databases...
 core                                                              230.7 KiB  3.22 MiB/s 00:00 [########################################################] 100%
 extra                                                               2.4 MiB  20.1 MiB/s 00:00 [########################################################] 100%
 community                                                           5.7 MiB  40.8 MiB/s 00:00 [########################################################] 100%
[*** ~]$ pacman -Ss gitlab
community/python-gitlab 2.6.0-2
    Python wrapper for the GitLab API
[*** ~]$

you don’t need to execute makepkg. The packages are already compiled in the repository.

pamac install name of package (in terminal) or use the pamac GUI

$ pacman -Ss gitlab
community/autogit 1.4-1
    Auto build, update, install PKGBUILDS from Github, Gitlab and AUR
community/gitlab 13.10.2-1
    Project management and code hosting application
community/gitlab-gitaly 13.10.0-1
    Speed up Git access using caching
community/gitlab-runner 13.10.0-1
    The official GitLab CI runner written in Go
community/gitlab-shell 2:13.17.0-1
    Git management software
community/gitlab-workhorse 8.65.0-1
    A smart reverse proxy for GitLab that handles large HTTP requests such as file downloads, file uploads, git push/pull and git archive downloads
community/python-gitlab 2.6.0-2
    Python wrapper for the GitLab API

Maybe your mirror is not synced, try to change it

1 Like

Hmm…
It looks like they are only in x86_64 repos… That’s weird, GitLab can also run on aarch64 (it have official raspberry pi packages). I don’t know why this packages aren’t present in ARM repos.

Because they are not present in the Arch Linux ARM repos.

You never mentioned this was for an aarch64 machine. :wink:

Can I compile manjaro x86_64 packages for aarch64 with Arch Build System? I don’t want to install gitlab from source without ABS. I want to build package and then install it.