6

I want to create a deb package that will install this and that extensions.

I want to automate the steps of adding the extension to LibreOffice and Firefox. How do I create a package for this?

2
  • I think you will need a script, not a whole package, to achieve this, unless there's a reason you want to make this into a package? – Thomas Ward Jun 30 '15 at 12:11
  • I need a package because some other utilities will also be included # apt-get install ibus{,-m17n,,-gtk} im-config # apt-get install ttf-devanagari-fonts – shantanuo Jul 1 '15 at 15:34
2

Creating packages is relatively straight forward. You essentially create a tarball, which could be unpacked at the root of your filesystem (the parallel directory structures), but in addition there is a debian folder, which contains scripts which can be run during the process.
I'm assuming you knew this, so I'm not sure exactly which bit of the process of creating a package, you're unclear on.

https://wiki.debian.org/HowToPackageForDebian

Will give you chapter and verse on creating the package

http://kb.mozillazine.org/Installing_extensions

Says putting .xpi files in a certain directory will cause firefox to install them on next startup

https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=804

Talks about using unopkg to install libreoffice packages from the command line.

If you want hired consultancy to do the grunt work for you, that's a different matter ;-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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