English 中文(简体)
从乌兰巴托来源档案中查扣雇佣军
原标题:Installing Mercurial from Source Files on Ubuntu

我是新来的乌班图和梅拉那利,因此,我想看到,任何人都曾经历过从源头上安装雇佣军的情况,因为没有任何乌班特有的销售。

我从源头上安装雇佣军的最佳方式是什么? 任何想法?

Thanks, Alex

最佳回答

是的。 它称作mercurial 。 你可以做到:

sudo apt-get install mercurial

或使用图表 包装管理人

If you need a later version, you can use the PPA. You certainly can build it from source if you want. The easiest way is to use apt-get source, then build the package. If you want to build it from upstream source, that s possible too.

问题回答

You can install Mercurial from source using pip (apt-get install pip if you don t already have it):

pip install mercurial

通常将安装在<代码>/usr/ local/bin/hg上,而不是在<代码>/usr/bin/hg上。

如果你想安装一个具体版本,请总是在来源发布,例如。 https://www.mercurial-scm.org/release/mercurial-1.8.1.tar.gz

最后,如果你真的希望从源头安装,就下载其中一种源头tar球,并驾车。

cd mercurial-1.8.1
python setup.py install

On Hugo/Debian:sudo aptget mercurial





相关问题
Add a changing icon to Ubuntu Panel

What would be the most simple way of adding and changing an icon in the Ubuntu (Gnome) Panel? I m looking for something as simple as shell scripting, but I m not restricted to that. Will write a ...

Configuring kernel

After create a new system call, how to update the kernel? I tried these lines, make-kpkg clean fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers But Ubuntu asked me ...

save Exceptions to file in python

I want to save all following Exceptions in a file. The reason why I need this is because the IDLE for python 3.1.1 in Ubuntu raises an Exception at calltipps, but close to fast, that it isn t readble. ...

How can i monitor system statistics in kubuntu using Java?

i am doing a project related to configuration and memory analyzer for kubuntu. i want to display the system statistics information like CPU usage, RAM usage and proceses etc. graphically using an ...

How to pass "--external-locking" for mysqld in Ubuntu

I would like to start my mysql server with the --external-locking option. As mysqld is run by the /etc/init.d/mysql script ubuntu (karmic), I guess that s where I should set this "--external-locking" ...

"g++" and "c++" compiler

I just found on my Ubuntu, there are two different C++ compilers: /usr/bin/g++ and /usr/bin/c++. I am not familiar with the latter, but man c++ just jumps to the manpage of gcc. I wonder what is their ...

热门标签