As root
you need to edit /etc/apt/sources.lst
Then add contrib
and non-free
at the end of each line that begins with deb
and deb-src
just like the example:
deb http://http.us.debian.org/debian jessie main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free