Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install mercurial on ubuntu without X

I want to install Mercurial on my Ubuntu server system, but I don't want X (this is a pure console system, no GUI at all). If I use apt-get install mercurial all the X libraries are pulled in. I know I can ignore them but I want to keep my system minimal - is there a way of installing hg without any GUI tools?

like image 511
Paul Moore Avatar asked Apr 26 '14 19:04

Paul Moore


1 Answers

X is pulled in due to Wish (Tcl/Tk shell).

We can use: $ sudo apt-get --no-install-recommends install mercurial

Source: https://askubuntu.com/questions/458614/why-does-package-mercurial-depend-on-x11-common-in-a-chrooted-environment

like image 128
SACHIN GARG Avatar answered Sep 20 '22 17:09

SACHIN GARG