2

Wow, I'm here posting about Linux. Never thought I'd see the day, but I've been shown the light by a smart guy and a few VMs and man pages later and her I am.

I think I've managed to get my Ubuntu VM to punch through the company proxy to get out to the net (I've used CURL to download Valgrind) and now I want to stretch my legs with APT-GET a bit. I thought something fun to do would be install Nethack, surely its in an APT repository. I've looked into the SOURCES file to see the repositories I can reference.. what is the universe/multiverse business? Who is Wily Werewolf and am I looking at his repositories? Where can I find more repositories to stick in there, specifically one hosting a Nethack (tiles version please, I can't do the ASCII) so then I can use APT-GET and pull it down?

  • The dungeon game? – heemayl May 3 '16 at 1:58
  • Absolutely the dungeon game :) – m3thuselah May 4 '16 at 1:34
0

If you are after the X11 version of nethack simply run:

sudo apt-get install nethack-x11

And then the glory of this old game will be revealed, as installed on my system:

enter image description here

No fiddling with repositories here, it is in the Universe Repositories which should be activated my default on your system...

  • wow .. i went to their page and didn't see anything about this only to download source .. nice catch :D – John Orion May 3 '16 at 2:18
  • You can see it by running apt-cache search nethack on your Ubuntu system :) – andrew.46 May 3 '16 at 2:20
  • lol yeah .. i foolishly just looked on the web .. never bothered to actually search Ubuntu :( ... lol .. my bad – John Orion May 3 '16 at 2:22
  • ok, so here is my problem then. I've managed to get out through my proxy by setting environment variables via the environment file in etc, CURL works fine and my credentials are passed through. I suspect APT-GET isn't getting through though, I thought it was because SUDO uses a minimal set of env variables for security. So I went and edited the sudoers file and confirmed my proxy variables are being preserved (I've got ones for HTTP, HTTPS and FTP). I still get this, however !Error – m3thuselah May 4 '16 at 2:51
0

This was taken from the Ubuntu documentation for an explination about sources:

 Main - Officially supported software.

 Restricted - Supported software that is not available under a completely free license.

 Universe - Community maintained software, i.e. not officially supported software.

 Multiverse - Software that is not free. 

As for Wily I believe is the version of Ubuntu you are running .. they all have code names like 16.04 is xenial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.