To upgrade you will need to add the package repository to your system first.
Use the following:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
If you are not comfortable installing the repository through a piped script, you can find the entire script here
Now you will be able to install / upgrade GitLab to the latest version using the package repository. When running the command below, GitLab will detect a conflict and remove
in favor of
To upgrade, run:
sudo yum install gitlab-ce
Due to the order in which RPM post-removal and post-installations scripts run, the change from
and related commands. This does not affect Debian-based systems (Debian, Ubuntu).
As a workaround on RPM-based systems, please run the following command after
upgrading to the package repository, the first time:
sudo ln -sf \
/usr/bin/ Note that the post-install message of the package will also tell you to make this change.
Now you're ready to use GitLab again!