Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

E: Unable to locate package mongodb-org

#Step 1:  Import the MongoDB public key
#In Ubuntu 18.*+, you may get invalid signatures. --recv value may need to be updated to EA312927. 
#See here for more details on the invalid signature issue: [https://stackoverflow.com/questions/34733340/mongodb-gpg-invalid-signatures][1]

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

#Step 2: Generate a file with the MongoDB repository url
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list

#Step 3: Refresh the local database with the packages
sudo apt-get update

#Step 4: Install the last stable MongoDB version and all the necessary packages on our system
sudo apt-get install mongodb-org

         #Or
# The unofficial mongodb package provided by Ubuntu is not maintained by MongoDB and conflict with MongoDB’s offically supported packages. Use the official MongoDB mongodb-org packages, which are kept up-to-date with the most recent major and minor MongoDB releases.
sudo apt-get install -y mongodb 
Comment

PREVIOUS NEXT
Code Example
Shell :: default field separator recognized by awk 
Shell :: how to find where a program is on windows 
Shell :: Authentication is required to create a color managed device 
Shell :: qcow2 to vdi 
Shell :: bash replace newline with space 
Shell :: nvm how to install latest node 
Shell :: linux search for line in file 
Shell :: ubuntu mysql client cli 
Shell :: docker bash command 
Shell :: catkin_make ignore package 
Shell :: zathura show black screen 
Shell :: install kubenertes using chocolatey 
Shell :: redis start stop commands 
Shell :: how to overwrite symlink linux 
Shell :: zsh syntax highlighting plugin 
Shell :: how to install metasploit in ubuntu 
Shell :: bash check diff starting at specific line 
Shell :: telegram on arch linux 
Shell :: whybar not showing icons 
Shell :: update git from terminal 
Shell :: error: src refspec master does not match any error: failed to push some refs to android studio 
Shell :: vboxmanage export vm to ova 
Shell :: react native how to get SHA certificate fingerprints 
Shell :: how to install eclipse in ubuntu 
Shell :: check on which domain apache is running 
Shell :: remove user from sudoers 
Shell :: npm init y 
Shell :: searching for a directory powershell 
Shell :: bash generate random number between 1 10 
Shell :: E: Sub-process /usr/bin/dpkg returned an error code (1) 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =