troglobit / tetris

Micro Tetris™, based on the 1989 IOCCC Obfuscated Tetris by John Tromp
http://troglobit.com/tetris.html
Other
135 stars 47 forks source link

Alpine tetris #4

Open Gbrlueenthunder opened 4 months ago

Gbrlueenthunder commented 4 months ago

Does anybody know what to type to play micro Tetris on alpine terminal?

LastPuppet commented 4 months ago

Alpine Linux has micro Tetris built into it's community repository. To install micro-tetris onto Alpine, (assuming you have an internet connection,) you would do these steps (make sure to use sudo or doas):

Open /etc/apk/repositories with a text editor of your preferred choice. Find a line with a format like this: "https:///alpine//community" (it can also be http) and uncomment it by removing the # line at the start of the url.

After you're done with that step, run a simple "apk update" to grab the repositories info and such.

The final step is just to do apk add micro-tetris.

That's it!

Sourced from https://wiki.alpinelinux.org/wiki/Repositories#Enabling_the_community_repository and https://pkgs.alpinelinux.org/package/edge/community/x86_64/micro-tetris (for checking which repo micro-tetris is in.)