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?
Voters
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.
@Highwayman okay, thanks for the response. I didn't realize they were temporary. I'm still pretty new to replit.
apt-get install my-thing
didn't work so I figured the normal Ubuntu methods for removing wouldn't work either. Thanks!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 theinstall-pkg
command. You might also want to look intonix
and Nix repls, which is supposed to be replit's new way of handling packages. It's a lot better!@ReenigneArcher