I have a non-root account on a Debian 9 (Stretch) System and I want to install Git.
Since the account does not have super-user privileges, Git can only be installed locally, as stated here.
Following the accepted answer, I downloaded and extracted the latest Git version in local home directory (~/) and then I enter the extracted Git folder like
$ cd git-2.33.1/
When I run
./configure --prefix=~/git-2.33.1/ && make && make install
I get ./configure: No such file or directory.
Is there anything I can do?
I also checked the README of git and when I run make I get fatal error: openssl/ssl.h: No such file or directory #include <openssl/ssl.h>
This will be not very easy to have something working if dependencies are missing.
What you can do, download the
.debto get the last git version, you can find it https://debian.pkgs.org/11/debian-main-amd64/git_2.30.2-1_amd64.deb.htmlFor example:
Then extract it
You will get
Then extract the data part:
and you get the binaries