1. download the grive source code repository
2. install dependency packages
apt-get install git cmake build-essentia
2. install dependency packages
apt-get install git cmake build-essentia
libgcrypt11
-dev libyajl-dev libboost-all-dev
libcurl4-openssl-dev libexpat1-dev libcppunit-dev binutils-dev
3. extract downloaded grive source code folder
unzip {grive}.zip
4. cd grive-master
5. create debian package
dpkg-buildpackage -j2
( here, j2 is no of cpu, you can check it by lscpu)
6. mkdir build
cd build
cmake ..
if error of yajl during cmake then, install yajl-tools & apt-get install yajl* package
make -j2
sudo make install