[Mrtrix-discussion] commands not found
Donald Tournier
d.tournier at brain.org.au
Tue Jul 31 16:48:10 PDT 2012
Hi Rakesh,
Looks like the executables are not in your path. Unless you've explicitly
set the PATH environment variable, neither of the folders you used would be
in the path by default. What does "echo $PATH" report? Are either of these
folders in the list? If not, that's the problem. I assume you didn't use
the "./build install" feature? If you did, then there's a different problem
and I'd need more information to figure it out, ideally a copy/paste of
your terminal session showing all the commands you typed and their output.
For Linux installs (and probably MacOSX too), I'd strongly recommend you
use the new "./build install" feature, as per the
documentation<http://www.brain.org.au/software/mrtrix/install/unix.html#install>.
By default, it will install all the executables and dynamic library into
/opt/mrtrix, and create symbolic links pointing to them in /usr/bin/ (and
/usr/lib/ for the shared library). This really should work on any
reasonably configured Unix systems. Basically, once you've successfully
built the executables (i.e. after "./build" completes without errors), then
simply type:
$ sudo ./build install
By the way, /bin really should be for system-related/superuser executables,
you shouldn't be installing user applications in there. If you really need
to, you should be using /usr/bin for user applications - /bin won't
normally be in the path for normal user accounts anyway.
Hope that fixes it.
Cheers,
Donald.
On 1 August 2012 01:12, rakesh rakesh <rakesh560008 at gmail.com> wrote:
> Dear experts,
> I work in the Linux platform, (new to linux). ubuntu 12.04 LTS i have
> followed the exact instructions as directed in the manual i do see the
> /media/1/2/mrtrix-0.2.10/bin and /media/1/2/mrtrix-0.2.10/lib (
> http://www.brain.org.au/software/mrtrix/install/unix.html).
> but i get the following message
> mv at mv-HP-Z210-Workstation:/media/1/2/mrtrix-0.2.10/bin$ sudo mrinfo
> sudo: mrinfo: command not found,
> i manually pasted the contents of the /media/1/2/mrtrix-0.2.10/bin in to
> the File system - /bin but still i get the same error message
> mv at mv-HP-Z210-Workstation:/media/1/2/mrtrix-0.2.10/bin$ sudo mrinfo
> sudo: mrinfo: command not found
>
> can anyone please help
>
> thanking you in advance
>
> B
>
> _______________________________________________
> Mrtrix-discussion mailing list
> Mrtrix-discussion at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/mrtrix-discussion
>
>
--
Jacques-Donald Tournier (PhD)
Brain Research Institute, Melbourne, Australia
Tel: +61 (0)3 9035 7033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/mrtrix-discussion/attachments/20120801/84fe4a66/attachment.html
More information about the Mrtrix-discussion
mailing list