Skip to main content

How to Install Git to RHEL 5

 This guide provides step-by-step instructions for installing Git on Red Hat Enterprise Linux (RHEL) 5.

Getting Started:

Option 1:

  1. Download tarball in local PC (Windows) https://mirrors.edge.kernel.org/pub/software/scm/git/
  2. Download git-2.9.5.tar.gz from the link given on item 1. 
  3. Transfer downloaded file to Linux Red Hat PC via FTP (WinSCP/FileZilla)
  4. Use the following commands to install git: 
tar -xvzf git-2.9.5.tar.gz            //(untar the file)  
cd git-2.9.5                    //(move directory inside the file)  
make prefix=/usr/local all            //(make installation file)  
make prefix=/usr/local install             //(install the file)  
git --version                    //(check if git is successfully installed) 

Option 2:

  1. Run the following command in via terminal in RHEL via root user. 
cd /tmp && wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz && tar -xvzf git-2.9.5.tar.gz && cd git-2.9.5 && make prefix=/usr/local all && sudo make prefix=/usr/local install && git --version   

Comments

Popular posts from this blog

How to Automate Manga Downloads from Manga Freak Using JavaScript

Downloading a large number of files manually can be time-consuming and tedious. If you're a fan of manga and looking to download multiple chapters automatically from Manga Freak, you can use a simple JavaScript code snippet to make this task easier. Below, I'll guide you through the process of using this script to automate your downloads. Step-by-Step Guide 1. Configure Your Browser Settings Before running the script, ensure that your browser is configured to allow automatic downloads without prompting you each time. This is crucial for the script to run smoothly. 2. Open the Manga Freak Website Navigate to the Manga Freak website and locate the manga section you are interested in. You need to be on the page where the download links for the chapters are available. 3. Open Developer Tools Right-click anywhere on the page and select "Inspect" or press F12 to open the developer tools. This will bring up a panel with various tabs. 4. Go to the Console Tab In the develope...