From 86c6b45348a6fb9479940c5a0ea80b26dd6c4860 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Thu, 20 Jun 2013 15:23:32 +0000 Subject: [PATCH 1/2] Added a comment --- ...nt_1_bf7e98e6130698ad0dc92e3a6a63ade3._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/Cannot_find_git-annex_in_server/comment_1_bf7e98e6130698ad0dc92e3a6a63ade3._comment diff --git a/doc/forum/Cannot_find_git-annex_in_server/comment_1_bf7e98e6130698ad0dc92e3a6a63ade3._comment b/doc/forum/Cannot_find_git-annex_in_server/comment_1_bf7e98e6130698ad0dc92e3a6a63ade3._comment new file mode 100644 index 0000000000..b5685c901c --- /dev/null +++ b/doc/forum/Cannot_find_git-annex_in_server/comment_1_bf7e98e6130698ad0dc92e3a6a63ade3._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + nickname="joey" + subject="comment 1" + date="2013-06-20T15:23:32Z" + content=""" +The standalone tarball does not need to be installed in /usr/bin or any other particular location. I *never* hardcode /usr/bin in anything. + +It seems likely to me that you have not correctly added /opt/git-annex.linux to PATH. You mention `.profile` -- but this is only used +by bash when starting a login shell. So any non-login shells won't have it in path. You need to put something in .bashrc for that. + +Also, to use git-annex on a server, there is no reason at all to install the latest and greatest version. Any version 3 or greater build of git-annex will work fine on a server with newer git-annex versions on clients. So `apt-get install git-annex` is a much easier and nicer way to install it on a server. Most linux distributions have a package of git-annex and an easy way to install it. + +(It would also help if you pasted actual error messages, rather than a summary of an error message.) +"""]] From d4e57b003c19b9b29ac0d55a051465260131a7b3 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmCEE7m7pm6lqvYmgRSESRP9xqmmMm9ox8" Date: Thu, 20 Jun 2013 20:14:26 +0000 Subject: [PATCH 2/2] Added a comment --- ...comment_2_168dda4aed09f90a510bc453e8a7cda7._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/Cannot_find_git-annex_in_server/comment_2_168dda4aed09f90a510bc453e8a7cda7._comment diff --git a/doc/forum/Cannot_find_git-annex_in_server/comment_2_168dda4aed09f90a510bc453e8a7cda7._comment b/doc/forum/Cannot_find_git-annex_in_server/comment_2_168dda4aed09f90a510bc453e8a7cda7._comment new file mode 100644 index 0000000000..48c0a65aff --- /dev/null +++ b/doc/forum/Cannot_find_git-annex_in_server/comment_2_168dda4aed09f90a510bc453e8a7cda7._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmCEE7m7pm6lqvYmgRSESRP9xqmmMm9ox8" + nickname="Daniel" + subject="comment 2" + date="2013-06-20T20:14:25Z" + content=""" +I'd rather use the package from the repositories. But this server is running an openSUSE install and the package manager could not resolve the Haskell dependencies of the unofficial git-annex rpm package. + +Indeed, performing the PATH extension in \".bashrc\", not in \".profile\", solved the issue. I feel like a newbie. Thanks for the express answer! +"""]]