Have fix it.Thanks!
发件人: [email protected] [mailto:[email protected]] 代表 Donna Dierker 发送时间: Sunday, June 23, 2013 3:57 AM 收件人: Caret, SureFit, and SuMS software users 主题: Re: [caret-users] caret command not found The .bash_profile and/or .bashrc files are appropriate for bash users, but for tcsh, modify like so: 1. If you didn't install caret in /usr/local, then replace /usr/local below with the parent dir where you unzipped caret. 2. Use a text editor, vi, or other editor to append this line to your ~/.cshrc file: set PATH = ($PATH /usr/local/caret/bin_linux64) Note: Replace bin_linux64 in the above line with whatever your actual distribution's subdirectory is. This depends on which linux version you downloaded, but this is a popular one. 3. Save your ~/.cshrc file and open a new terminal window, which hopefully will source the ~/.cshrc file you just edited. 4. In that new terminal window, enter "which caret_command". You should see /usr/local/caret/bin_linux64/caret_command if you appended the line correctly. Note that existing terminal windows still won't find caret_command, unless you enter "source ~/.cshrc" at the command line. This happens automatically when you open a new window, but not in windows that are already open. Logging out and logging back in works, too, but if you somehow make an error in your ~/.cshrc edits, it might cause a hang upon login, so I like just opening a new terminal window for testing purposes. If I messed it up, I can use vi or gedit to fix the ~/.cshrc and try again. On Jun 21, 2013, at 1:17 PM, Colin Reveley wrote: first: http://brainvis.wustl.edu/CaretHelpAccount/caret5_help/installation/caret5_i nstallation.html if you installed caret using a package manager, first check in your package manager that caret_command is installed. It might be a separate package to caret. Also make sure it's version 5.64 or higher. if it's not installed then install it. that might fix it straight away. in general you need to find it and tell your system where to find it. type locate caret_command in your home dir is a file .bash_profile and/or .bashrc at the end of that file put export PATH=$PATH:/<the directory where caret_command is> open a new shell. try it again. this assumes bash is your command shell not c shell or something. It's a good idea to download caret from the website rather than using packages anyway. put it in a directory like /home/<you>/programs/ unzip it. then add /home/you/programs/caret/bin to your path as above and if there is a package version installed, uninstall it or they might get mixed up. http://brainvis.wustl.edu/CaretHelpAccount/caret5_help/installation/caret5_i nstallation.html On 21 June 2013 18:00, <[email protected]> wrote: Send caret-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://brainvis.wustl.edu/mailman/listinfo/caret-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of caret-users digest..." Today's Topics: 1. caret_command freesurfer_to_fs_LR.sh command not found (wangzhiwei3233) ---------- Forwarded message ---------- From: wangzhiwei3233 <[email protected]> To: <[email protected]> Cc: Date: Fri, 21 Jun 2013 23:17:24 +0800 Subject: [caret-users] caret_command freesurfer_to_fs_LR.sh command not found Hellow caret experts, when I run freesurfer_to_fs_LR.sh, there are many "caret_command: command not found". my operation system: Linux rhel6.2 I could open caret5 in terminal, but when I run caret_command, the result was "command not found". what is the problem? Thanks! -- James Wang _______________________________________________ caret-users mailing list [email protected] http://brainvis.wustl.edu/mailman/listinfo/caret-users _______________________________________________ caret-users mailing list [email protected] http://brainvis.wustl.edu/mailman/listinfo/caret-users
_______________________________________________ caret-users mailing list [email protected] http://brainvis.wustl.edu/mailman/listinfo/caret-users
