Ideally, you can equip yourself with a fresh Ubuntu operating system and go through the samples while reading. Remember there is a git repository available at https://github.com/petruisfan/linux-for-developers.
Go ahead and clone this locally so that you can use the project's sample files.