Unable to install erlang 19 from epel. RHEL - erlang

I am trying to install RabbitMQ which needs Erlang above 16. However when I try to install Erlang it installs 14B03 from epel repository.
When I manually download the RPM file and try to install it, it fails due to dependencies. Please suggest.
I am having RHEL 6.8 & Epel 6.8

You can purge erlang completely and install rpm version you need.
If you don't want purge old version, check installing multiple versions

Related

Unable to install Phusion Passenger on Ubuntu Server 18.04

Running on a fresh install of Ubuntu Server 18.04 on Virtualbox, Windows 10 as the host OS. Ran the instructions on the Phusion Passenger site here
This is the error I'm getting:
steve#heartypet-staging:~$ sudo apt-get install -y libnginx-mod-http-passenger
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnginx-mod-http-passenger : Depends: passenger (= 1:5.3.4-1~bionic1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Oddly enough, the exact same instructions work fine on the desktop version.
Get default source list from here
https://askubuntu.com/a/1036749
Replace /etc/apt/source.list with the file in the link above.
Then sudo apt update and sudo apt upgrade
And go ahead...
If you having problems with the previous solution, one option is run this command:
sudo nano /etc/apt/sources.list.d/passenger.list
and comment all the lines in this file, then run the command
sudo apt-get install passenger

mariadb with rails: can't install libmysqlclient-dev

I have mariadb-10.1 installed on a stock 64bit Ubuntu 15:10.
I have libmysqlclient18 succesfully installed, but I get errors when trying to install libmysqlclient-dev.
steve#steve:~$ dpkg -s libmysqlclient18
Package: libmysqlclient18
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 10
Maintainer: MariaDB Developers <maria-developers#lists.launchpad.net>
Architecture: amd64
Source: mariadb-10.1
Version: 10.1.13+maria-1~wily
Replaces: libmysqlclient18 (<< 10.1.13+maria-1~wily)
Depends: libmariadbclient18 (= 10.1.13+maria-1~wily)
Description: Virtual package to satisfy external depends
This is an empty package that provides an updated "best" version of
libmysqlclient18 that does not conflict with the libmariadbclient18
package.
.
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MariaDB are speed, robustness and
ease of use.
Homepage: http://mariadb.org/
steve#steve:~$ sudo apt-get install libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libmysqlclient-dev : Depends: libmysqlclient18 (= 5.6.28-0ubuntu0.15.10.1) but 10.1.13+maria-1~wily is to be installed
E: Unable to correct problems, you have held broken packages.
Can anyone suggest how to resolve this?
Thanks :-)
Steve
You have to install libmariadbclient-dev instead of libmysqlclient-dev when using MariaDB
sudo apt-get install libmariadbclient-dev
While installing libmariadbd-dev or libmariadbclient-dev package is the easiest way, in some OS's or package managers it is not available.
For example on a mac with homebrew this is not available, I found a workaround though.
To install gem mysql2 on a mac you need mariadb-connector-c in homebrew. This package conflicts with Mariadb symlinks so you need to do run the following in the terminal:
brew unlink mariadb
brew install mariadb-connector-c
Inside the rails project directory, execute:
bundle install (or gem install mysql2)
brew uninstall mariadb-connector-c
brew link mariadb

Passenger doesn't install with official Ubuntu Nginx package

So it looks like that I have some problems installing the recent passenger with official nginx packages. According to Passenger's official document here:
http://www.modrails.com/documentation/Users%20guide%20Nginx.html#install_add_apt_repo
I have done everything it tells from 2.3.1. My system is Ubuntu 13.10 and is currently installed the passenger Nginx via gem. Now I wish to change the service to using the official packages since I believe it does have better integration support, also along with better support with logrotate. So when I have executed the main command of installation:
sudo apt-get install nginx-extras passenger
It spits error showing this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
nginx-extras : Depends: perl (>= 5.14.2-21+deb7u1) but 5.14.2-21build1 is to be installed
Depends: libgd2-noxpm (>= 2.0.36~rc1~dfsg) but it is not installable or
libgd2-xpm (>= 2.0.36~rc1~dfsg) but it is not installable
Recommends: passenger (< 4.0.34) but 1:4.0.33-1~wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.
I wonder why and how the dependency check is so strict to this degree. As it says I need packages for Debian but I am on Ubuntu so it is natural that the package names are slightly different. Can anyone make any solutions for this? Thanks very much.
Also, there is a side question: if this is successful, does Nginx automatically support IPv6?
In 2.3.1 step 3, did you add the Ubuntu 13.10 APT repo, and not the Debian 6/7 APT repo? How does your /etc/apt/sources.list.d/passenger.list look like?

Install Erlang on SUSE

Anyone got a guide on how to install Erlang on openSUSE 11.4 (or similar)?
You should be able to install it easily from the official repo. See the 1-Click install option.

Installing Rails Plugin Requires Git?

Installing rails plugins from github requires git in the system?
OS is linux. Is it possible to install plugin without git installation in the local system.
Sure!
download the plugin from github as *.tar.gz
uncompress and copy it to your vendor/plugins folder
run the install tasks if necassary
Good luck! ;)
OR just install git-core on your linux system :)
If using Ubuntu or Debian
sudo apt-get install git-core
HTH

Resources