Trouble with system check and opening GUI

Hello,
I installed AFNI with Ubuntu 20.04 and I am having some issue with the system check.

seolab@MWR90QZWEG:~$ ^V^C                                                                                               
seolab@MWR90QZWEG:~$ afni_system_check.py -check_all                                                                    
afni_system_check.py: command not found                                                                                 
seolab@MWR90QZWEG:~$ afni                                                                                                                                                                                                                       
Command 'afni' not found, did you mean:                                                                                                                                                                                                           
command 'pfni' from deb adacontrol (1.21r6b-2)                                                                                                                                                                                                
Try: sudo apt install <deb name>                                                                                                                                                                                                                
seolab@MWR90QZWEG:~$ afni                                                                                                                                                                                                                       
Command 'afni' not found, did you mean:                                                                                                                                                                                                           
command 'pfni' from deb adacontrol (1.21r6b-2)                                                                                                                                                                                                
Try: sudo apt install <deb name>                                                                                                                                                                                                                
seolab@MWR90QZWEG:~$ lsb_release -a                                                                                     No LSB 
modules are available.                                                                                           Distributor ID: Ubuntu                                                                                                  
Description:    Ubuntu 20.04 LTS                                                                                        Release:        
20.04                                                                                                   Codename:       focal                                                                                                   
seolab@MWR90QZWEG:~$
seolab@MWR90QZWEG:~$ afni                                                                                                                                                                                                                       
Command 'afni' not found, did you mean:                                                                                                                                                                                                           
command 'pfni' from deb adacontrol (1.21r6b-2)                                                                                                                                                                                                
Try: sudo apt install <deb name>                                                                                                                                                                                                                
seolab@MWR90QZWEG:~$ suma                                                                                                                                                                                                                       
Command 'suma' not found, did you mean:                                                                                                                                                                                                           
command 'sum' from deb coreutils (8.30-3ubuntu2)                                                                        
command 'puma' from deb puma (3.12.4-1ubuntu2)                                                                          
command 'duma' from deb duma (2.5.15-2build1)                                                                           
command 'sma' from deb sma (1.4-3build1)                                                                                command 
'sumo' from deb sumo (1.4.0+dfsg1-1)                                                                                                                                                                                                  
Try: sudo apt install <deb name>

The path probably just needs to be updated. You can restart, relogin, start a new terminal or source the shell's rc file to do that.

There is a reasonable chance that they are under ~/abin and as Daniel says, not in your PATH.

Try running:

~/abin/afni_system_check.py -check_all

And please feel free to post the output.

  • rick

Thank you very much! This has solved my problem!

Hi Rick, I am having some more trouble opening the GUI again. Do you know what could be the problem?

seolab@MWR90QZWEG:~$ afni
Precompiled binary linux_ubuntu_16_64: May 30 2023 (Version AFNI_23.1.07 'Publius Helvius Pertinax')

** Version check disabled: AFNI_VERSION_CHECK forbids
Thanks go to B Pittman for great efforts

Initializing: X11Error: Can't open display: :0.0
++ AFNI is detached from terminal.
seolab@MWR90QZWEG:~$ suma

suma:
No input specified, loading some toy surfaces...
Use '.' and ',' to cycle between them.
See suma -help for assistance.

Error: Can't open display: :0.0
seolab@MWR90QZWEG:~$

It looks like you have (probably) done 'ssh' to a system but without -X or -Y (depending on where you are going from). So there is no X11 forwarding. Or is this using a Windows subsystem?

To be sure, what OS are you starting from, and how are you getting to the Ubuntu system?

  • rick