You might need to upgrade your Java version as well to have newer CAs to authenticate SSL to download lein! Check java -version and JAVA_HOME.
I would say *don't* do https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#replacing-default-repl-dependencies - that's more likely to cause problems. On Wednesday, July 13, 2016 at 9:28:27 AM UTC-5, John Szakmeister wrote: > > On Wed, Jul 13, 2016 at 9:59 AM, Cecil Westerhof <cldwester...@gmail.com> > wrote: > [snip] > > I already tried that, but this gives: > > WARNING: You're currently running as root; probably by accident. > > Press control-C to abort or Enter to continue as root. > > Set LEIN_ROOT to disable this warning. > > > > Downloading Leiningen to > > /root/.lein/self-installs/leiningen-2.3.4-standalone.jar now... > > % Total % Received % Xferd Average Speed Time Time Time > > Current > > Dload Upload Total Spent Left > > Speed > > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > > 0curl: (22) The requested URL returned error: 403 Forbidden > > Failed to download > > > https://leiningen.s3.amazonaws.com/downloads/leiningen-2.3.4-standalone.jar > > It's possible your HTTP client's certificate store does not have the > > correct certificate authority needed. This is often caused by an > > out-of-date version of libssl. Either upgrade it or set HTTP_CLIENT > > to turn off certificate checks: > > export HTTP_CLIENT="wget --no-check-certificate -O" # or > > export HTTP_CLIENT="curl --insecure -f -L -o" > > It's also possible that you're behind a firewall haven't yet > > set HTTP_PROXY and HTTPS_PROXY. > > I think that might have been because the client was so far out-of-date. > > > I now just installed it again. And that works. But what if I default > want to > > work with a newer (or older) version. I understood it could be done with > > profile.clj, but I did not get it working. > > I haven't done it, but perhaps look at: > > https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#replacing-default-repl-dependencies > > > > At the moment every user has to install lein, is there a way to install > it > > globally? > > Not that I'm aware of, but someone else here may know. > > -John > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.