Running a custom program

So Hive is a stripped down version of Ubuntu? Can I run my own linux program while hive mining operates? How…