You are here: Home / Installing Gnu Health

Installing Gnu Health

Information on setting up GnuHealth on Cent OS 7 and/or OpenBSD 6.

 

CentOS 7

Go to http://health.gnu.org/download/projects

And download Hospital Management System (or other applicable section): http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz

Extract into desired directory for setup.

cd into the extracted dir.

then run setup:

./gnuhealth-setup

 

 

If python version problem (need python36+) or dependencies need to be added:

 

May need to create virtualenv of newer python, you do not want to clobber the existint python2 system install.

 

see this: https://www.amitnepal.com/installing-newer-or-multiple-version-of-python-on-centos/

 

example:

wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz

tar -zxvf Python-3.6.8.tgz

 cd Python-3.6.8/

./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"

./configure --enable-optimizations

make && make altinstall

 

 

 

 yum update

yum install python-tools  (to add 2to3 command to centos)

 

 

 

 

 

OpenBSD 6.4

 

 

 

 

 

 

 

References

https://en.wikibooks.org/wiki/GNU_Health

http://health.gnu.org/download/projects

https://stackoverflow.com/questions/31228927/how-to-use-install-python-2to3#31235025

 

 

 

 

Filed under: ,
Navigation