Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to distribute few fonts that packaged within a debian package. Fonts should go to '~/.fonts' directory not to '/usr/share/fonts'. So every user can install fonts locally, not effecting system fonts.

I am almost certain about creating a debian package and tried creating one. But when I tried to install, it asks me for superuser privileges.

Please help on this.

Thank you.

share|improve this question

I think you can't use dpkg to install someting without root priviliges since it tries to touch the package database. But you can extract them:

dpkg -x your_package.deb ~/.fonts

But this is far away what you want I think. You can use a small script instead of dpkg maybe. So, users can copy fonts without using dpkg or superuser priviliges.

share|improve this answer
So, debian packaging should not be the option to distribute in this case. Thanks for info. – Junaid Nov 13 '11 at 12:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.