Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I compiled an upgraded source for a lesser package already installed. How do I use dpkg or another to install and let the system upgrade system know about it

In system:

hdf5-tools    1.8.8-9



Do I just make install as root or use a system package like dpkg?

share|improve this question

You can use make install as root.

sudo make install

Or if you prefer to make a .deb, use checkinstall

sudo apt-get install checkinstall
sudo checkinstall

This converts the source code into a .deb and installs it. It can later be removed with any package management (apt-get, dpkg, synaptic, package manager, etc).


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.