Autor Tópico: Como instalar o programa Fullprof no Linux!!!  (Lida 4181 vezes)

Offline GuiSawyer

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Como instalar o programa Fullprof no Linux!!!
« Online: 29 de Dezembro de 2012, 13:53 »
http://www.ill.eu/sites/fullprof/php/downloads.html
neste site tem o download e umas instruções de como instala..
mas o problema está q mesmo assim, n consigo rodar o programa..
sou novato no Linux e isso pode ter sido um dos fatores por n conseguir instalar...
alguem aqui usa este programa no linux poderia me ajudar a instalar?!
Valeu!!
Até

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Como instalar o programa Fullprof no Linux!!!
« Resposta #1 Online: 29 de Dezembro de 2012, 16:35 »
Ola

Como poucos aqui uilizam difração de Raios-X e poucos podem ter um synchrotron em casa, seria interessante que postasse qual sua dificuldade ou em que ponto recebe uma mensagem de erro.

Aí em seu laboratorio já tem tudo conectado no computador?

[]'s

Offline GuiSawyer

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re: Como instalar o programa Fullprof no Linux!!!
« Resposta #2 Online: 29 de Dezembro de 2012, 20:24 »
Exato... eh um programa de refinamento de dados q a gente retira dos Raio X ou do sincontron... mas o PC n precisa está conectado a estes aparelhos...

Meu problema está q n consigo instalar...
eu tento fazer o q o site diz..
mas quando chega na parte Activation of the environment variable of the FullProf_Suite..
eu n sei o q fazer...

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Como instalar o programa Fullprof no Linux!!!
« Resposta #3 Online: 29 de Dezembro de 2012, 22:41 »
Ola

Variaveis de ambiente significa ( grosseiramente ) que é preciso indicar ao sistema onde está o seu programa.

Dê uma lida aqui => http://www.vivaolinux.com.br/artigo/O-que-e-PATH-como-funciona-e-como-trabalhar-com-ele

Você precisa inserir sua variavel de ambiente no path, ou seja, indicar ao shell ( um conector entre o kernel e o resto do sistema ( mal explicado aqui, mas é mais facil de entender) para dizer a este sistema onde encontrar o programa e seus componentes.

Para um programa funcionar (windows, linux, etc) normalmente são necessárias biblotecas auxiliares ( no windows as famosas dll - dinamic link library). No GNU/Linux como não existem extensões de arquivos, as bibliotecas podem ficar em pastas distintas do sistema e sem declarar uma variavel de ambiente torna dificil ao programa encontrar estas bibliotecas.

Qualquer duvida, poste aqui para o forum ajudar

[]'s

Offline GuiSawyer

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re: Como instalar o programa Fullprof no Linux!!!
« Resposta #4 Online: 30 de Dezembro de 2012, 14:12 »
Um cara de outro forum, me falou isto:
"According to their instructions, first login to your Mint machine.

Open your File Manager to your Home folder. Right click in the contents area and select Make New Folder, naming the new folder FullProf_Suite. Open the new folder in this File Manager window. Open a new window for File Manager and go to where the FullProf_Suite_Nov2012_Lin.tgz file is, probably your ~/Downloads folder. Select, drag and drop the file into the newly created folder.

Right-click on the .tgz file, select open with Archive Manager. In the new window which opens up, select Extract Files. This will create a new set of folders and files in the /home/Guisawyer/FullProf_Suite/ folder. Replace Guisawyer with your actual login name, of course, both here and in the following lines.

Open or create the file .bashrc with Gedit/mousepad or whatever your favorite programming editor is. In the editor add these lines:

Code: Select all
    #!/bin/bash
    FULLPROF=/home/Guisawyer/FullProf_Suite
    PATH=FULLPROF:$PATH
    export FULLPROF

Save the new script as .bashrc. Open a terminal and enter the command sudo chmod +x ~/.bashrc. Close the terminal after entering the command and getting back to the $ prompt. Log out of Mint and log back in. When you are back in Mint, open a terminal again. In the terminal enter the following command to see if everything is executing properly:

Code: Select all
    echo $FULLPROF

After pressing the Enter key, it should echo to the screen the /home/Guisawyer/FullProf_Suite which was written on the second line of the .bashrc script which you wrote.

If it did not work to give the response expected, use your file manager to change the name of .bashrc (which is a hidden file, you will have to enable display of hidden files in your file manager) to .bash_profile and retest by logging out and logging back in, opening a terminal, entering the echo command, etc.

Hopefully everything works now.

According to the website, if you have to update FullProf, you simple repeat the download of the .tgz file, and repeat the procedure to extract the file in your ~/FullProf_Suite folder.

Also according to the website, you have to access the programs 'in console mode (inside a terminal) or use the toolbar (command tfp) to access the different programs.' Which programs can be accessed from wherever your data will be.

Again, according to the website, Depending of your installation you may need to install the libraries of OpenMotif version 2.3. Do that only in case one of the GUIs doesn't work and you see a message of the form: "libXm.so.3" not available or something similar."

consegui fazer tudo q ele falou... até o echo $FULLPROF,  e apareceu /home/Guisawyer/FullProf_Suite como ele havia dito..
Mas depois dai q eu n entendi mais o q fazer para rodar o programa!!
Vc sabe o q devo fazer?!
Tipo... estou muito viciado no modo Windows... logo eu pensava q já deveria abrir uma janela com o programa!! MAs nada ocorreu!!

Offline GuiSawyer

  • Usuário Ubuntu
  • *
  • Mensagens: 5
    • Ver perfil
Re: Como instalar o programa Fullprof no Linux!!!
« Resposta #5 Online: 04 de Janeiro de 2014, 15:13 »
Consegui...
Depois de fazer o que o próprio site do Fullprof diz,
temos q instalar o pacote upx
feito ...
executar:
sudo  upx -d fp2k  (no diretório onde estiver o fp2k)

fazer também com o winplotr-2006
e no meu caso para o winplotr eu precisei ainda instalar os pacotes:

sudo yum install ld-linux.so.2 libGL.so.1 libGLU.so.1 libXt.so.6 libXmu.so.6 libXp.so.6 libXft.so.2 libpng12.so.0 libjpeg.so.62
Não sei se existe uma forma de baixar todos esses pacotes em um unico pacote.. mas ta ai.. eu usei yum ao invés do apt-get pq estou usando o Fedora... e não o ubuntu...