Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have made a Python3 script that converts degrees to radians. I have been trying to make a Debian file for the script so that other Linux users can install this program on their systems. I included the Debian files that I am dealing with (degrees2radians-0.1.txt). Rename the extension from "txt" to "tar.gz". I have tried dh_make, dpjg --build, and a few other deb builders. Either the commands fail to build the package or they think this is a source Debian package. I want a single binary Debian package for the single Python3 script.
The file that I included is a tar.gz file that I renamed to TXT so that the server would let me post the file. The tar.gz just contains the script, control file, and other needed files for the Debian file. How do I make a Debian file?
collier@Nacho-Laptop:/media/collier/AI/BASH_Enhancements/make_debs$ dpkg-deb -b degrees2radians degrees2radians_0.1_all.deb
dpkg-deb: error: failed to open package info file `degrees2radians/DEBIAN/control' for reading: No such file or directory
I have read many documentation pages, but they all proved to be useless to me. I knew how to set up the file and folder layout. I just needed a way to package the files into a deb. I needed this command