{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam/issues/2503","repository_url":"https://api.github.com/repos/ocaml/opam","labels_url":"https://api.github.com/repos/ocaml/opam/issues/2503/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam/issues/2503/comments","events_url":"https://api.github.com/repos/ocaml/opam/issues/2503/events","html_url":"https://github.com/ocaml/opam/issues/2503","id":145932074,"number":2503,"title":"opam binary wont execute on my debian machine","user":{"login":"hgouraud","id":5949517,"avatar_url":"https://avatars.githubusercontent.com/u/5949517?v=3","gravatar_id":"","url":"https://api.github.com/users/hgouraud","html_url":"https://github.com/hgouraud","followers_url":"https://api.github.com/users/hgouraud/followers","following_url":"https://api.github.com/users/hgouraud/following{/other_user}","gists_url":"https://api.github.com/users/hgouraud/gists{/gist_id}","starred_url":"https://api.github.com/users/hgouraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgouraud/subscriptions","organizations_url":"https://api.github.com/users/hgouraud/orgs","repos_url":"https://api.github.com/users/hgouraud/repos","events_url":"https://api.github.com/users/hgouraud/events{/privacy}","received_events_url":"https://api.github.com/users/hgouraud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-04-05T09:20:28Z","updated_at":"2016-04-05T15:30:15Z","closed_at":null,"body":"No such file or directory when trying to execute the opam binary!\r\nI have added a few echo lines to opam_installer.sh to show explicitly what and where !!!\r\n\r\nThanks for any help\r\nHenri\r\n-----\r\n<pre>\r\n(uiserver):u72332:~/packages > sh ./opam_installer.sh ~/bin 4.02.3\r\nDownloading OPAM...\r\nFrom https://github.com/ocaml/opam/releases/download/1.2.2 opam-1.2.2-x86_64-Linux\r\nInitializing with compiler 4.02.3\r\nwith binary /kunden/homepages/30/d456759/htdocs/bin/opam\r\n-rwxr-xr-x 1 u72332 ftpusers 6265225 Apr  5 11:06 /kunden/homepages/30/d456759/htdocs/bin/opam\r\n\r\n./opam_installer.sh: line 100: /kunden/homepages/30/d456759/htdocs/bin/opam: No such file or directory\r\n\r\n(uiserver):u72332:~/packages > ls -al /kunden/homepages/30/d456759/htdocs/bin/opam\r\n-rwxr-xr-x 1 u72332 ftpusers 6265225 Apr  5 11:06 /kunden/homepages/30/d456759/htdocs/bin/opam\r\n(uiserver):u72332:~/packages > stat /kunden/homepages/30/d456759/htdocs/bin/opam\r\n  File: `/kunden/homepages/30/d456759/htdocs/bin/opam'\r\n  Size: 6265225   \tBlocks: 12240      IO Block: 4096   regular file\r\nDevice: 830h/2096d\tInode: 1744842375  Links: 1\r\nAccess: (0755/-rwxr-xr-x)  Uid: (7541637/u72332)   Gid: (  600/ftpusers)\r\nAccess: 2016-04-05 11:06:53.390717717 +0200\r\nModify: 2016-04-05 11:06:53.398717953 +0200\r\nChange: 2016-04-05 11:06:53.398717953 +0200\r\n(uiserver):u72332:~/packages > \r\n</pre>"},"comment":{"url":"https://api.github.com/repos/ocaml/opam/issues/comments/205858768","html_url":"https://github.com/ocaml/opam/issues/2503#issuecomment-205858768","issue_url":"https://api.github.com/repos/ocaml/opam/issues/2503","id":205858768,"user":{"login":"dbuenzli","id":485596,"avatar_url":"https://avatars.githubusercontent.com/u/485596?v=3","gravatar_id":"","url":"https://api.github.com/users/dbuenzli","html_url":"https://github.com/dbuenzli","followers_url":"https://api.github.com/users/dbuenzli/followers","following_url":"https://api.github.com/users/dbuenzli/following{/other_user}","gists_url":"https://api.github.com/users/dbuenzli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuenzli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuenzli/subscriptions","organizations_url":"https://api.github.com/users/dbuenzli/orgs","repos_url":"https://api.github.com/users/dbuenzli/repos","events_url":"https://api.github.com/users/dbuenzli/events{/privacy}","received_events_url":"https://api.github.com/users/dbuenzli/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T15:30:15Z","updated_at":"2016-04-05T15:30:15Z","body":"Ah but in fact `opam_installer` downloads binaries, I didn't get that (I thought it bootstrapped an `opam` by compiling ocaml and then compiling opam). You could then simply try to install manually as opam the binary from `https://github.com/ocaml/opam/releases/download/1.2.2/opam-1.2.2-i686-Linux`"}}