View Full Version : Perl Deb File
chamberlain2006
April 2nd, 2007, 04:22 PM
Hi, I wrote a perl script that I want to make into an installable deb file for a few of my friends. How can i do so?
blanky
April 2nd, 2007, 09:30 PM
Heh, debian packing is not a simple thing. You'll have to learn how to package deb's, and unless you're either really skilled at that or your script is really useful, it might not even be worth it. You could simply install the script to /usr/bin or wherever it is these days so they could run it easily, if that's even necessary, but for a simple perl script packaging in deb might seem like overkill.
harun
April 3rd, 2007, 09:32 AM
Unless you used some Perl modules your friend may not have, the script will be completely portable on its own and you would be better off to just give them the script.
However if you do want to go through building a .deb to learn how to do it:
http://www.debian.org/doc/maint-guide/
There may be a better quick start guide out there for if you are only packaging up a Perl program. Which would mean you don't have to worry about all the make files, and the rest of the source code like in their examples.
I have seen many posts say how difficult it is to do a .deb but if you have the endurance to just read through their examples it is not technically hard, just a lot to read.
chamberlain2006
April 3rd, 2007, 05:04 PM
The problem is that my friend is new to Linux/Ubuntu and she still doesn't know where to find the C:/ Drive, so asking her to put it into the "/usr/bin" directory and call it seems a little beyond her. Thanks for the replies though, I just modified a simple Makefile, and we're good!
blanky
April 3rd, 2007, 08:41 PM
There is no "C:\" drive in Linux, haha. Also, instead of telling him/her to move it into /usr/bin or wherever, give her the specific command.
Like sudo mv myscript /usr/bin or something.
WW
April 11th, 2007, 02:26 PM
You could use the program epm to create a .deb file. An example is here: http://ubuntuforums.org/showthread.php?t=406069
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.