LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   antiX / MX Linux (https://www.linuxquestions.org/questions/antix-mx-linux-127/)
-   -   installing libreoffice via terminal (https://www.linuxquestions.org/questions/antix-mx-linux-127/installing-libreoffice-via-terminal-4175665385/)

saturn1955 12-04-2019 03:12 AM

installing libreoffice via terminal
 
Hello,

I want to install libreoffice via terminal, but I got the error message below
( libreoffice cannot be found )
With ubuntu there are no probs. Maybe I did something wrong. Anybody here to help me with that?

Code:

root@satellite2410:~# sudo apt-get install libreoffice libreoffice-l10n-de libreoffice-help-de
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.     
Statusinformationen werden eingelesen.... Fertig
E: Paket libreoffice kann nicht gefunden werden.
E: Paket libreoffice-l10n-de kann nicht gefunden werden.
E: Paket libreoffice-help-de kann nicht gefunden werden.
root@satellite2410:~#


Turbocapitalist 12-04-2019 04:43 AM

Usually you need to refresh the repository's listings.

Code:

sudo apt-get update
sudo apt-get install libreoffice libreoffice-l10n-de libreoffice-help-de

If that is not working then look at what is or isn't in the repostiory and the repository itself:

Code:

apt-cache policy libreoffice
apt-cache policy

Also, if you are already logged in as root, it is not necessary to use sudo to become root again.


Edit: if the above does not work, then also try this before installing:

Code:

sudo apt update
It may ask a question or two about the repositories.

fatmac 12-04-2019 05:45 AM

You should be able to install it using,

Code:

sudo apt-get install libreoffice*
(after running update).

saturn1955 12-04-2019 09:29 AM

I installed the office package with the package installer, that worked, and after that the German language package with the terminal.


All times are GMT -5. The time now is 08:10 PM.