From: "Jordan" <jordan.az@samsung.com>
To: "'Pratyush Yadav'" <me@yadavpratyush.com>
Cc: <git@vger.kernel.org>
Subject: RE: Installing git questions I can't find an answer to.
Date: Thu, 9 Apr 2020 09:28:03 +0900 [thread overview]
Message-ID: <001501d60e05$bb5f2b10$321d8130$@samsung.com> (raw)
In-Reply-To: <20200408180753.j4sa7iahszp3kljn@yadavpratyush.com>
Hello Pratyush,
Thanks for the reply. I was able to build it from a tarball, but it was
certainly not straightforward. After a failed attempt and more research I
came to the following that works.
$ tar -zxf git-2.9.4.tar.gz
$ cd git-2.9.4
$ make configure
$ ./configure --prefix=/ <my directory>
$ make && make install
Regards,
Jordan
-----Original Message-----
From: Pratyush Yadav <me@yadavpratyush.com>
Sent: Thursday, April 9, 2020 3:08 AM
To: Jordan <jordan.az@samsung.com>
Cc: git@vger.kernel.org
Subject: Re: Installing git questions I can't find an answer to.
On 08/04/20 08:12AM, Jordan wrote:
> Hello,
> I have searched the internet and can find no answer to my dilemma. I
> am trying to install a local copy of git on a Linux machine that is
> not connected to the internet and I don't have root privileges on. I
> can download and transfer things to this machine, but that is it. I
> think this should be possible, but have had no luck with the things I have
tried.
> Thanks you for any advice.
Are you able to build Git from source? Do you have all the dependencies
already installed? If so, I have sometimes used the Git binary in the build
folder when testing a new feature I was working on because I didn't want to
install an unstable version on my system. It worked fine for the most part,
though I admit I didn't really use a whole lot of things other than commit
and some worktree commands. Maybe something like that would work for you?
You can download a tarball from kernel.org [0].
If you can't, maybe you can try building Git on a machine you _do_ have
internet and root access on, and then copy over the binaries? Again, I
haven't played around a whole lot with something like this so I can't say if
it'll work. Something to try I guess.
[0] https://mirrors.edge.kernel.org/pub/software/scm/git/
--
Regards,
Pratyush Yadav
prev parent reply other threads:[~2020-04-09 0:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20200407231201epcas2p1a72ef517da1e0bff4d481a57dc593ab1@epcas2p1.samsung.com>
2020-04-07 23:12 ` Installing git questions I can't find an answer to Jordan
2020-04-08 18:07 ` Pratyush Yadav
2020-04-09 0:28 ` Jordan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001501d60e05$bb5f2b10$321d8130$@samsung.com' \
--to=jordan.az@samsung.com \
--cc=git@vger.kernel.org \
--cc=me@yadavpratyush.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).