When trying to wget anything that uses https, it reports that it is not an http or ftp url.
Example: wget "https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/oh-my-zsh.sh"
The wget program that is pre-installed with Termux is a lightweight version from busybox - to install the fully featured GNU wget version supporting https and more options run:
packages install wget
I have installed it with packages but for some reason it still points to the BusyBox version
@v0idst4r Try running hash -r before running wget again. This clears the bash path cache so that new executables are found.
what is "packages"?
@luntik2012 have read this https://wiki.termux.com/wiki/Software article?
@luntik2012 If you mean 'packages' mentioned in https://github.com/termux/termux-app/issues/314#issuecomment-300595687, then it is a wrapper for 'apt' package manager. It was renamed to 'pkg' in https://github.com/termux/termux-packages/commit/fc0718410cb9e63ddeba8de3fcd9e6531630c7fa.
PS. I suggest you to read comments carefully.
@sdrausty @xeffyr thank you
@xeffyr > It was renamed to 'pkg'
echo 'Usage: packages command [arguments]'
Changed to:
echo 'Usage: pkg command [arguments]'
Maybe this change should be added as a historical note at https://wiki.termux.com the wiki?
@luntik2012 you are welcome.
Most helpful comment
@v0idst4r Try running
hash -rbefore runningwgetagain. This clears the bash path cache so that new executables are found.