Autor Tópico: [Resolvido] LibreOffice para Português  (Lida 3210 vezes)

Offline cairo

  • Usuário Ubuntu
  • *
  • Mensagens: 140
    • Ver perfil
[Resolvido] LibreOffice para Português
« Online: 16 de Fevereiro de 2014, 16:04 »
Pessoal, não estou conseguindo modificar o LibreOffice para português, quando vou mudar a linguagem de interface só tem inglês e a correção em português não funciona.

Cheguei a adicionar o ppa do libreoffice e atualizar para a versão mais recente a 4.2.

Depois fui no site e baixei o pacote de tradução da interface, só que da erro quando executo o comando

sudo dpkg -i *.deb

Código: [Selecionar]
pc@pc-pc:~/Downloads/LibreOffice_4.2.0.4_Linux_x86-64_deb_langpack_pt-BR/DEBS$ ls
libobasis4.2-pt-br_4.2.0.4-4_amd64.deb
libobasis4.2-pt-br-base_4.2.0.4-4_amd64.deb
libobasis4.2-pt-br-calc_4.2.0.4-4_amd64.deb
libobasis4.2-pt-br-math_4.2.0.4-4_amd64.deb
libobasis4.2-pt-br-res_4.2.0.4-4_amd64.deb
libobasis4.2-pt-br-writer_4.2.0.4-4_amd64.deb
libreoffice4.2-dict-pt-br_4.2.0.4-4_amd64.deb
libreoffice4.2-pt-br_4.2.0.4-4_amd64.deb
pc@pc-pc:~/Downloads/LibreOffice_4.2.0.4_Linux_x86-64_deb_langpack_pt-BR/DEBS$ sudo dpkg -i *.deb
[sudo] password for pc:
(Reading database ... 245969 files and directories currently installed.)
Preparing to replace libobasis4.2-pt-br 4.2.0.4-4 (using libobasis4.2-pt-br_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br ...
Preparing to replace libobasis4.2-pt-br-base 4.2.0.4-4 (using libobasis4.2-pt-br-base_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br-base ...
Preparing to replace libobasis4.2-pt-br-calc 4.2.0.4-4 (using libobasis4.2-pt-br-calc_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br-calc ...
Preparing to replace libobasis4.2-pt-br-math 4.2.0.4-4 (using libobasis4.2-pt-br-math_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br-math ...
Preparing to replace libobasis4.2-pt-br-res 4.2.0.4-4 (using libobasis4.2-pt-br-res_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br-res ...
Preparing to replace libobasis4.2-pt-br-writer 4.2.0.4-4 (using libobasis4.2-pt-br-writer_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libobasis4.2-pt-br-writer ...
Preparing to replace libreoffice4.2-dict-pt-br 4.2.0.4-4 (using libreoffice4.2-dict-pt-br_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libreoffice4.2-dict-pt-br ...
Preparing to replace libreoffice4.2-pt-br 4.2.0.4-4 (using libreoffice4.2-pt-br_4.2.0.4-4_amd64.deb) ...
Unpacking replacement libreoffice4.2-pt-br ...
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br:
 libobasis4.2-pt-br depends on libobasis4.2-core01 (>= 4.2.0.4); however:
  Package libobasis4.2-core01 is not installed.
 libobasis4.2-pt-br depends on libobasis4.2-core01 (<= 4.2.0.4-4); however:
  Package libobasis4.2-core01 is not installed.

dpkg: error processing libobasis4.2-pt-br (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br-base:
 libobasis4.2-pt-br-base depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libobasis4.2-pt-br-base depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.

dpkg: error processing libobasis4.2-pt-br-base (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br-calc:
 libobasis4.2-pt-br-calc depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libobasis4.2-pt-br-calc depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.

dpkg: error processing libobasis4.2-pt-br-calc (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br-math:
 libobasis4.2-pt-br-math depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libobasis4.2-pt-br-math depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.

dpkg: error processing libobasis4.2-pt-br-math (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br-res:
 libobasis4.2-pt-br-res depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libobasis4.2-pt-br-res depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.

dpkg: error processing libobasis4.2-pt-br-res (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libobasis4.2-pt-br-writer:
 libobasis4.2-pt-br-writer depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libobasis4.2-pt-br-writer depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.

dpkg: error processing libobasis4.2-pt-br-writer (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice4.2-dict-pt-br:
 libreoffice4.2-dict-pt-br depends on libreoffice4.2-ure (>= 4.2.0.4); however:
  Package libreoffice4.2-ure is not installed.
 libreoffice4.2-dict-pt-br depends on libreoffice4.2-ure (<= 4.2.0.4-4); however:
  Package libreoffice4.2-ure is not installed.
 libreoffice4.2-dict-pt-br depends on libobasis4.2-core01 (>= 4.2.0.4); however:
  Package libobasis4.2-core01 is not installed.
 libreoffice4.2-dict-pt-br depends on libobasis4.2-core01 (<= 4.2.0.4-4); however:
  Package libobasis4.2-core01 is not installed.
 libreoffice4.2-dict-pt-br depends on libobasis4.2-core02 (>= 4.2.0.4); however:
  Package libobasis4.2-core02 is not installed.
 libreoffice4.2-dict-pt-br depends on libobasis4.2-core02 (<= 4.2.0.4-4); however:
  Package libobasis4.2-core02 is not installed.
 libreoffice4.2-dict-pt-br depends on libobasis4.2-core03 (>= 4.2.0.4); however:
  Package libobasis4.2-core03 is not installed.
 libreoffice4.2-dict-pt-br depends on libobasi
dpkg: error processing libreoffice4.2-dict-pt-br (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice4.2-pt-br:
 libreoffice4.2-pt-br depends on libreoffice4.2 (>= 4.2.0.4); however:
  Package libreoffice4.2 is not installed.
 libreoffice4.2-pt-br depends on libreoffice4.2 (<= 4.2.0.4-4); however:
  Package libreoffice4.2 is not installed.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br is not configured yet.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br-base (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br-base is not configured yet.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br-base (<= 4.2.0.4-4); however:
  Package libobasis4.2-pt-br-base is not configured yet.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br-calc (>= 4.2.0.4); however:
  Package libobasis4.2-pt-br-calc is not configured yet.
 libreoffice4.2-pt-br depends on libobasis4.2-pt-br-calc
dpkg: error processing libreoffice4.2-pt-br (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libobasis4.2-pt-br
 libobasis4.2-pt-br-base
 libobasis4.2-pt-br-calc
 libobasis4.2-pt-br-math
 libobasis4.2-pt-br-res
 libobasis4.2-pt-br-writer
 libreoffice4.2-dict-pt-br
 libreoffice4.2-pt-br
« Última modificação: 16 de Fevereiro de 2014, 19:04 por cairo »

Offline jkmsjq

  • Usuário Ubuntu
  • *
  • Mensagens: 3.343
  • Ubuntu Member
    • Ver perfil
Re: LibreOffice para Português
« Resposta #1 Online: 16 de Fevereiro de 2014, 16:35 »
Tenta o seguinte comando:

Código: [Selecionar]
sudo apt-get -f install
LinuxUser: 548942 / Dando um tópico como resolvido
"A verdade só é agressiva a quem vive de mentiras". Autor desconhecido.
Twitter: @jeisonkertesz

Offline kenner

  • Usuário Ubuntu
  • *
  • Mensagens: 195
  • Xubutnu 14.04
    • Ver perfil
Re: LibreOffice para Português
« Resposta #2 Online: 16 de Fevereiro de 2014, 16:38 »
sudo apt-get install libreoffice-l10n-pt-br

Com esse comando você baixa só a tradução.

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: LibreOffice para Português
« Resposta #3 Online: 16 de Fevereiro de 2014, 16:45 »
Estou usando o LibreOffice 4.2.0.1 normalmente em PT-BR aqui!

Código: [Selecionar]
#!/bin/bash

#### Criado por Arthur Bernardes ####

#### Arthur Bernardes - (17)99641-2300 / 3268-1281 ####

#### arthur.bernardes1@gmail.com ####

#### https://www.facebook.com/natalia.bernardes.3382 ####

#### ubuntuforum-br.org/index.php?action=profile;u=109667 ####

#### Início do script ####

arch=`uname -m`
if  [ $arch = i686 ] || [ $arch = i386 ]; then

cd /tmp

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86/LibreOffice_4.2.0_Linux_x86_deb.tar.gz

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86/LibreOffice_4.2.0_Linux_x86_deb_langpack_pt-BR.tar.gz

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86/LibreOffice_4.2.0_Linux_x86_deb_helppack_pt-BR.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86_deb.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86_deb_langpack_pt-BR.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86_deb_helppack_pt-BR.tar.gz

apt-get purge --remove libreoffice* -y

dpkg -i LibreOffice_4.2.0.4_Linux_x86_deb/DEBS/*.deb

dpkg -i LibreOffice_4.2.0.4_Linux_x86_deb_langpack_pt-BR/DEBS/*.deb

dpkg -i LibreOffice_4.2.0.4_Linux_x86_deb_helppack_pt-BR/DEBS/*.deb

rm -r /tmp/LibreOffice*

elif [ $arch = "x86_64" ]; then

cd /tmp

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86_64/LibreOffice_4.2.0_Linux_x86-64_deb.tar.gz

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86_64/LibreOffice_4.2.0_Linux_x86-64_deb_langpack_pt-BR.tar.gz

wget -c http://download.documentfoundation.org/libreoffice/stable/4.2.0/deb/x86_64/LibreOffice_4.2.0_Linux_x86-64_deb_helppack_pt-BR.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86-64_deb.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86-64_deb_langpack_pt-BR.tar.gz

tar -zxf LibreOffice_4.2.0_Linux_x86-64_deb_helppack_pt-BR.tar.gz

apt-get purge --remove libreoffice*

dpkg -i LibreOffice_4.2.0.4_Linux_x86-64_deb/DEBS/*.deb

dpkg -i LibreOffice_4.2.0.4_Linux_x86-64_deb_langpack_pt-BR/DEBS/*.deb

dpkg -i LibreOffice_4.2.0.4_Linux_x86-64_deb_helppack_pt-BR/DEBS/*.deb

rm -r /tmp/LibreOffice*

else
        echo "Arquitetura não suportada"
fi

Offline cairo

  • Usuário Ubuntu
  • *
  • Mensagens: 140
    • Ver perfil
Re: LibreOffice para Português
« Resposta #4 Online: 16 de Fevereiro de 2014, 18:25 »
Código: [Selecionar]
sudo apt-get install libreoffice-l10n-pt-br
[sudo] password for pc:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libobasis4.2-pt-br:i386 : Depends: libobasis4.2-core01:i386 (>= 4.2.0.4) but it is not installable
                           Depends: libobasis4.2-core01:i386 (<= 4.2.0.4-4) but it is not installable
 libreoffice4.2-dict-pt-br:i386 : Depends: libreoffice4.2-ure:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libreoffice4.2-ure:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core01:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core01:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core02:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core02:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core03:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core03:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core04:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core04:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core05:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core05:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core06:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core06:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libobasis4.2-core07:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libobasis4.2-core07:i386 (<= 4.2.0.4-4) but it is not installable
                                  Depends: libreoffice4.2:i386 (>= 4.2.0.4) but it is not installable
                                  Depends: libreoffice4.2:i386 (<= 4.2.0.4-4) but it is not installable
 libreoffice4.2-pt-br:i386 : Depends: libreoffice4.2:i386 (>= 4.2.0.4) but it is not installable
                             Depends: libreoffice4.2:i386 (<= 4.2.0.4-4) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
pc@pc-pc:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libobasis4.2-pt-br:i386 libobasis4.2-pt-br-base:i386
  libobasis4.2-pt-br-calc:i386 libobasis4.2-pt-br-math:i386
  libobasis4.2-pt-br-res:i386 libobasis4.2-pt-br-writer:i386
  libreoffice4.2-dict-pt-br:i386 libreoffice4.2-pt-br:i386
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 15,4 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 245968 files and directories currently installed.)
Removing libreoffice4.2-pt-br ...
Removing libobasis4.2-pt-br-math ...
Removing libobasis4.2-pt-br-base ...
Removing libobasis4.2-pt-br ...
Removing libobasis4.2-pt-br-calc ...
Removing libobasis4.2-pt-br-res ...
Removing libobasis4.2-pt-br-writer ...
Removing libreoffice4.2-dict-pt-br ...
pc@pc-pc:~$

Agora instalou com o:

Código: [Selecionar]
sudo apt-get install libreoffice-l10n-pt-br
Valeu Brothers.

Só mais uma coisa, reparei que ele se auto corrige por exemplo se digito "peçoa" corrige para "pessoa" mas quando digito "coiza" nada acontece nem mesmo  o sublinhado vermelho. o mesmo acontece quando escrevo "cachorrro". É assim mesmo?

A correção do texto me ajuda muito na correção de texto acadêmico, é importante estar certo tbm né.
« Última modificação: 16 de Fevereiro de 2014, 18:36 por cairo »

Offline kenner

  • Usuário Ubuntu
  • *
  • Mensagens: 195
  • Xubutnu 14.04
    • Ver perfil
Re: LibreOffice para Português
« Resposta #5 Online: 16 de Fevereiro de 2014, 18:59 »
Você me fez perceber que eu estava sem corretor ortográfico!

sudo apt-get install myspell-pt-br

Pronto, até o "cahorrro" vai ser corrigido agora.

Offline cairo

  • Usuário Ubuntu
  • *
  • Mensagens: 140
    • Ver perfil
Re: LibreOffice para Português
« Resposta #6 Online: 16 de Fevereiro de 2014, 19:04 »
Você me fez perceber que eu estava sem corretor ortográfico!

sudo apt-get install myspell-pt-br

Pronto, até o "cahorrro" vai ser corrigido agora.

Funcionou, valeu.