I want to install the latest RabbitMQ server 3.6.14 on CentOS 6.
I followed this tutorial: How To Install and Manage RabbitMQ
When I ran the below command to install "erlang", it installed the "erlang-R14B-04" package and not "erlang >= R16B-03" required to install RabbitMQ 3.6.14.
# yum install erlang
So I tried to uninstall erlang by running
# yum remove erlang
And when I downloaded and tried to install "erlang >= R16B-03" from a .rpm file, I encountered the following errors:
Transaction Check Error:
file /usr/bin/epmd from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/erlc from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/escript from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/run_erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/run_test from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/to_erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/dialyzer from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-dialyzer-R14B-04.3.el6.x86_64
file /usr/bin/typer from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-typer-R14B-04.3.el6.x86_64
Error Summary
To deal with them, I removed the mentioned files: epmd, erl, erlc, escript, run_erl, run_test, to_erl, dialyzer, and typer after backing them up.
But still I face the same error. How do I upgrade from erlang-R14B-04 to erlang-R16B-03? Please help.
Download the package:
wget https://github.com/rabbitmq/erlang-rpm/releases/download/v20.3.0/erlang-20.3-1.el6.x86_64.rpm
then install
yum install erlang-20.3-1.el6.x86_64.rpm
Related
Please how should i install psycopg2-binary on my python image.
I tried pip install psycopg2-binary==2.8.2 but i got this error
ERROR: Could not find a version that satisfies the requirement psycopg2-binary==2.8.2 (from versions: 2.7.4, 2.7.5, 2.7.6, 2.7.6.1, 2.7.7, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9, 2.9.1) ERROR: No matching distribution found for psycopg2-binary==2.8.2
My image is python3.9-alpine
What should i do please???
Given the amount of work that requires to be done, I suggest you use a different base image, e.g. python:3.9 or that you install the alpine package py3-psycopg2 (which is on v 2.8.6 at the time of writing).
Anyway I tried it on my machine and in the error it's also written Error: pg_config executable not found.
The pg_config is part of the postgres_dev package and needs to be installed before installing the psycopg2-binary package.
The psycopg2-binary will also need the gcc to be installed and some other libraries.
In other words, you have to execute the following commands:
apk add postgresql-dev gcc ...
pip install psycopg2-binary==2.8.2
I've abandoned the topic after I had to install a bunch of libraries.
I've already installed the docker, it worked just fine.I am now trying to install the Centos operating system, but I get the error constantly. The error is below.
+ sh -c 'yum install -y -q docker-ce'
Transaction check error:
file /usr/bin/docker from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/bash-completion/completions/docker from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-attach.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-checkpoint-create.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-checkpoint-ls.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-checkpoint-rm.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-checkpoint.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-commit.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-config-create.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-config-inspect.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-config-ls.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
file /usr/share/man/man1/docker-config-rm.1.gz from install of docker-ce-18.06.1.ce-3.el7.x86_64 conflicts with file from package docker-ce-cli-0:18.09.0.ce-1.1.beta1.el7.x86_64
.............
The problem seems to be that the installed version of docker-ce-cli is 18.09.0.ce-1.1.beta1.el7, which is newer than the version of the docker-ce package you are trying to install, 18.06.1.ce-3.el7. The docker-ce packaging is not prepared for that.
You will have to downgrade or remove docker-ce-cli before installing the docker-ce package.
Why I can't use cocoapods command pod in directory /
/ $ pod
fish: Unknown command 'pod'
/ $
If use command in home directory, it work well.
~ $ pod
Usage:
$ pod COMMAND
CocoaPods, the Cocoa library package manager.
Find the reason, my cocoapods install in chruby ruby 2.4, and .ruby-version file in home directory.
So, the root directory not have .ruby-version file, just use system base ruby, that not install cocoapods. So Unknown command error occur.
At last, I copy my ~/.ruby-version to /.ruby-version, it's work!
I am installing opencv 3.1.0 with extra modules and I need to install sfm module. I installed all the prerequisites as stated in the installation guide in sfm package, and ran this command from opencv_source_directory/release:
cmake -DOPENCV_EXTRA_MODULES_PATH=~/git/opencv_contrib/modules ..
I can successfully create make file and install.
But I cannot find sfm.hpp under installation_path/include/opencv2/
Is there anything I missed? Thanks!
I found these in CMake command line output:
-- Found required Ceres dependency: Eigen version 3.2.8 in /usr/local/include/eigen3
-- Found required Ceres dependency: Glog in /usr/include
-- Found Ceres version: 1.12.0 installed in: /usr/local
-- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
But I did installed Glog/Gflags:
~$ sudo apt-get install libeigen3-dev libgflags-dev libgoogle-glog-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgflags-dev is already the newest version.
libgoogle-glog-dev is already the newest version.
libeigen3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Could anyone help? Thanks!
Problem is solved. Just remember to clear all the cmake cache files (remove the whole build folder) before running cmake again.
I had an error with installation of bzip2 on Windows 7 for capistrano-db-tasks. I tried gem bzip2, gem bzip2-ruby and gem bzip2-ruby-rb20.
How to install it properly?
1) You need to install bzip2 libs. Download zipped libs from Bzip2 for Windows, Binaries. Unpack them to directory without spaces, say C:\GnuWin32\bzip2-1.0.5-bin. lib subdir should contain libbz2.a, libbz2.def, libbz2.dll.a. This path (C:\GnuWin32\bzip2-1.0.5-bin\lib) should be provided to --with-bz2-lib.
2) The package bzip2-ruby seems to have a not-fixed error yet according to the author github.com/brianmario (version.h is absent). So you can install bzip2-ruby-rb20 as he suggests.
gem install bzip2-ruby-rb20 -- --with-bz2-include="C:\GnuWin32\bzip2-1.0.5-bin\include" -- --with-bz2-lib="C:\GnuWin32\bzip2-1.0.5-bin\lib"
Should be done.
Now you can use commands as "cap db:pull".
[Thx to this post]