Well, I just had a brain fart. See? It happens to the best of us. 
The kernel won’t open up to a regular user. So you need to run the command as root.
So type this in instead:
sudo dmesg -w
…and it should work.
Oops… 
If you like “livin’ on the edge”, then sure… (This is a joke. Do not install it in dom0
)
In all seriousness, no, you should NOT do install anything in dom0 that isn’t absolutely necessary.
The idea of dom0 is meant to be like the “engine room” or “switchboard” of your machine.
Its job is basically to decide what can go in and out of VMs, depending on their origin, destination, and contents.
Things like files going between VMs, network data packets, USB “signals” (just calling them for simplification), clipboard contents, display windows, etc. Dom0 is basically the one that “says yay or nay” (allows or denies) on what the qubes can and can’t do.
Because of the critical function that dom0 performs, it would make sense to ensure its integrity as much as possible, and keep it as barebones as possible.
If you’ve ever set up or managed an internet-connected server before, you’ll know exactly what I mean. Every piece of software could be an attack vector, so the server only needs stuff that allows it to perform its purpose, and nothing more
.
Templates Are For Your Applications
You should install LibreOffice inside your qube of choice. If you want it to survive qube restarts, then you should install it inside the template that your qube of choice is based on.
@apparatus is 100% correct. That link will explain everything you need to know 