$ sudo dpkg --add-architecture i386 command not found

Are you trying to run this command on Colibry system? This is for you host machine setup for cross build. Please follow steps described here - How to setup environment for Embedded Linux application development | Toradex Developer Center