Install aerospike community server on Ubuntu 20.04 - aerospike

aerospike-server-community-5.2.0.2.ubuntu20.04.x86_64.deb depends python package, but Ubuntu 20.04 support only python3 and when I’m trying to install deb package I’m getting an error:
dpkg: dependency problems prevent configuration of aerospike-server-community:
aerospike-server-community depends on python; however: Package python is not installed.

sudo apt-get update && sudo apt-get install python3

Related

package installation into singularity

I have singularity-ce version 3.10.2 on ubuntu 20.02. I am trying to install python package. It always says
Singularity> apt-get -y update
bash: apt-get: command not found
I already have python on my local computer. How can I resolve this?

Downloading PostgreSQL Mac Download Error

could you please advise me of a solution you may know for downloading PostgreSQL. I am trying to install 9.6.5 version, but also tried the 10.0, same error.
I am using an installation option for Mac operating system OS Sierra from website: https://www.openscg.com/bigsql/postgresql/installers.jsp/
I am getting an error:
Have tried to run the instruction sudo easy_install pip in the command line and it installs the pip file successfully. However I am still unable to install the PostgreSQL.
Please could you advise what the issue may be?
I have also installed Homebrew (it did not help).
I do already have anaconda and Python installed, as well as latest versions of R and RStudio.
I have now found a solution to the above problem (on Mac). Execute the following command in your terminal:
sudo easy_install-2.6 pip
If that does not work execute:
sudo easy_install-2.7 pip
This allows the PostgreSQL to be downloaded correctly.
I followed the instructions suggesting using easy_install-2.7 but still got an error very similar to that from the OP. I had to specifically install pip 9.0.0 with
sudo easy_install-2.7 pip=9.0.0
after which the PostgreSQL install worked.
The default pip is now v10, so it's probably a string compare issue in the installer.
Here is the solution that worked for me on Mac High Sierra 10.13.4:
Clear out the brew cache $ rm -rf ~/Library/Caches/Homebrew
Clear out the site-packages $ sudo rm -rf /usr/local/lib/python2.7/site-packages
Reinstall Python $ brew reinstall python This pulls down python-3.5.6.high_sierra and put it in /usr/local/bin/python3
But which python still shows /usr/bin/python
The solution is to run $ brew install python#2 which pulls down python#2-2.7.14_3.high_sierra
Now which python shows the correct path /usr/local/bin/python which is also where all your pip stuff is installed, so now pip will work.
Ensure the latest version of pip is installed with $ sudo pip install --upgrade pip

How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7

I have RedHat Enterprise Linux Server 7, and I downloaded the linux kernel version 4.12.10 which I am trying to compile but when I execute the following command:
make modules
I get the following error:
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
Does anyone have an idea to fix this please ?
To fix this problem, you have to install OpenSSL development package, which is available in standard repositories of all modern Linux distributions.
To install OpenSSL development package on Debian, Ubuntu or their derivatives:
$ sudo apt-get install libssl-dev
To install OpenSSL development package on Fedora, CentOS or RHEL:
$ sudo yum install openssl-devel
Edit :
As #isapir has pointed out, for Fedora version>=22 use the DNF package manager :
dnf install openssl-devel
For Alpine Linux:
apk add openssl-dev
On CYGwin, you can install this as a typical package in the first screen. Look for
libssl-devel
for resolving this issue install:
# yum install openssl openssl-devel
and then try again to do make bzImage.

How to run Rebol on Freya

Been trying to run rebol-view-278-4-2 on Elementary OS "Freya" (a variant of Ubuntu 14.04 LTS).
I keep getting this error:
error while loading shared libraries: libXaw.so.7: cannot open shared object file: No such file or directory
I went ahead and tried to install the missing library but to no avail.
These are the steps I took to get R2 core and view working on Ubuntu 14.04 LTS "Trusty," so I would imagine that this would also work on Freya:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get update
sudo apt-get install libx11-6:i386
sudo apt-get install libxext6:i386
sudo apt-get install libxaw7:i386
sudo apt-get install libfreetype6:i386
sudo apt-get install xfonts-100dpi xfonts-75dpi
(I prefer to keep the package install steps separate in case one of them fails.)

Facing error while installing Apache2 in Ubuntu 14.04 'has no installation candidate'

I don't know what I did but I'm not able to install apache2 in my Ubuntu 14.04.
When I use sudo apt-get install apache2 I face this error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libapache2-mpm-itk:i386 libapache2-mpm-itk
E: Package 'apache2' has no installation candidate
First make sure that your proxy is disabled as that can cause a problem sometimes.
Then run the following.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
If that doesn't work you can always compile your own apache2. A tutorial for that is located here: https://www.virgohacks.net/install-apache-2-4-mysql-5-6-php-5-5-source-ubuntu-14-04/
Good luck