You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
the I did curl https://www.mongodb.org/static/pgp/server-6.0.asc cat server-6.0.asc | gpg --dearmor > server-6.0.gpg sudo mv server-6.0.gpg /usr/share/keyrings/ sudo echo "deb [signed-by=/usr/share/keyrings/server-6.0.gpg] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list sudo apt-get update
and then finally sudo apt-get install -y mongodb-mongosh
and everything working fine
The text was updated successfully, but these errors were encountered:
I tried to install
.deb
package as mentioned on https://www.mongodb.com/docs/mongodb-shell/install/#std-label-mdb-shell-installbut on running
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
it says
the I did
curl https://www.mongodb.org/static/pgp/server-6.0.asc
cat server-6.0.asc | gpg --dearmor > server-6.0.gpg
sudo mv server-6.0.gpg /usr/share/keyrings/
sudo echo "deb [signed-by=/usr/share/keyrings/server-6.0.gpg] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt-get update
and then finally
sudo apt-get install -y mongodb-mongosh
and everything working fine
The text was updated successfully, but these errors were encountered: