Linux Tutorials - Herong's Tutorial Examples - v5.34, by Dr. Herong Yang
Install "git-core" for GitHub Packages on CentOS
Provides a tutorial example on how to install 'git-core' on CentOS 8 systems for managing GitHub packages.
If you are download packages from GitHub repository frequently, you should install "git" tools on your Linux computer. There are a number "git" tools available. But "git-core" with minimal functionality and dependencies is good enough for beginners.
1. Run "dnf info git-core" to see package information:
herong$ sudo dnf info git-core Name : git-core Version : 2.18.4 Release : 2.el8_2 Architecture : x86_64 Size : 4.0 M Source : git-2.18.4-2.el8_2.src.rpm Repository : AppStream Summary : Core package of git with minimal functionality URL : https://git-scm.com/ License : GPLv2 Description : Git is a fast, scalable, distributed revision control system with an : unusually rich command set that provides both high-level operations : and full access to internals. : : The git-core rpm installs really the core tools with minimal : dependencies. Install git package for common set of tools. : To install all git packages, including tools for integrating with : other SCMs, install the git-all meta-package.
2. Install "git-core":
herong$ sudo dnf install git-core Installed: git-core-2.18.4-2.el8_2.x86_64 herong$ git version git version 2.18.4
3. Try it to clone the "git" package itself:
herong$ git clone https://github.com/git/git Cloning into 'git'... remote: Enumerating objects: 291689, done. Receiving objects: 9% (26899/291689), ...
Table of Contents