Install "git-core" for GitHub Packages on CentOS

This section 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          :
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


herong$ git version
git version 2.18.4

3. Try it to clone the "git" package itself:

herong$ git clone
Cloning into 'git'...
remote: Enumerating objects: 291689, done.
Receiving objects:   9% (26899/291689), ...

Table of Contents

 About This Book

 Introduction to Linux Systems

 Cockpit - Web Portal for Administrator

 Process Management

 Files and Directories

 Users and Groups

 File Systems

 Block Devices and Partitions

 LVM (Logical Volume Manager)

 Installing CentOS

 SELinux - Security-Enhanced Linux

 Network Connection on CentOS

 Internet Networking Tools

 SSH Protocol and ssh/scp Commands

Software Package Manager on CentOS - DNF and YUM

 What Is DNF

 Manage DNF Package Repositories

 What Is YUM

 What Is RPM

 What Is

 Install and Manage Java Packages on CentOS

 Install and Manage Perl Packages on CentOS

Install "git-core" for GitHub Packages on CentOS

 Failed to Download Metadata for Repo ...

 Replacing CentOS Repositories to Local Mirrors

 vsftpd - Very Secure FTP Daemon

 LDAP (Lightweight Directory Access Protocol)

 Administrative Tasks


 Full Version in PDF/EPUB