This solutions is WORKED on my Ubuntu 22.04!!!
But need to follow the Fernando’s command to install libssl1.1, otherwise the package would not be found. Glad to have you guys. Thanks
So if you need a recap:
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
- Go to root user
sudo -i then paste this wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
- Still run
dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb command on the root user, and so on.
apt update
apt install libssl1.1
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
apt update
apt install -y mongodb-org
1 Like