Skip to content
← Back to Community
[SOLVED] apt-get packages installation
Profile icon
rsundar

I would like to install libedit-dev for the editline header file for a minimal Lisp interpreter i am building, how do install apt-get packages through the shell?

Answered by TheDrone7 [earned 5 cycles]
View Answer
Voters
Profile icon
rsundar
Comments
hotnewtop
Profile icon
TheDrone7

I don't think you can do that. You may have to wait till they add the package you need or figure out a workaround.

Profile icon
rsundar

@TheDrone7 Thanks for the reply!

Profile icon
CrazyVideoGamer

You can use install-pkg in the shell

Profile icon
Programmerboi

@CrazyVideoGamer ig it doesn't work anymore

Profile icon
CrazyVideoGamer

@Programmerboi It doesn't? Are you a explorer? If so, then your repls are using nix. To use it, on the dropdown menu in the file explorer, click show config files. Then, you should see a replit.nix file. Add the packages you want, and exit in the shell. They should be added! If you don't like this (for example I found out that it is missing libgl.so.1), then turn off the explorer role. Check out https://docs.replit.com/programming-ide/getting-started-nix

Profile icon
Programmerboi

@CrazyVideoGamer, well curl may work if it is installed

Profile icon
ItsRakam

how to install apt package? 80% of packages not exist in nix package manager @CrazyVideoGamer