For making programs for Linux, install some language or framework and work in that. .deb and .rpm files are archives. To make one you need an independent working program or script in a framework. There is no programming framework for .rpm or .deb except those installed on system which is either not existent if you chose a language that does not come installed and did not install it, or like you can make C and Python things by compiling using built in tools. Either way, you need a compiler or interpretter...