This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Conda on MacOS

i have to problem to install Conda On MacOS

wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh

the program doesn't finish the action

curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36.2M  100 36.2M    0     0   647k      0  0:00:57  0:00:57 --:--:-- 4130k
curl: (3) <url> malformed

How i can to install this program?

next-gen

why are you using curl instead of the wget command you posted?

thanks every body. I just download the file Miniconda3-latest-MacOSX-x86_64.sh or miniconda.sh but when I script in my terminal Miniconda3-latest-MacOSX-x86_64.sh. it doesn't work. Miniconda3-latest-MacOSX-x86_64.sh -bash: Miniconda3-latest-MacOSX-x86_64.sh: command not found

the file is in the file enriquesevillaromero. some help

Try bash ./Miniconda3-latest-MacOSX-x86_64.sh in the directory where you downloaded the script.

Please use ADD COMMENT/ADD REPLY when responding to comments to keep threads logically organized.

1 answer

The curl: (3) <url> malformed message happens because you are using the option -O incorrectly, it doesn't take any value:

-O, --remote-name
              Write  output  to  a  local file named like the remote file we get. (Only the file part of the remote file is
              used, the path is cut off.)

              The file will be saved in the current working directory. If you want the file saved in a different directory,
              make sure you change the current working directory before invoking curl with this option.

I guess curl is interpreting the Miniconda3-latest-MacOSX-x86_64.sh after -O as another url. Even with the message, it saves the file correctly (at least, it did un my linux laptop). The correct command is:

curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O

Log in to answer this question.