Ubuntu – Where did Mercurial install to

aptinstallationmercurial

I used sudo apt-get install mercurial to install Hg.. where did it put the executable? I need to specify the location in Netbeans.

Is there a general way to find where apt-get installs things? (Before the install would be nice, too.)

Best Answer

To list files installed by a package execute:

dpkg -L package

Also if the binary is at the search PATH you should be able to locate it with:

which binary_name