Build bsdgames from source
New to topics? Read the documentation here!
Many of the games are disabled by default on Ubuntu. But we can enable some games and build from source with:
apt-get source bsdgames
cd bsdgames-*
sed -ri '/^bsd_games_cfg_no_build_dirs=/s/ number / /' config.params
./configure
make -j
Here we enabled the game number, so now we can:which gives:
number/number 123
one hundred twenty-three.
We can also "install" it locally with:which puts the games locally under:which you can add to your
make install
debian/bsdgames/usr/games/number
PATH
environment variable.Tested on Ubuntu 24.04, bsdgames 2.17.