Ubuntu – Make dpkg to know compiled programs : git


I installed git by compiling from source. When I tried to install atom text editor, dpkg says that I have no git installed. How to make dpkg's database to record that git is inatslled?


Best Answer

  • Use checkinstall – Track installation of local software, and produce a binary manageable with your package management software.

    sudo apt-get install checkinstall

    Go into your git source folder and start the installation again via

    sudo checkinstall