I installed a software from its source in the previous version, which was saved in
/usr/local folder. Now I want to update to the latest version with provided DEB package. After installing it, the launch from terminal points the software to the old location
/usr/local, rather than to the new version.
During the installation, a message appeared that "An old version is available in your normal software channels. Only install this file if you trust the origin." And there is no old version let me delete in the software center.
How can I delete the old version and update to the new version under such circumstances?