Post4VPS Forum | Free VPS Provider
Git Clone COMMAND not working in kali! - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: Git Clone COMMAND not working in kali! (/Thread-Git-Clone-COMMAND-not-working-in-kali)

Pages: 1 2


RE: Git Clone COMMAND not working in kali! - Kururin - 08-23-2018

(08-23-2018, 04:05 AM)Amresh Wrote: Hey guys thanks for the reply!

But I am still facing issues!

When I was installing git using sudo apt-get ....
I was being displayed by an error saying that >>Error in File Fetching<< or somewhat like this only!

I was thinking that is there any way through which I can install git offline.....like first I download the package and install it from the terminal offline!
Not completely offline but you can install git like this if not using the package manager (apt-get)
Install the necessary dependencies

Code:
sudo apt-get install dh-autoreconf libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev

Download the package to install

Code:
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz

Unpack the tar.gz

Code:
tar -xzvf git-2.9.5.tar.gz

Build from source

Code:
cd git-2.9.5.tar.gz
make configure
./configure --prefix=/usr
make
make install (use sudo make install for global install so any user can use git)

And done you have your git installed Smile