Main Course Package (MCP) Installation Guide for Linux


This guide has been tested on Ubuntu-based operating systems.


If the version number installed in your device is lower than the version provided in the screenshots, follow the steps below to install the updated version of the applications.

If an updated version of the above provided applications are already installed in your device, the following instructions will still work with minor differences in the version of the app you’re shown in the output which should have no impact during the course of the bootcamp.


Git

Open a Terminal using Ctrl+Alt+T and execute sudo apt install git -y.

To confirm successful installation, execute git –version to print the current version of installed Git.


Sublime Text 4

Open a Terminal using Ctrl+Alt+T and execute the following:

wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add –
sudo apt-get install apt-transport-https
echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update
sudo apt install sublime-text -y

To confirm successful installation, execute subl to open Sublime Text.


Google Chrome

Download and execute the installer

Wait for the installation to finish and run the google chrome application


Node.js & NPM

Open a Terminal using Ctrl+Alt+T and execute sudo apt install nodejs npm -y.

To confirm successful installation of Node, execute nodejs -v to print the current version of installed Node.

To confirm successful installation of NPM, execute npm -v to print the current version of installed NPM.


Postman

Open a Terminal using Ctrl+Alt+T and execute sudo snap install postman.

To confirm successful installation, execute postman to open Postman.


MongoDB Compass

Open a Terminal using Ctrl+Alt+T and execute wget https://downloads.mongodb.com/compass/mongodb-compass_1.35.0_amd64.deb to download the installer. Execute sudo dpkg -i mongodb-compass_1.35.0_amd64.deb to install MongoDB Compass.

To confirm successful installation, execute mongodb-compass.


MongoDB Community Edition

Open a Terminal using Ctrl+Alt+T and execute sudo apt-get install gnupg to install gnupg.

Execute curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \ sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \ –dearmor to import the MongoDB public GPG key.

Execute echo “deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list to create a file for the Ubuntu OS. 

Execute sudo apt-get update to Reload the local package database. Execute sudo apt-get install -y mongodb-org to install the MongoDB packages.

To confirm successful installation, execute sudo systemctl start mongod.

If an error appears that states that mongod.service failed to start, execute sudo systemctl daemon-reload.

Verify if MongoDB has started successfully by executing sudo systemctl status mongod.

Lastly execute mongosh to run the mongoshell in the terminal.

Press Ctrl + C to exit out of mongo shell.


If you’ve stumbled upon this blog post and aren’t a bootcamper, you can begin your bootcamp journey with Zuitt by clicking this link:

Leave a Reply

Your email address will not be published. Required fields are marked *