Skip to content
Sign upLog in
← Back to Community
How to install local .deb
Profile icon
Alt_Plus_F4

I am trying to install discord into repl.it polygott in order to do some tests and access discord from alternate environments (e.g. at school) but I can't figure out how to install a local .deb file.
Because this is repl.it I don't really think you can get root (sudo doesn't work) so I am limited to non-admin commands but if there is a way to get root then please tell me!

Answered by theangryepicbanana [earned 5 cycles]
View Answer
Voters
Profile icon
Sch8ill
Profile icon
JakubFabijan
Profile icon
Saibot84
Profile icon
UniqueOstrich18
Profile icon
Alt_Plus_F4
Comments
hotnewtop
Profile icon
theangryepicbanana

try the install-pkg command

Profile icon
Alt_Plus_F4

It doesn't work: (I might be doing something wrong)
image

Profile icon
theangryepicbanana

@Alt_Plus_F4 try doing install-pkg ./discord.deb

Profile icon
Alt_Plus_F4

@theangryepicbanana
Just ends on this:
image

Profile icon
theangryepicbanana

@Alt_Plus_F4 give it a minute then. sometimes it's slow

Profile icon
Alt_Plus_F4

k

Profile icon
Alt_Plus_F4

@theangryepicbanana
Yeah it is definitely finished at "Rewrite package-config files"

Profile icon
theangryepicbanana

@Alt_Plus_F4 can you install normal stuff though?

Profile icon
Alt_Plus_F4

@theangryepicbanana
If you mean packages here then yeah: https://packages.debian.org/

Profile icon
Alt_Plus_F4

@theangryepicbanana
turns out I just needed to put the .deb link after install-pkg. Thanks for your help!

Profile icon
Buhron
nix-env -iA nixpkgs.discord
  • Nix