Install mongodb 3.4.22 community version on ubuntu 18.04 - mongodb

I need to install MongoDB 3.4.22 community version on ubuntu 18.04. I tired as described in the following link
How to install a specific version of MongoDB?
But it gives the following errors
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mongodb-org
E: Unable to locate package mongodb-org-server
E: Unable to locate package mongodb-org-shell
E: Unable to locate package mongodb-org-mongos
E: Unable to locate package mongodb-org-tools

Unfortunately, the version that you specifically looking for is not present in the distro for Ubuntu 18.04 (Bionic Beaver)
You can check available versions from here

Related

How to install postgreSQL 10.15 version on ubuntu 20.04

I want to install PostgreSQL 10.15 version on my ubuntu device,
referred below link and tried installing the same but it shows error:
https://www.postgresql.org/download/linux/ubuntu/
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql-10.15
E: Couldn't find any package by glob 'postgresql-10.15'
E: Couldn't find any package by regex 'postgresql-10.15'
for below command
sudo apt-get -y install postgresql-10.15
or for below command
sudo apt-get -y install postgresql=10.15
i get below error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '10.15' for 'postgresql' was not found

ns-3 installation in linux mint 20 error in installing python-pygraphviz,python-kiwi,python-pygoocanvas,libgoocanvas-dev

I am in trouble currently I am trying to install ns-3 network simulator in Linux mint 20 . My Laptop configuration is ASUS-Laptop-X407UA 64bit core i5
I am trying to follow these instructions https://www.nsnam.org/wiki/Installation#Ubuntu.2FDebian.2FMint
to follow this I have trouble in this phase
apt install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ipython 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
E: Unable to locate package python-pygraphviz
E: Unable to locate package python-kiwi
E: Unable to locate package python-pygoocanvas
E: Unable to locate package libgoocanvas-dev
E: Package 'ipython' has no installation candidate
what can I do please suggest me something.
Thanks in advance.

Unable to locate package postgresql "version"

I'm having this problem while installing postgres version 11.5 on Linux Mint 19.3
sudo apt-get -y install postgresql-11.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql-11.5
E: Couldn't find any package by glob 'postgresql-11.5'
E: Couldn't find any package by regex 'postgresql-11.5'

Unable to install Conduktor - Depends: libglx0 but it is not installable

While installation I am having package conflicts. This is the response I am receiving.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'conduktor' instead of './Conduktor-2.2.5.deb'
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:
conduktor : Depends: libglx0 but it is not installable
E: Unable to correct problems, you have held broken packages.
For anyone who is having problens with Conduktor on Ubuntu 20:
Ubuntu 20 updated from libffi6 (required by Conduktor) to libffi7, so you'll end up with this error:
$ sudo apt install ./Conduktor-2.7.5.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'conduktor' instead of './Conduktor-2.7.5.deb'
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:
conduktor : Depends: libffi6 but it is not installable
E: Unable to correct problems, you have held broken packages.
You can fix it this way:
download libffi6 here http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
instal it: $ sudo apt install ./libffi6_3.2.1-8_amd64.deb
now, with success, install Conduktor: $ sudo apt install ./Conduktor-2.7.5.deb
It seems Conduktor does not support Ubuntu 16.04, the libglx0 library is only available starting from bionic (18.04 LTS): https://packages.ubuntu.com/search?lang=en&keywords=libglx0&searchon=names
This command helped me:
sudo apt --fix-broken install

Unable to install cfdisk

Following this guide but unable to install cfdisk.
sudo apt-get install cfdisk
returns
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cfdisk
RPi Model B, running Raspbian
This is because the cfdisk utility is not shipped in a cfdisk package but in the util-linux package.
aptitude install util-linux