I am kind of new to both, Mercurial and Ubuntu.
I seem to have awkwardly installed a few other software packages already, so I wanted to see how others would go about do
Mercurial is available from the Universe repositories. Enable that repository in USC if it's not already enabled. Then just type the following into a terminal.
sudo apt-get install mercurial
The configuration file is saved in /etc/mercurial/hgrc You can configure mercurial by editing that file. To open that file in gedit type the following command
sudo gksudo gedit /etc/mercurial/hgrc