I have installed Kali Linux 2018.4 on my physical machine. I installed LibreOffice via the following link:
https://libre-software.net/how-to-in...tu-linux-mint/

But I get the following error while I want to run the libreoffice:

Dec 12 14:59:56 mysystem kernel: [ 4923.116769] traps: soffice.bin[5526] trap invalid opcode ip:7f0ba807008a sp:7f0ba0c8e670 error:0 in DynamicKernel.so[7f0ba8070000+1000]

I also upgraded the version to 2019.1, and purged the libreoffice and all its related files and then reinstalled it but nothing's changed.
The strange thing is that I installed Kali 2018.4 on a virtual machine and installed LibreOffice as the above link said, and it is working properly!
Any help is appreciated.