Hei everyone
- What probably causes this error : openmrs: command not found
- How do I check to see whether openmrs is installed ?
Hei everyone
Dear @josephkagimu1 which command are you trying to run.
There are two ways of installing openmrs
@josephkagimu1 there are several causes of the error command not found
:
Package Not Installed on your system or has been corrupted. To verify if the package is installed in your system, run the following command in Terminal: pkg –s package-name
In case the package is missing from the system, then you will have to install.
Path Is Not Correct: When a user enters a command, the system searches for it in all locations it knows and when it does not find the command in the searched locations, it returns the error. you can find the path of the command where it is installed by using “which” or “whereis” command i.e whereis apt-openmrs
.
thanks @abertnamanya for your guidance
@jwnasambu I love your maximum effort , as you directed me , I ran pkg -s openmrs
to check its installation status ! . it failed => Unknown command "pkg"
any other alternative if possible ?
@josephkagimu1 kindly feel free to look at this link shell script - Mac OS X how to verify particular packages are installed - Unix & Linux Stack Exchange.