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 8185399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:50:06+00:00 2026-06-07T01:50:06+00:00

I have a bunch of dictionary files for the dictd dictionary program. There are

  • 0

I have a bunch of dictionary files for the dictd dictionary program. There are 2 files for each dictionary (a dict.dz and a .index file) and there are 8 dictionaries in total.

The installation of the dictionaries is really simple, this is what I currently have in my script:

install -o root -g root -m 644 /path/to/dictd_dictionaries/* /usr/share/dictd
/usr/sbin/dictdconfig --write
service dictd restart

Now I want to package this lot of files up into .deb packages, one .deb package per dictionary. I’d really like to have one source .deb package that then creates all the separate packages, rather than having to create and maintain 8 individual packages (a number that might grow over time).

However I don’t understand how the debian/packagename.dirs files relate to what goes in the debian/rules file. I tried downloading and looking at the source package for freedict, which is very similar to what I want to do, but its rules file is very complex.

  • 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-06-07T01:50:07+00:00Added an answer on June 7, 2026 at 1:50 am

    You could use the dh-make package and specifiy “multiple binary”. It’s a bit like a wizard for creating the skeleton debian/ directory.

    E.g.

    # dh_make --packagename=skeleton_1.0
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    
    Type of package: single binary, indep binary, multiple binary, library, kernel module, kernel patch or cdbs?
     [s/i/m/l/k/n/b] 
    

    Typing “m” at this point will set it up so that a single source package builds several packages.

    After the dh_make wizard has set things up you will need to maintain debian/[packagename].dirs and debian/[packagename].install so that the packager knows which files go in which .deb.

    E.g.
    skeleton.dirs

    usr/bin
    

    skeleton.install

    usr/bin/skeleton*
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a bunch of strings that are dependent on static dictionaries and each
I have a bunch of named value parameters in a Dictionary<string, object> , which
I have a bunch of files in a folder checked out from a repository.
I have a bunch of html files that come with my app and are
I have a bunch of classes that all contain a Shared ReadOnly Dictionary. If
I have information about a bunch of different items. Each item has its own
I have a bunch of files (almost 100) which contain data of the format:
I have a UIViewController subclass that loads a bunch of images for each cell
I have a bunch of files in a single directory that I would like
I have a bunch of devices. They each have a UUID that distinguishes them

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.