Skip to content
← Back to Community
install-pkg : where did it go?
Profile icon
ceilingrat

Has install-pkg been removed?

Can anyone point me to an announcement and/or some alternative functionality?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
ceilingrat
Comments
hotnewtop
Profile icon
Coder100

You probably used a repl that doesn't support it, like a node repl :/
Use a bash repl and you will see it works!

Report this to bugs, be patient, and it will be supported soon!

Profile icon
ceilingrat

@Coder100 You're right! In a Bash repl it works!
Thanks for pointing this out, I thought I was going crazy! Haha

Profile icon
Coder100
Profile icon
Buhron

@Coder100 install pkg removed

Profile icon
Froggo8311

For anyone wondering, it appears to have been removed. Replit has moved their systems to using Nix, with Nix being the package manager (instead of apt). install-pkg used some privilege escalation in the background to install packages with apt, but now it seems to have been removed. I personally disagree with this change, but Nix seems okay for most use cases. I wish there was still a repl that did allow us to install apt packages still, as not everything is in the Nix package repositories, but this change was most likely made due to the lack of persistence when a REPL is shut down.

Profile icon
Wumi4

No, install-pkg hasn't been removed. It still there.

Profile icon
DaCuteRaccoon

@Wumi4 It's gone. I tried it in the shell of a bash repl. Doesn't work.

Profile icon
ceilingrat

@DaCuteRaccoon I just tried it in a bash repl and it worked.
Can you share a link to your repl?

Profile icon
WanderingZ

Its gone for me @ceilingrat, I'm just getting a bash error saying install-pkg isn't found.