'install-pkg command in not working in repl.it

Here is my code:

install-pkg "Minecraft.deb"

I am trying to install a .deb package and whenever I run the code, I get an error message telling me that they could not find the install-pkg command.

I cannot find out how to do it. Any help?



Solution 1:[1]

Try with dpkg -i Minecraft.deb

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1