When we install a package with package management, this program is able to track files which belongs to application.
But when we compile and install a application from source code, package management can not see this application.
How can we track all files installed from source code?
There is no way to "track" all applications you install from source code.
When you install from source, some scripts copy some files somewhere.
That is the main reason why package management has been implemented.
You can track yourself what you install by e.g. keeping all sources in one place.
Consider using
checkinstall
. From https://help.ubuntu.com/community/CheckInstall:You can install it using: