Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3759064
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:15:30+00:00 2026-05-19T10:15:30+00:00

I have an application that has various sections some of which are written in

  • 0

I have an application that has various sections some of which are written in perl and some in python. What would be the best tool to use for packaging such an application.

I am looking at deb-helper at the moment and still learning how to use it though I cant find a HOW TO for something like this. Ideas?

Update

My source layout:

AppRoot/
    agi-bin/
        MyApp/
        Common/
    web/
    conf/

agi-bin – perl scripts; web – python scripts.
I would like the install destination to maintain this hierarchy for the perl/python scripts in /usr/lib/ and conf moving to /etc/myapp/

Update 2:

If working with compiled applications say C++, then dh_make with a makefile does the job. If am working with perl there’s dh-make-perl. Then the link provided by Thomas (in the comments section) for packaging python adds distutils into the picture. All these show different ways to package different applications.

I am looking for ideas/recommendations on the best way to package an application that uses multiple languages i.e. python and perl. Should I use a makefile file for both or is it ok to just override dh_install in the rules file and move files around? What would you say is the ‘right way’ of doing this?

Also, am just learning about this whole packaging business so all recommendations are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T10:15:31+00:00Added an answer on May 19, 2026 at 10:15 am

    Using debhelper is the right approach – you should certainly create a .deb package. I recommend to start with this tutorial.

    Edit: If the scripts you are trying to install are actually “executables” (in the sense that they are meant to be invoked as programs, rather than acting as libraries in their respective languages), then you should disregard dh-make-perl, distutils, dh_pycentral, etc. These are all designed to install libraries/packages/modules, dealing with dependencies, byte-code generation, etc. Instead, configure the debian/foo.install file to list all the scripts you want to install, and let dh_install deploy them. Make sure to manually add dependencies (into debian/control)to the libraries that the scripts may need, and in particular to the Python/Perl versions they require. If this is really just copying files around both at packaging time and installation time, none of the extra debhelper functionality will do any good. When you find yourself writing postinstall scripts, go back and see whether a debhelper may generate them for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that has 2 beans with the same name, but which
I have a maintenance application that has to turn enterprise data (from various databases/tables)
I have an application that has to load various H2 database files for different
I have an asp.net application that has various text files it needs to load
I have a semi-complex application i'm building that has various wizards and screens. I
I have a application that has a GUI where you can do some settings.
I have a WPF application that has several modal window used for various purposes.
I have a host application that controls various factory classes which produce implementations of
I have a VB6 application that has a licensing module in VB6 which checks
We have an application that has a database full of polygons (currently stored as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.