curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
参考
https://www.deviantdev.com/journal/debian-linux-remove-uninstall-gitlab
https://cloud.tencent.com/document/product/213/47332