Ask Your Question

install extension issues

asked 2018-06-28 12:55:58 +0200

booster gravatar image

updated 2020-01-14 04:05:21 +0200

mrkalvin gravatar image

/usr/lib64/libreoffice/program# unopkg add --shared test19.oxt

ERROR: You need write permissions to install a shared extension!

There was an error when I used the command to load my own extension. Does anyone know why? Where are the plugins installed?

edit retag flag offensive close merge delete


Why don't you install to the user space?

gabix gravatar imagegabix ( 2018-06-28 13:01:02 +0200 )edit

I want to automated installation it in my script. user space?

booster gravatar imagebooster ( 2018-06-28 14:51:58 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-06-28 13:02:00 +0200

erAck gravatar image

You attempted to add a shared (available to all users) extension, which would be added to (probably) /usr/lib64/libreoffice/share/extensions for which of course you need to be either root or sudo user.

You can add extensions for your own user using menu Tools -> Extension Manager...

edit flag offensive delete link more


Thank you for your answer. I used root user to try, same error. Because I want to automated installation it in my script, I cannot use the EXtension Manager.

booster gravatar imagebooster ( 2018-06-28 13:21:58 +0200 )edit

answered 2020-01-14 04:03:54 +0200

mrkalvin gravatar image

updated 2020-01-15 02:41:53 +0200

For me it worked like this on Linux Mint:

Adding an extension for single user:

$ /usr/lib/libreoffice/program/unopkg add -s -f FULL_PATH_YOUR_EXTENTION/extension.oxt

Adding an extension for all users: [need Super User permission to add or remove]

$ sudo /usr/lib/libreoffice/program/unopkg add --shared -s -f FULL_PATH_YOUR_EXTENTION/extension.oxt


see more:


/usr/lib/libreoffice/program/unopkg -h
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-06-28 12:55:58 +0200

Seen: 209 times

Last updated: Jan 15