LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2025, 08:11 AM   #1
Garrett85
Member
 
Registered: Jan 2011
Posts: 345

Rep: Reputation: 6
Which MongoDB?


I'm looking into learning MongoDB for a particular job that I think it would be better suited to than our current MariaDB only LAMP stack at my workplace, but I'm not sure which of these would be better to go with.

Their official download page:
https://www.mongodb.com/docs/manual/...odb-on-ubuntu/

or

apt-cache search mongo (if this option, which one of these packages would be best)
mongodb - object/document-oriented database (metapackage)
mongodb-clients - object/document-oriented database (client apps)
mongodb-dev - MongoDB C++ Driver (transitional package)
mongodb-server - object/document-oriented database (managed server package)
mongodb-server-core - object/document-oriented database (server binaries package)

I, and the company I work for also use php a lot and I seen this in the apt-cache search as well:

php8.1-mongodb - MongoDB driver for PHP

If my or my company were to need the mongo/php driver, would we also be able to get/use it if we installed the version from the official site?

Thanks.

Last edited by Garrett85; 07-26-2025 at 08:30 AM.
 
Old 07-27-2025, 08:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 26,460

Rep: Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608
they are all answered in the documentation of mongodb. I suggest to start learning there.
Otherwise, the answer depends on your (or your company's) needs.
 
Old 07-27-2025, 11:19 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 28,359

Rep: Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379Reputation: 8379
Quote:
Originally Posted by Garrett85 View Post
I'm looking into learning MongoDB for a particular job that I think it would be better suited to than our current MariaDB only LAMP stack at my workplace, but I'm not sure which of these would be better to go with. Their official download page:
https://www.mongodb.com/docs/manual/...odb-on-ubuntu/

or
Code:
apt-cache search mongo (if this option, which one of these packages would be best)
mongodb - object/document-oriented database (metapackage)
mongodb-clients - object/document-oriented database (client apps)
mongodb-dev - MongoDB C++ Driver (transitional package)
mongodb-server - object/document-oriented database (managed server package)
mongodb-server-core - object/document-oriented database (server binaries package)
I, and the company I work for also use php a lot and I seen this in the apt-cache search as well: php8.1-mongodb - MongoDB driver for PHP

If my or my company were to need the mongo/php driver, would we also be able to get/use it if we installed the version from the official site?
Seems a bit of an odd question. If it's provided through your online repositories, those would certainly be the ones I'd install, rather than download/compile from source. Updating would be FAR easier. Just typing in "sudo apt install mongodb" gets you what you need, client and server. The PHP extensions are in the other package.

As far as whether it'd be better or not...don't know, since (as pan64 said), it's up to your needs and the needs of the application/company.
 
Old 07-28-2025, 05:05 PM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 4,317

Rep: Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172Reputation: 3172
Quote:
Originally Posted by Garrett85 View Post
I'm looking into learning MongoDB for a particular job that I think it would be better suited to than our current MariaDB only LAMP stack at my workplace, but I'm not sure which of these would be better to go with.
Last time I touched MongoDB was migrating a system away from it, to Redis. (Also, a few bits of functionality were reverted to using SQL.)

Otherwise, stick to what's in the repo unless you already have a specific good reason to not do that (which you don't, or you wouldn't be asking).


Last edited by boughtonp; 07-28-2025 at 05:06 PM.
 
1 members found this post helpful.
Old 07-28-2025, 08:18 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,741
Blog Entries: 4

Rep: Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301
Get others at your company involved in the evaluation and decision. Do not make it yourself. You want formal present-state/future-state evaluation as a direct project for one or more teams. Followed by a project plan for the conversion if approved.
 
  


Reply

Tags
linux, mongo, mongodb, php



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: AWS DocumentDB not MongoDB-compatible, says MongoDB Inc LXer Syndicated Linux News 0 12-07-2021 06:05 AM
LXer: MongoDB straps SQL to Google's MapReduce LXer Syndicated Linux News 0 02-09-2012 01:50 PM
LXer: How to install MongoDB on ubuntu server LXer Syndicated Linux News 0 09-08-2011 08:11 PM
LXer: Can MongoDB become King of NoSQL ? LXer Syndicated Linux News 0 06-15-2011 08:20 PM
Mongodb - anyone managed to install under Slack13 Mark Pettit Slackware 3 05-01-2010 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:05 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions