HeadOverHeals
BASIC
Yes, I know my username is spelt differently to the game ;-)
Posts: 4
|
Post by HeadOverHeals on Mar 18, 2019 7:21:49 GMT
Greetings,
I am new to Linux and I am trying to install MC in my mini but something is not right.
The file downloaded is this from this forum.
I extract the files with this command
/usr $zcat /mnt/mcommander.cpio.gz | cpio -idv
the following directories were created in /usr/usr - bin, lib, libexec and share. All full of files.
For the life of me, I cannot load MC. I type "mc" and get mc: not found.
What am I doing wrong?
Cheers,
Ben
|
|
|
Post by gurce on Mar 18, 2019 13:28:43 GMT
Hmm, I'm wondering if instead of extracting it inside "/usr/", do you need to extract it from the root folder ("cd /")?
Hoping this will then place your mc binary into the path "/usr/bin/mc" so that it will then be within your PATH (try "echo $PATH" to see what paths are searched to locate executables. Usually it contains paths such as "/usr/bin" and "/usr/local/bin")
|
|
|
Post by jj0 on Mar 18, 2019 16:46:00 GMT
Hmm, I'm wondering if instead of extracting it inside "/usr/", do you need to extract it from the root folder ("cd /")? Hoping this will then place your mc binary into the path "/usr/bin/mc" so that it will then be within your PATH (try "echo $PATH" to see what paths are searched to locate executables. Usually it contains paths such as "/usr/bin" and "/usr/local/bin") Yes, you need to extract from /.
|
|
HeadOverHeals
BASIC
Yes, I know my username is spelt differently to the game ;-)
Posts: 4
|
Post by HeadOverHeals on Mar 20, 2019 10:20:04 GMT
gurce, jj0, you're brilliant, thank you. That was exactly what the problem was.
|
|