The libitpp-dev
package is available in Ubuntu:
https://launchpad.net/ubuntu/+source/libitpp
Read carefully the post that Ben suggested as duplicate in his comment -- What's the opposite of 'make install', ie. how do you uninstall a library in Linux? which suggests a reversal akin to the
# make uninstall
that was suggested by shengy in his comment, to be run in the directory from which you installed originally (re: bikram990)
Be sure to read carefully the comments to avoid common 'gotchas', including accidentally removing dependencies related to other packages.
As is stated in the answers of that post, the second option is figuring out the build steps and manually reversing them, using the
$ make -n uninstall
command to figure out what those were. If it turns out you do have to do some pruning manually, again, be wary of what you remove in case you accidentally break other packages in the process.
It is recommended to install the package via your package manager to avoid complications and possible problems such as this, especially if you're not 100% sure of what you're doing with cmake, or at least a little wary about how to proceed in the case of an uninstall.
The package can then be installed with:
$ sudo apt-get install libitpp-dev
And this very reason is a very good one to stick with official repositories/packages, as a reversal can be done with:
$ sudo apt-get uninstall libitpp-dev
And your package manager will handle the mundane details, such as dependency checking, updates, and will generally assure that you will not break any other packages when installing or uninstalling.
Additionally, your official package may contain some Ubuntu-specific patches.
It's understandable to install packages manually in the case that a particular package is not available through the official channels, but then you're privy to the whims of the particular package authors, who may not have tested functionality thoroughly on your particular system.
Good Luck.