Cant download from https with wget on aarch64. Seems to be its compiled with ssl
Have you install wget or are you using the busybox version? pkg install wget
I did installed it. Had to restart termux. Now its working. Thaks
How do you restart termux? I tried reset after pkg install wget, but still get the same error:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
wget: not an http or ftp url: https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
Typing wget alone starts with BusyBox v1.27.2 so I think I do need to restart, but don't see how from the docs.
In any case might be worth a separate issue to have a more informative error message from BusyBox's wget?
How do you restart termux?
Rebooting my device did the trick, though still curious.
$ type wget
wget is /data/data/com.termux/files/usr/bin/applets/wget
$ wget
BusyBox v1.28.3 (2018-04-08 23:41:12 UTC) multi-call binary.
Usage: wget [-cq] [-O FILE] [-Y on/off] [-P DIR] [-S] [-U AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-S Show server response
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y on/off Use proxy
$ type wget
wget is hashed (/data/data/com.termux/files/usr/bin/applets/wget)
$ pkg ins wget
Hit:1 https://termux.net stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libuuid
The following NEW packages will be installed:
libuuid wget
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 200 kB of archives.
After this operation, 676 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://termux.net stable/main aarch64 libuuid aarch64 1.0.3-1 [4176 B]
Get:2 https://termux.net stable/main aarch64 wget aarch64 1.19.4 [195 kB]
Fetched 200 kB in 0s (206 kB/s)
Selecting previously unselected package libuuid.
(Reading database ... 5613 files and directories currently installed.)
Preparing to unpack .../libuuid_1.0.3-1_aarch64.deb ...
Unpacking libuuid (1.0.3-1) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.19.4_aarch64.deb ...
Unpacking wget (1.19.4) ...
Processing triggers for man (1.14.3-1) ...
Setting up libuuid (1.0.3-1) ...
Setting up wget (1.19.4) ...
$ type wget
wget is hashed (/data/data/com.termux/files/usr/bin/applets/wget)
$ wget
BusyBox v1.28.3 (2018-04-08 23:41:12 UTC) multi-call binary.
Usage: wget [-cq] [-O FILE] [-Y on/off] [-P DIR] [-S] [-U AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-S Show server response
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y on/off Use proxy
$ hash -d wget
$ type wget
wget is /data/data/com.termux/files/usr/bin/wget
$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
$
Or just restart the session/shell. Of course you don't need to reboot your device.
Is there a command to restart the session/shell? I'm using termux from ChromeOS, and closing and reopening the tab didn't do the trick.
Just like what you do on PC. Ctrl+D, exit, logout. Long press on the Termux screen there will be MORE... -> Kill process. Swipe down from the top, there's an exit button on Termux's bar, which kills all sessions. And obviously you can even go to Android apps' setting and force stop Termux.
And you can swipe from the left to create and switch between up to 8 sessions (have to admit that I don't know if there's better way to do that when you are on mouse and/or keyboard).
Most helpful comment
Or just restart the session/shell. Of course you don't need to reboot your device.