Diferenças entre edições de "Instalação do Octave"
De GNU Octave
(→Instalação em Ubuntu) |
(→Instalação em Mac OS X) |
||
Linha 71: | Linha 71: | ||
Instruções para breve! | Instruções para breve! | ||
− | |||
<!-- | <!-- | ||
+ | === Instalação do Matlab em Ubuntu === | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | mkdir R2013a_UNIX-MAC | ||
+ | sudo mount -o loop ~/Transferências/R2013a_UNIX-MAC.iso R2013a_UNIX-MAC | ||
+ | cp -r R2013a_UNIX-MAC R2013a_UNIX | ||
+ | cd R2013a_UNIX | ||
+ | sudo ln -s sys/java/jre/glnxa64 sys/java/jre/glnx86 | ||
+ | sudo ln -s bin/glnxa64 bin/glnx86 | ||
+ | |||
+ | |||
+ | sudo ./install -javadir $JAVA_HOME -glnx86 | ||
+ | sudo ./install -javadir /usr/lib/jvm/java-7-openjdk-i386/jre -glnx86 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
''Eventualmente pode precisar de instalar o suporte "Visual C++ Runtime Libraries". Se o programa não correr, siga as instruções a partir de [http://www.microsoft.com/en-us/download/details.aspx?id=8328 Downloads da Microsoft].'' | ''Eventualmente pode precisar de instalar o suporte "Visual C++ Runtime Libraries". Se o programa não correr, siga as instruções a partir de [http://www.microsoft.com/en-us/download/details.aspx?id=8328 Downloads da Microsoft].'' | ||
Revisão das 11h40min de 5 de fevereiro de 2014
Índice
Instalação em Windows 7 e Windows 8
Para Windows, recomenda-se a utilização da versão personalizada criada pela Universidad Politécnica de Madrid (UPM).
Para descarregar esta versão, siga as instruções em Octave UPM.
No Windows evitem usar o navegador Internet Explorer por questões de segurança. Recomenda-se que usem o navegador Chrome ou o navegador Firefox.
Instalação em Ubuntu
Pode-se usar também o Octave-UPM em Ubuntu.
sudo add-apt-repository ppa:herraiz/octave-upm sudo apt-get update sudo apt-get install octave-upm liboctave-dev
Instalação em Ubuntu (com a língua em Português)
O Octave-UPM pode ser compilado de forma a suportar mais uma língua, o Português. Se se sente confortável em Linux, siga as instruções seguintes.
Instalar dependências
sudo apt-get install qt4-qmake libqt4-dev libqtwebkit-dev sudo add-apt-repository ppa:herraiz/octave-upm sudo apt-get update sudo apt-get install liboctave-dev
Compilação
svn checkout https://forja.rediris.es/svn/octaveupm — Checked out revision 392. cd octaveupm/trunk/gui/src/ wget https://dl.dropboxusercontent.com/u/21812342/pt-20131008.patch patch -p1 -i pt-20131008.patch — patching file octave-gui.cc — patching file settings-dialog.ui — patching file src.pro wget https://dl.dropboxusercontent.com/u/21812342/pt-pt.ts -O languages/pt-pt.ts lrelease src.pro sudo mkdir -p /usr/share/octave-upm/languages/ sudo cp languages/pt-pt.qm /usr/share/octave-upm/languages/ cd .. qmake-qt4 make sudo make install
Executar
src/bin/octave-upm
Em Edit -> Settings -> Language
Escolher Português
Sair e voltar a executar
Instalação em Mac OS X
Instruções para breve!