I'm installing LibreOffice on my elementary OS, i have tried with

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade

and finally sudo apt-get install libreoffice

But when i open LibreOffice from Applications, the pc go to "suspend" can you help me?

  • Can you explain that " update and upgrade(dist)" part? What exact commands did you use? (hint: edit your post to add new information to it) May 5, 2016 at 20:34
  • I added the edit
    – Carbos
    May 5, 2016 at 20:54
  • What do you mean by suspend.Does it go to sleep , turn off or the screen turns off.
    – Suici Doga
    May 6, 2016 at 1:29
  • screen tuns off, like the system crashed
    – Carbos
    May 6, 2016 at 12:04

1 Answer 1


If you have a program you have installed that gives you a problem, try this:

sudo apt-get purge libreoffice
sudo apt-get -f install
sudo apt-get install libreoffice
sudo apt-get -f install

"sudo -f install" essentially fixes bad installs and missing dependencies/libraries/whatever.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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