{"thread":{"id":"53183","subject":"Installing git questions I can't find an answer to.","startedAt":"2020-04-07T23:12:10Z","lastAt":"2020-04-09T00:28:11Z","messageCount":3,"participants":["Jordan","Pratyush Yadav"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"395026","messageId":"000001d60d31$f1b41d80$d51c5880$@samsung.com","threadId":"53183","inReplyTo":"CGME20200407231201epcas2p1a72ef517da1e0bff4d481a57dc593ab1@epcas2p1.samsung.com","subject":"Installing git questions I can't find an answer to.","fromName":"Jordan","fromEmail":"jordan.az@samsung.com","sentAt":"2020-04-07T23:12:01Z","receivedAt":"2020-04-07T23:12:10Z","isPatch":false,"sender":{"key":"jordan.az@samsung.com","avatar":null},"body":"Hello,\nI have searched the internet and can find no answer to my dilemma. I am\ntrying to install a local copy of git on a Linux machine that is not\nconnected to the internet and I don't have root privileges on. I can\ndownload and transfer things to this machine, but that is it. I think this\nshould be possible, but have had no luck with the things I have tried.\nThanks you for any advice.\nRegards\nJordan\n\n"},{"id":"395078","messageId":"20200408180753.j4sa7iahszp3kljn@yadavpratyush.com","threadId":"53183","inReplyTo":"000001d60d31$f1b41d80$d51c5880$@samsung.com","subject":"Re: Installing git questions I can't find an answer to.","fromName":"Pratyush Yadav","fromEmail":"me@yadavpratyush.com","sentAt":"2020-04-08T18:07:53Z","receivedAt":"2020-04-08T18:08:07Z","isPatch":false,"sender":{"key":"me@yadavpratyush.com","avatar":"https://avatars.githubusercontent.com/u/8817931?v=4"},"body":"On 08/04/20 08:12AM, Jordan wrote:\n> Hello,\n> I have searched the internet and can find no answer to my dilemma. I am\n> trying to install a local copy of git on a Linux machine that is not\n> connected to the internet and I don't have root privileges on. I can\n> download and transfer things to this machine, but that is it. I think this\n> should be possible, but have had no luck with the things I have tried.\n> Thanks you for any advice.\n\nAre you able to build Git from source? Do you have all the dependencies \nalready installed? If so, I have sometimes used the Git binary in the \nbuild folder when testing a new feature I was working on because I \ndidn't want to install an unstable version on my system. It worked fine \nfor the most part, though I admit I didn't really use a whole lot of \nthings other than commit and some worktree commands. Maybe something \nlike that would work for you? You can download a tarball from kernel.org \n[0].\n\nIf you can't, maybe you can try building Git on a machine you _do_ have \ninternet and root access on, and then copy over the binaries? Again, I \nhaven't played around a whole lot with something like this so I can't \nsay if it'll work. Something to try I guess.\n\n[0] https://mirrors.edge.kernel.org/pub/software/scm/git/\n\n-- \nRegards,\nPratyush Yadav\n"},{"id":"395109","messageId":"001501d60e05$bb5f2b10$321d8130$@samsung.com","threadId":"53183","inReplyTo":"20200408180753.j4sa7iahszp3kljn@yadavpratyush.com","subject":"RE: Installing git questions I can't find an answer to.","fromName":"Jordan","fromEmail":"jordan.az@samsung.com","sentAt":"2020-04-09T00:28:03Z","receivedAt":"2020-04-09T00:28:11Z","isPatch":false,"sender":{"key":"jordan.az@samsung.com","avatar":null},"body":"Hello Pratyush,\nThanks for the reply. I was able to build it from a tarball, but it was\ncertainly not straightforward. After a failed attempt and more research I\ncame to the following that works. \n$ tar -zxf git-2.9.4.tar.gz\n$ cd git-2.9.4\n$ make configure\n$ ./configure --prefix=/ <my directory>\n$ make && make install\n\nRegards,\nJordan\n\n-----Original Message-----\nFrom: Pratyush Yadav <me@yadavpratyush.com> \nSent: Thursday, April 9, 2020 3:08 AM\nTo: Jordan <jordan.az@samsung.com>\nCc: git@vger.kernel.org\nSubject: Re: Installing git questions I can't find an answer to.\n\nOn 08/04/20 08:12AM, Jordan wrote:\n> Hello,\n> I have searched the internet and can find no answer to my dilemma. I \n> am trying to install a local copy of git on a Linux machine that is \n> not connected to the internet and I don't have root privileges on. I \n> can download and transfer things to this machine, but that is it. I \n> think this should be possible, but have had no luck with the things I have\ntried.\n> Thanks you for any advice.\n\nAre you able to build Git from source? Do you have all the dependencies\nalready installed? If so, I have sometimes used the Git binary in the build\nfolder when testing a new feature I was working on because I didn't want to\ninstall an unstable version on my system. It worked fine for the most part,\nthough I admit I didn't really use a whole lot of things other than commit\nand some worktree commands. Maybe something like that would work for you?\nYou can download a tarball from kernel.org [0].\n\nIf you can't, maybe you can try building Git on a machine you _do_ have\ninternet and root access on, and then copy over the binaries? Again, I\nhaven't played around a whole lot with something like this so I can't say if\nit'll work. Something to try I guess.\n\n[0] https://mirrors.edge.kernel.org/pub/software/scm/git/\n\n--\nRegards,\nPratyush Yadav\n\n"}]}