Switched to curl.
Improved package install.