When I try to install a package, for instance nsnake, with the command sudo apt-get install nsnake &
, the process immediately stops. I can bring it to the foreground and enter my sudo password, pause it (with Ctrl-Z), and send it back to the background again. But then the shell will immediately pause the process, e.g.,
katriel@caseylaptop:~$ bg
[2]+ sudo apt-get install nsnake &
[2]+ Stopped sudo apt-get install nsnake
Is it possible to install packages in the background? I may want to do this while installing large packages on a computer I'm SSH'ing into.