Open In App

How to Install “golang-gopkg-mgo.v2-dev” Package on Ubuntu?

Improve
Improve
Like Article
Like
Save
Share
Report

mgo is a MongoDB driver for the Go language that implements a rich and well-tested selection of features under a very simple API following standard Go idioms. mgo ha0.s long gone unmaintained and does not support new features of new versions of MongoDB. Anyways, let’s learn how to install it on Ubuntu.

Installation of “golang-gopkg-mgo.v2-dev” Package on Ubuntu

Follow the below steps to install the mgo package.

Step 1: Update the apt packages database

sudo apt update

Updating-apt-packages

 

Step 2: Install the mgo package

sudo apt install -y golang-gopkg-mgo.v2-dev

Installing-mgo-package

Installing package

Step 3: Verify the package installation (Optional).

dpgk -l | grep mgo

Verifying-installation

Verifying installation

As you can see, we’ve successfully installed the golang-mgo package. That’s all for now, let me know if you’ve any problems with it.


Last Updated : 28 Jul, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads