Can't install any packages

No need to be sorry. I cleary understood you have used package manager REPL at the end but I’ve just refered to the programmatical way of using it that you’ve tried at first. For the other issue, have you tried ]up to get list of pakages?