LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   what can be done with mongoDB ? (https://www.linuxquestions.org/questions/fedora-35/what-can-be-done-with-mongodb-4175733668/)

ZapAnarchy 02-08-2024 08:07 PM

what can be done with mongoDB ?
 
I see mongoDB is unsupported due to licencing issues, and thus not in official fedora repos.
For now I've found workaround, but what when it fails ?

Everyone said, fedora the best for programers, latest programs, but I see, I can't find nothing other than Ubuntu which have the most of everything supported. I don't like ubuntu.

TB0ne 02-09-2024 08:13 AM

Quote:

Originally Posted by ZapAnarchy (Post 6482358)
I see mongoDB is unsupported due to licencing issues, and thus not in official fedora repos. For now I've found workaround, but what when it fails ?

Everyone said, fedora the best for programers, latest programs, but I see, I can't find nothing other than Ubuntu which have the most of everything supported. I don't like ubuntu.

Don't know who the 'everyone' is, but pretty much any Linux distro has all the same tools available. Fedora allows you to be in the RHEL ecosystem, and Fedora has instructions on installing this (6.0 and 7.0) of the community version:
https://developer.fedoraproject.org/...odb/about.html

MongoDB is like Oracle; they have commercial and free versions. Your 'workaround' is nothing more than editing the URL of the community repository. It is *NOT* unsupported anymore than anything else on a non-commercial operating system is. You have the community version...that means no support.

boughtonp 02-09-2024 11:22 AM


 
Good programmers care about security fixes. They don't care about shiny new stuff and overly frequent changes.

Without knowing what you dislike like about Ubuntu, it's not possible to give a meaningful recommendation. (Personally I put Ubuntu and Fedora in the same category; their key difference being deb vs rpm.)


As for MongoDB, my best answer to "how do I do X with MongoDB?" is uninstall it and use something else.

I spent several years dealing with a system that used it. It took effort to migrate away, but everyone was happier when we did - including the guy who'd originally introduced it.


wpeckham 02-09-2024 12:48 PM

Quote:

Originally Posted by boughtonp (Post 6482475)
Good programmers care about security fixes. They don't care about shiny new stuff and overly frequent changes.

Without knowing what you dislike like about Ubuntu, it's not possible to give a meaningful recommendation. (Personally I put Ubuntu and Fedora in the same category; their key difference being deb vs rpm.)


As for MongoDB, my best answer to "how do I do X with MongoDB?" is uninstall it and use something else.

I spent several years dealing with a system that used it. It took effort to migrate away, but everyone was happier when we did - including the guy who'd originally introduced it.


There are so MANY database engines and systems available in FOSS and the Linux repos! The first two third-party programs written for IBM DOS were a Word Processor and a Spreadsheet, the third was a database program. In my repo there are ten general database engines of different types (SQL, Non-SQL, in memory persistent and non-persistent, etc) and even more specialized ones. That does NOT count the database TOOLS and languages for creating and querying databases of multiple types. There is commercial support available for some of the most well-known engines. ALL of them have FOSS support by the maintainers and developers as well as the FOSS community.

ZapAnarchy 02-10-2024 03:40 AM

Quote:

Originally Posted by boughtonp (Post 6482475)

Without knowing what you dislike like about Ubuntu, it's not possible to give a meaningful recommendation. (Personally I put Ubuntu and Fedora in the same category; their key difference being deb vs rpm.)


As for MongoDB, my best answer to "how do I do X with MongoDB?" is uninstall it and use something else.




Well ubuntu often have issues while upgrading software. Like some dependencies are too old.And it just breaks eany newer program I need.

But here's the thing. Fedora official repo is using npm 16. While latest npm is 20.
Then on ubuntu, pretty sure it's 10, or some from caveman age, and just breaks everything.

I'm not sure, why fedora can't use even latest software, like npm 20, when they said fedora uses 'latest' software. How ? It doesn't look like it.


MongoDB, I need to use as it's what company uses. 🤷*♂️

boughtonp 02-10-2024 10:27 AM


 
NPM? I thought you said you were a programmer. :p

Not sure where you're looking, but Fedora has both NPM v10 and NodeJS v20.

Ubuntu v23.10 (Manic) has NPM v9 and NodeJS v18 from November 2023 - slightly behind because v20 only just came out in January, and Ubuntu gets most of its packages via Debian, where NodeJS v20 is still considered experimental - because Debian is for people that do not want to be beta testers.

No doubt that'll have changed by the release of Ubuntu v24.04 LTS (Noble) in April, but if you really cant wait that long then alternatives to Fedora include Arch, Gentoo, OpenSuse Tumbleweed. (A quick check suggests all three contain packages for NodeJS v20 and NodeJS v21, and MongoDB seems to be in AUR/community repos.)


TB0ne 02-10-2024 12:42 PM

Quote:

Originally Posted by ZapAnarchy (Post 6482593)
Well ubuntu often have issues while upgrading software. Like some dependencies are too old.And it just breaks eany newer program I need.

But here's the thing. Fedora official repo is using npm 16. While latest npm is 20. Then on ubuntu, pretty sure it's 10, or some from caveman age, and just breaks everything. I'm not sure, why fedora can't use even latest software, like npm 20, when they said fedora uses 'latest' software. How ? It doesn't look like it. MongoDB, I need to use as it's what company uses. ��*♂️

Ubuntu is very stable as is Fedora. And since you're complaining about NPM, you do realize that typing in "npm install -g npm@latest" upgrades whatever you have to the latest, right??? You did bother to read their docs, didn't you????
https://docs.npmjs.com/try-the-lates...version-of-npm

You seem to just want to complain, and none of what you're saying makes any sense. You got instructions on how to install mongodb...either do it or not. There are AMPLE documentation sources on installing Node.JS and NPM, and even having multiple version of them...either follow them or don't. I think you'd probably be better of running Windows and going to another forum.

dugan 02-12-2024 12:46 PM

You don't think you're stuck with the versions in your distro's repositories, do you?

Docker.

And NVM (Node Version Manager).


All times are GMT -5. The time now is 07:40 PM.