Building GNU Typist for Mac OS

GNU Typist is a great source for learning touch typing. You can install it on your own at your Mac. Just follow the steps.

1. Get the source of typist

# make sure to have all sources inside ~/opt/src

mkdir -p ~/opt/src
cd ~/opt/src

curl -O http://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.gz
tar zxf gtypist-2.9.5.tar.gz

2. Get the source of ncurses

curl -O http://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz
tar zxf ncurses-6.1.tar.gz

3. Get the source of typespeed

curl -O http://typespeed.sourceforge.net/typespeed-0.6.5.tar.gz
tar zxf typespeed-0.6.5.tar.gz

4. Create place where you want to have all the stuff

mkdir -p ~/opt/usr

5. Build ncurses

# pay attention to --enable-widec
cd ~/opt/src/ncurses-6.1
./configure --enable-widec --with-shared --prefix=$HOME/opt/usr/
make; make install

6. Build GNU Typist

cd ~/opt/src/gtypist-2.9.5
export LDFLAGS="-L$HOME/opt/usr/lib"
export CFLAGS="-I$HOME/opt/usr/include"
./configure --prefix=$HOME/opt/usr/
make; make install

7. Run gnutypist

cd $HOME/opt/usr/bin
./gtypist

8. Build typespeed

cd ~/opt/src/typespeed-0.6.5
./configure --prefix=$HOME/opt/usr/
make; make install

9. run typespeed

cd $HOME/opt/usr/bin
./typespeed