Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M manual_and_guidelines
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • platform_manual_and_guidelines
  • manual_and_guidelines
  • Wiki
  • Installing Git: Linux

Last edited by Arne Keller Apr 21, 2020
Page history

Installing Git: Linux

How to install Git on Linux

Chances are, your Linux distribution already came with Git installed. In order to test that, open a terminal, type

git --version

and press enter. If the git version is shown, git obviously is already installed; otherwise, you will get a "command not found." In that case, install Git with the package management tool of your distribution. On Debian-based distribution such as Ubuntu, use

sudo apt-get install git-all

in Suse, use

sudo zypper install git-all

while on RHEL based distributions

sudo dnf install git-all

will do the job. Check git --version again to see that your install was successful. For more information, see the Git website: https://git-scm.com/.

Clone repository
  • Contribute
  • FAQ and trouble shooting
  • General guideline for all file types
  • Getting started with Git
  • Installing Git: Linux
  • Installing git: Windows
  • Next steps with Git
  • Old vs. new OpenVT platform: How to update your local repositories
  • OpenVT Gitlab
  • Submodules
  • Subtrees
  • Upload guidelines
  • administration guidelines
  • file types
    • Data files
    • Documentation
View All Pages