Installing Mercurial on Redhat Linux - linux

Will Mercurial work on Redhat Linux? I tried, yum install mercurial, with no success. I tried downloading a tar ball from Mercurial site but it failed when I tried to install. Does Mercurial work at all on Redhat?

Here's instructions for obtaining RPM packages for Linux systems.
Here is a discussion describing many methods for obtaining Mercurial in Red Hat.

On Rhel 7.2 i performed below command and it worked like charm :)
sudo rpm -ivh https://www.mercurial-scm.org/release/centos7/RPMS/x86_64/mercurial-3.4-0.x86_64.rpm

Mercurial project provides RPM packages starting from version 3.4.

Related

How to install Sqelectron in Linux?

I'm a new Linux user and I want to install a MySQL IDE. I use Sqlectron in Windows, so I want to install this IDE now in my Linux computer. I downloaded the .zip file but I don't know what to that after unzip it.
I'm using Elementary OS based on Ubuntu
The latest version of sqlectron has a .deb file to install in debian like distro https://github.com/sqlectron/sqlectron-gui/releases/latest
To install sql electron goto https://github.com/sqlectron/sqlectron-gui/releases/tag/v1.35.0
find packages depending on your distro either deb, or rpm
for deb
sudo dpkg -i path/to/package_file.deb
for rpm
rpm -ivh path/to/package.rpm
Alternatively, you can double click the downloaded sqlectron*** .deb package and do a GUI based installation in Linux.

How to install CLISP in Redhat Linux

I was searching, how to install CLISP (http://www.clisp.org) in RedHat Linux. In the CLISP web site Fedora installation link is broken.
yum install clisp doesn't work even though sudo apt-get install clisp in Ubuntu.
Anyone there, installed CLISP in RedHat Linux?
If you just want a CL-implementation you can use sbcl which will run standard CL-code as good as clisp.
If you want clisp download the tarball and follow the instructions in ihe INSTALL file.
There is a thread in the CentOS forums about a yum installation alternative, but it might not work on recent releases.
I just installed it on Fedora 18. Repo:
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/18/Everything/x86_64/os/Packages/c/
It has been moved to 'archives.fedoraproject.org' because it's old. So if you have an old fedora you might have to add this repo to your yum repos.
You can build from source, I just wanted to learn a little bit about lisp and this allowed me to get setup and get started:
You can find releases here: ftp://ftp.gnu.org/pub/gnu/clisp/release/
wget ftp://ftp.gnu.org/pub/gnu/clisp/release/2.49/clisp-2.49.tar.gz
tar xvfz clisp-2.49.tar.gz
cd clisp-2.49
./configure --prefix=$HOME --ignore-absence-of-libsigsegv
cd ./src
make install

Building Vim .debs on Ubuntu

From the vim site:
sudo apt-get install mercurial libssl-dev
sudo apt-get build-dep vim
hg clone http://hg.debian.org/hg/pkg-vim/vim
cd vim
hg checkout unstable
debian/rules update-orig
dpkg-buildpackage -i -I
cd ..
It looks like there are no commands called debian/rules on my system.
The wikia vim tips site is not complete and ignores all the hard work of packagers of vim. The standard way to build a Debian or Ubuntu binary package is from a source package. Using source packages are by far a better solution for most people.
pkg_basics.en.html#s-sourcebuild
The upstream site https://code.google.com/p/vim/ is indeed hosted with mercurial and there is a github clone https://github.com/b4winckler/vim however very few people really need the most bleeding edge sources. The build-deps are pretty significant.
The Debian vim maintainers also use mercurial to maintain their packaging per debian/README.source at http://hg.debian.org/hg/pkg-vim/vim and Debian developers with commit access can help with the packaging that uses quilt to maintain patches at the URL ssh://hg.debian.org/hg/pkg-vim/vim Information about the Debian binary packages created from hg.debian.org (also used as a base for Ubuntu) can be found: http://packages.debian.org/search?keywords=vim
For Ubuntu a much better way is using a PPA (personal package archive) of someone that is familiar with the 7.4 sources, how packaging works, the latest patches and the latest dependencies. Very recently (Aug 2013) vim 7.4 landed in the future Ubuntu 13.10 Saucy archive available for everyone to install using standard methods so no effort is needed at all. https://launchpad.net/ubuntu/+source/vim Quite a few PPAs contain vim builds already. https://launchpad.net/ubuntu/+ppas?name_filter=vim but there are not many current 7.4 builds backported all the way to Ubuntu 12.04 LTS Precise yet as described https://help.ubuntu.com/community/UbuntuBackports and https://wiki.ubuntu.com/StableReleaseUpdates. As described in the following bug I tried to build it for Ubuntu 12.04 LTS precise since that is what I use on my main machine. With a three line patch I got it working. I haven't put it up in a PPA yet. The bug formally requests the backport so if you care about this please vote it up and/or comment on it so the bug will get more attention. https://bugs.launchpad.net/bugs/1211971
If you find a PPA you like, for example like this one https://launchpad.net/~cjohnston/+ppa-packages you can add it by typing "sudo apt-add-repository ppa:cjohnston/ppa; sudo apt-get update; sudo apt-get upgrade".

how to translate fedora yum source into RHEL?

I use fedora 13 on my laptop, and I use 'yum' to install "recordmydesktop" just for fun.One day, my boss ask me to install "recordmydesktop" into his computer (whose operating system is Redhat Enterprise 5.2).
The yum in his computer does not work! I can't yum install recordmydesktop! I know the reason is in the yum's source, but how can I use the source in fedora to the yum in RHEL(Redhat Enterprise)?
try rpmforge as repository... edit one file in /etc/repo.d and add as repository rpmforge...this should work

How to create installer for linux mint

I have created rpm for my software which works fine for fedora. But this fails whenever I want to install the same in linux mint. because linux mint supprts .deb file for installation. So I want to create installer package for my software which will be compatible in linux mint.
Check out the program alien, which allows you to manipulate foreign packages on a linux distro. Note that this is fine for installing simple packages, but you should build the package from source if you intend to distribute to a large audience.
Another great tool at your disposal for this would be fpm. It allows to create several different package types from many different things, like rpm's. It currently works with the following:
Sources:
gem (even autodownloaded for you)
python modules (autodownload for you)
pear (also downloads for you)
directories
tar(.gz) archives
rpm
deb
node packages (npm)
Targets:
deb
rpm
solaris
tar
directories
Mac OS X .pkg files (osxpkg)
You can find it here: https://github.com/jordansissel/fpm
you can use alien if you want and that's the recommended way to do it actually, but you can install it with rpm too. just install rpm:sudo apt-get install rpm then run sudo rpm -i package_name

Resources