Where did Mercurial install to?

7,786

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
Share:
7,786

Related videos on Youtube

Pete
Author by

Pete

Updated on September 17, 2022

Comments

  • Pete
    Pete almost 2 years

    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.)

  • Pete
    Pete over 13 years
    Awesome on both counts... thanks. /usr/bin/hg
  • divegeek
    divegeek over 13 years
    Just for completeness, the inverse operation is also extremely useful -- I have a program or file, I know where it is, what package installed it? "dpkg -S <path/to/file>" will tell you.