How to remove a package/undo install-pkg?
I installed a package by using
install-pkg my-thing as suggested here (https://replit.com/talk/ask/Install-And-Run-sudo/57290)... how do I remove it?
just type exit in your shell to reload the environment, though this is a pretty heavy handed technique and will get rid of all the other temporary state, it still works. you might want to look into how packaging works on ubuntu or something if you want something better.
uninstalling with apt won't work probably, but I'm pretty sure there's a way to do it with dpkg or something- it's just installed in
~/.apt/ instead for the
install-pkg command. You might also want to look into
nix and Nix repls, which is supposed to be replit's new way of handling packages. It's a lot better!