Linux Tutorials - Herong's Tutorial Examples - v5.45, by Herong Yang
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 : 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
Cockpit - Web Portal for Administrator
SELinux - Security-Enhanced Linux
SSH Protocol and ssh/scp Commands
►Software Package Manager on CentOS - DNF and YUM
Manage DNF Package Repositories
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