Lab utility for determining the maintenance of chlorophylls A and B in plant material
Run it with specified keys
chloro -d | -df [data...]
Using -df key you may write data to *.csv file for the next importing to LibreOffice Calc, MS Excell or Google Tables
.sh file example to run in terminal
#!/bin/bash
echo "measurement 1"
chloro -d 1 25 3 1 1.256 0.8
echo ""
echo "measurement 2"
chloro -d 1.5 25 3 1 1.1 0.7
echo ""
exec $SHELL
or for writing .csv use
#!/bin/bash
chloro -df 1 25 3 1 1.256 0.8
chloro -df 1.5 25 3 1 1.1 0.7
chloro -df 1.3 25 3 1 0.9 0.6
chloro -df 2 25 3 1 0.965 0.65
chloro -df 1.5 25 3 1 1.025 0.6
chloro -df 1.5 25 3 1 0.984 0.625
exec $SHELL
You need
CMake
to be installed on your Linux system previously
To compile and run the utility
- Clone the Repository
git clone https://github.com/Evgenk2020/chlorophyll-linux
cd chlorophyll-linux
- Check for
rpm-buildpackage to be installed in your system
rpm -q rpm-build
If so you will see rpm-build-6.0.0-1.fc43.x86_64 or something like that.
If not it will be package rpm-build is not installed. Then install it from system repository
sudo dnf install rpm-build
- Build the Project with
.rpmsetup package for Fedora/CentOS Stream by default
./build.sh
- Install
.rpmpackage from build folder
sudo dnf install *.rpm
If using either than Fedora/CentOS Stream change the string set(assemble_tgz OFF) in CMakeLists.txt to set(assemble_tgz ON) before building the Project. Move .tar.gz file to any folder and unpack it.
Then run chloro -d | -df [data...] in terminal from unpacked folder.
For more convenience you may add path to the application into .bashrc file
export PATH=$PATH:/%path_to_application_folder%/
In this case it will be possible to run chloro -d | -df [data...] in terminal directly.
