= Build bsdgames from source
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 (bsdgames)>, so now we can:
``
number/number 123
``
which gives:
``
one hundred twenty-three.
``
We can also "install" it locally with:
``
make install
``
which puts the games locally under:
``
debian/bsdgames/usr/games/number
``
which you can add to your <PATH environment variable>.
Tested on Ubuntu 24.04, bsdgames 2.17.
Back to article page