I have Mercurial 1.4 in my CentOS6, but I need to use the Eclipse Plug-in that uses at least Mercurial 1.5. How can I update my Mercurial version in CentOS6?
Setting up Install Process
Package mercurial-1.4-3.el6.x86_64 already installed and latest version
Nothing to do
When I try do download a new RPM(mercurial-1.9-1.el6.rfx.x86_64.rpm) and install it, I got this error:
emacs-mercurial-1.4-3.el6.x86_64 requires hg = 1.4-3.el6
What should I do?
Any clues?
Best Regards,
For the same purpose I successfully upgraded my hg in CentOS to 2.1.2 by downloading the correct rpm from here:
http://pkgs.repoforge.org/mercurial/
and installing it with yum...
regards
You can install from source, just follow the instructions here.
Just run into this while trying to get hg-git working on my CentOS 6 environment.
In 2015 there are RPMs and/or yum repos from the official download page.
FWIW - for hg-git I had to pip-install still (package in epel is pretty old and didn't work).
Related
I am new to Couchbase database can anyone please guide me to how to install this software and refer some documents, so that I can understand the basics of this Database.
I just posted a tutorial on how to install Couchbase Server on Windows:
http://blog.couchbase.com/2016/may/couchbase-with-windows-and-.net---part-1
But for the record, installing it is pretty easy: just download the binary and follow instructions: http://www.couchbase.com/nosql-databases/downloads
Couchbase.com has a lot of material on how to use and understand Couchbase Server. Maybe you can start on the Getting Started page: http://www.couchbase.com/get-started-developing-nosql
Here's a newer possibility, if you are on Windows. You can use Chocolatey NuGet (which is like apt-get for Windows)
choco install couchbase-server-community installs 4.0.0 (as of today)
choco install couchbase-server-community -pre install 4.5.0 beta (as of today)
Check out Chocolatey NuGet for the most up to date information on which versions you can install.
Fedora 23 provides the odb-2.4.0 package.
This git repo
git://pkgs.fedoraproject.org/odb.git
is probably where a fedora-modified copy of the sources exist.
The upstream git repo exists here
git://scm.codesynthesis.com/odb/odb.git
I need the newer upstream version which doesn't crash for some code i have, while odb 2.4 does.
How can I go about building and installing the newer version, and potentially, after more commits in upstream, rebuild and reinstall the newer version?
Do I make a source rpm and install on my machine, and another with an identical fedora?
I am reading
https://fedoraproject.org/wiki/How_to_create_an_RPM_package
but I do not need to deploy this package to fedora, i just would use the RPM mechanism to facilitate installing unreleased versions?
Can I use COPR for that, add my own repo, and install from it instead?
In COPR, can I reuse the SPEC file from the odb2.4.0 rpm and update it to the newer odb?
I am trying to install mercurial 2.2 on CentOs 6.3, however I feel that repository of centos is a bit outdated because of which it yum installation always shows that your mercurial is up to date.
Now searched some forum and found some other repository to update mercurial client by using following command and repository:
**
rpm -Uvh
http://pkgs.repoforge.org/mercurial/mercurial-2.2.2-1.el6.rfx.i686.rpm
**
However it results in following error:
hg = 1.4-3.el6 is needed by (installed) emacs-mercurial-1.4-3.el6.i686
hg = 1.4-3.el6 is needed by (installed) mercurial-hgk-1.4-3.el6.i686
I think due to some package dependency, I am not able to install.
Any help/pointers will be highly appreciated.
From the Blog: Install Mercurial Centos 6 VPS Mercurial 2.2.2 Centos 6.4 setup
This the only package you're able to install because other RPM packages require python 2.4 whereas Centos 6 has python 2.6 installed.
rpm -Uvh http://pkgs.repoforge.org/mercurial/mercurial-2.2.2-1.el6.rfx.x86_64.rpm
Test your install:
[root#~]# hg version
Mercurial Distributed SCM (version 2.2.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I think you will need to uninstall an older (1.4.3) version of Mercurial. Or at least get rid of the emacs-mercurial and mercurial-hgk packages first.
echo -e "[mercurial.selenic.com]\nname=mercurial.selenic.com\nbaseurl=https://www.mercurial-scm.org/release/centos\$releasever\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/mercurial.selenic.com.repo \
&& yum install -y mercurial
As described in the mercurial wiki. Although, as gpgcheck=0 is kind of evil, I'd skip it if possible.
I installed Mercurial, only to realize that it's not supported yet with MonoDevelop, and then realized that I have no clue how to properly uninstall it.
I've googled around and can't find anything to support uninstalling it.
MonoDevelop's support for version control is lagging, and only basic support for Git will be added in version 2.6. I would suggest keeping Hg installed and use the command line. You shouldn't dismiss using a great DVCS just because your IDE doesn't integrate with it.
Since Hg is Python based, you may be able to use easy_install to uninstall it for you.
easy_install -m mercurial
See easy_install documentation for more information
You can uninstall mercurial by deleting the executable, but this seems to be the only way to fix the problem. The executable is in /usr/local/bin or in usr/local/bin/hg (I'm not quite sure), but deleting the executable (and all related files) is a dirty, but working, way to uninstall mercurial.
I did:
sudo rm /usr/local/bin/hg # To remove my local version (yours may be elsewhere)
sudo pip uninstall mercurial # To remove mercurial from my Python
Pip is not install by default so I guess you can use:
easy_install -m mercurial # Like Steve suggests
This recipe works well for me.
I had luck following the suggestion of this post on the mercurial listserv:
Launch again the mpkg you used for the installation, go to the second
window (Read me or something similar) and check the "After the
install" section.
On Mac OS X 10.6, the text is: This package installs the hg executable
in /usr/local/bin and the Mercurial files in
/Library/Python/2.6/site-packages/mercurial.
I can imagine you have to replace 2.6 by 2.7 on Mac OS X 10.7.
Though totally forgotten how I installed it, the following did the work for me.
sudo rm -fr /usr/local/lib/python2.7/site-packages/mercurial*
Open Terminal and type this command.
defaults write com.apple.finder AppleShowAllFiles -boolean false;killall Finder
Why not simply use the prompt or a 3rd party gui for mercurial? This is usually preferred over IDE Integration for speed/reliability anyways.
HI - I want my local environment in chronology so everything works. Is there any or my approach should work?
I have jdk version 1.6 and my path and java_home are set in environment var
I have STS version 2.3.2, shall I upgrade and how?
I need maven to build my projects. Where and how to install it?
I need a server Tomcat? Anything else which is better to go with it?
I need preferable MySQL, how to install?
What is the chronology of these installs I need to make?
For maven install see:
http://maven.apache.org/download.html#Installation_Instructions
For tomcat install see:
http://tomcat.apache.org/tomcat-7.0-doc/setup.html
For grails install see:
http://www.grails.org/Installation
For mysql install see:
http://www.apachefriends.org/en/xampp-windows.html
Install chronology doesn't matter.