View previous topic :: View next topic |
Author |
Message |
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 9:56 am Post subject: Gentoo for work |
|
|
Hello
I am currently working as a consultant to do development work. I am using another distro. But my disto does not allow me to install different versions of the python package. My python version is 3.12 but the system that I am working on requires 3.9, hence I will be using 3.9 to avoid any headaches. I have used pyenv to get around this issue. But have read that gentoo does allow multiple versions of a package to be installed.
I was wondering if anybody is using gentoo for work? Or are you using it as a personal daily driver? (I would want to use the system as a daily driver for personal use and for work).
Would it be too much work keeping it up to date? (I will not be changing any USE flags and install packages with all the features enabled, and will have minimal changes if any).
Would updates cause problems (Would not want to have any disruptions to my work)?
I would like to have a stable system, that I update/upgrade on a weekly basis. The system should be my daily driver (personal use, personal projects, etc) and be able to use it for work as well.
Would gentoo be a good choice to use for this use case?
I thank you in advance for any information.
Kind Regards
Riza Dindir |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3407
|
Posted: Fri Jul 26, 2024 11:04 am Post subject: |
|
|
Quote: | I was wondering if anybody is using gentoo for work? Or are you using it as a personal daily driver? | Yes, but
Quote: | Would it be too much work keeping it up to date? (I will not be changing any USE flags and install packages with all the features enabled, and will have minimal changes if any) | you have no experience with it.
Gentoo has a pretty steep learning curve. It is a good distro, but it might not be a good fit for your use case. You're likely to paint yourself into a corner because you don't know what you're doing and have no time to learn.
I don't know what you do for our job, but it might be a better idea to just setup qemu and have a bunch of disposable virtual machines with different versions or even distros. It surely requires some time to get used to (and yes, overcoming laziness, because 2 extra clicks to enter a VM is an unnecessary work you will be tempted to skip), but it pretty much removes all limits on software you're able to run.
You could even install Gentoo in one of those VMs and get yourself comfortable with it before committing to using it for work. _________________ Make Computing Fun Again |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 11:55 am Post subject: |
|
|
szatox wrote: | Quote: | I was wondering if anybody is using gentoo for work? Or are you using it as a personal daily driver? | Yes, but
Quote: | Would it be too much work keeping it up to date? (I will not be changing any USE flags and install packages with all the features enabled, and will have minimal changes if any) | you have no experience with it.
Gentoo has a pretty steep learning curve. It is a good distro, but it might not be a good fit for your use case. You're likely to paint yourself into a corner because you don't know what you're doing and have no time to learn.
I don't know what you do for our job, but it might be a better idea to just setup qemu and have a bunch of disposable virtual machines with different versions or even distros. It surely requires some time to get used to (and yes, overcoming laziness, because 2 extra clicks to enter a VM is an unnecessary work you will be tempted to skip), but it pretty much removes all limits on software you're able to run.
You could even install Gentoo in one of those VMs and get yourself comfortable with it before committing to using it for work. |
Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags?
Would I paint myself into the corner if I only install pacakges as they are, and do not change any use flags? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Jul 26, 2024 12:05 pm Post subject: |
|
|
rzdndr,
first of all: Welcome to Gentoo Forums !
I am of the opinion that Gentoo can also be used in a corporate environment ... if Linux is already in use. I myself “got” Gentoo at work from a colleague. First I installed it on my test machine, then later on my production machine. Yes, I had the great advantage that my colleague already had very good knowledge of Gentoo (later I registered here in the forum).
But I would like to give a warning: Once you use Gentoo, there's no going back ... because you won't find the freedom and possibilities with Gentoo anywhere else ... it's a bit like here:
https://xkcd.com/456/
Maybe you would like to read this article?
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo
rzdndr wrote: | Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags? |
Yes, it is possible, because by setting a correct profile you already get all use flags set correctly automatically. As a KDE user, I use the profile: default/linux/amd64/23.0/desktop/plasma (stable) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
penguinomicon n00b
Joined: 25 May 2024 Posts: 3 Location: Australia
|
Posted: Fri Jul 26, 2024 12:06 pm Post subject: |
|
|
I've been using Gentoo as my daily driver for a few years. It sometimes has hiccups, but no more than any other distro or OS that I've tried over the years. I feel like Gentoo is currently the sweet spot when it comes to lightweight and flexible distros which are suitable for a daily driver. It wasn't always like this, eg 10 years ago I felt like Arch was the sweet spot, and five years ago I thought it was Void Linux. What I want from a daily driver is that it can run all the software I need to do my job (including not only popular browsers but also some proprietary software like zoom and slack), and it can handle all the customization I want to throw at it without getting unstable; for these reasons and more I consider Gentoo an excellent daily driver. Because it's a source-first distro, compiling anything you want when doing development is usually a breeze, because you automatically have all the build deps and development headers installed.
It's not hard to keep it up-to-date, so long as you update regularly. This is true of all rolling-release distros. The more you update a rolling release distro, the more stable it becomes. I usually do two system updates a week, one before starting work on Monday morning and one when I finish for the week on Friday afternoon. Lots of gentoo users upgrade less often and don't seem to have many problems so long as it's every week or so, but personally I just like to keep on top of it.
Because Gentoo's package management is highly sophisticated and can handle the sorts of things you're interested in, like multiple versions of the same package at the same time, the dependency graph can be complicated. So, sometimes an update is unable to immediately proceed for a particular package. It usually only affects one or two packages at a time, and after a week or so it will resolve itself. In the meantime, you just keep using the slightly older versions of the affected packages. If you get annoyed at seeing the same warnings during every update, you can dig deeper, but it's not usually necessary.
Note that although you can have multiple versions of Python installed, not all of them are supported. Every few months, a system update will come with a news item (`eselect news read`) about needing to upgrade to the next python version. It gives a few options for how to proceed, but the result is you generally only have a couple of versions of python on the system at the same time. I do see in `eix dev-lang/python` that 3.9 is still listed as available, although it's generally expected that people should be on 3.12 by now.
Some recommendations for someone using gentoo as a daily driver for the first time:
- Start using etckeeper as early as possible. It's good to be able to check what changes you made under /etc/portage at which time, and roll them back if necessary. I've now got nearly two years of commits (I didn't immediately start using etckeeper. In fact, realizing I needed to manage /etc/portage better is the reason I started using etckeeper.)
- Don't try too much customization for starters. Just stick to what's in the handbook. When you do start adding more USE flags and so on, do it incrementally, preferably after you already set up etckeeper.
- Don't expect to be able to build your new workstation in a day. If you're already fluent with Linux you can get most of a new gentoo system set up in a day, but there's always a bit more fiddling to do, and you need to give yourself time to figure it out when you're not already familiar with the distro. Some necessary packages like chromium just take a long time to compile, and then you're stuck twiddling your thumbs. So give yourself at least a few days when you have some time off. Also, what happens when you misconfigure something, and it seems to break everything, and you can't figure out how to get the system back into a good state? So also give yourself time to start over from scratch in case you get stuck. After a few months you'll feel more confident with gentoo, but be kind to yourself at the start.
- Some people might judge you if you're aren't compiling your own kernel and building your own initramfs, but I'm not one of them. Just go with a binary kernel for starters and if you still feel happy with gentoo after using it for a while you can make a decision later about whether to start compiling your own kernel. Personally, I like gentoo more for the customizability than the performance, so I'm still content with binary and don't feel any rush to load more stress and complexity on myself with tweaks that aren't that useful to me.
_________________ "For it was only a penguin - albeit of a huge, unknown species larger than the greatest of the known king penguins, and monstrous in its combined albinism and virtual eyelessness." — At the Mountains of Madness, H. P. Lovecraft |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 12:11 pm Post subject: |
|
|
pietinger wrote: | rzdndr,
first of all: Welcome to Gentoo Forums !
I am of the opinion that Gentoo can also be used in a corporate environment ... if Linux is already in use. I myself “got” Gentoo at work from a colleague. First I installed it on my test machine, then later on my production machine. Yes, I had the great advantage that my colleague already had very good knowledge of Gentoo (later I registered here in the forum).
But I would like to give a warning: Once you use Gentoo, there's no going back ... because you won't find the freedom and possibilities with Gentoo anywhere else ... it's a bit like here:
https://xkcd.com/456/
Maybe you would like to read this article?
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo
rzdndr wrote: | Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags? |
Yes, it is possible, because by setting a correct profile you already get all use flags set correctly automatically. As a KDE user, I use the profile: default/linux/amd64/23.0/desktop/plasma (stable) |
Hello
I just want to install stock packages. I even do not care to disable bluetooth, as I read in some other messages on the forums.
I will be running a simple X server, with stock TWM. Will need development tools, to do development work, currently mostly involving django and python, node, react.
And also use the system as a daily driver, and for my consulting work.
I am a bit intimidated by the use flags to be honest, and am thinking maybe if I do not change (if not a pressing issue) use flags, and install packages as they are I would be ok. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Jul 26, 2024 12:22 pm Post subject: |
|
|
rzdndr wrote: | I am a bit intimidated by the use flags to be honest, and am thinking maybe if I do not change (if not a pressing issue) use flags, and install packages as they are I would be ok. |
I can only support all of @penguinomicon's recommendations, especially:
Quote: | Don't try too much customization for starters. Just stick to what's in the handbook. When you do start adding more USE flags and so on, do it incrementally, [...] |
You can always check the effect of a (global) use flag (without activating it right away) with:
Code: | # USE="test-flag" emerge -pvD @world |
The same applies to testing the deactivation of a use flag:
Code: | # USE="-test-flag" emerge -pvD @world |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 512
|
Posted: Fri Jul 26, 2024 12:23 pm Post subject: |
|
|
FWIW -- I'm glad I installed Gentoo on VMs before I made the jump to installing in a real machine that I use every day. Even after two months of daily use, I still feel that I'm a long, long way from being on top of it. And that's after nearly 30 years of Linux experience. Also, I expected more from Gentoo than it was able to provide. But I guess you only find that out by trying it.
If I need to use different, incompatible versions of Linux tools, I install them in different virtual machines. Since VMs can be cloned, the bulk of the set-up only has to be done once. I would rather do this, that to try to work out how to maintain multiple versions on Gentoo, even if it's possible.
I still don't use Gentoo for my commercial work -- not because I couldn't, but because none of my customers do.
BR, Lars. |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 12:26 pm Post subject: |
|
|
penguinomicon wrote: | I've been using Gentoo as my daily driver for a few years. It sometimes has hiccups, but no more than any other distro or OS that I've tried over the years. I feel like Gentoo is currently the sweet spot when it comes to lightweight and flexible distros which are suitable for a daily driver. It wasn't always like this, eg 10 years ago I felt like Arch was the sweet spot, and five years ago I thought it was Void Linux. What I want from a daily driver is that it can run all the software I need to do my job (including not only popular browsers but also some proprietary software like zoom and slack), and it can handle all the customization I want to throw at it without getting unstable; for these reasons and more I consider Gentoo an excellent daily driver. Because it's a source-first distro, compiling anything you want when doing development is usually a breeze, because you automatically have all the build deps and development headers installed. |
Currently I am on void linux. My system has python 3.12. But the work that I do required python 3.9. I have overcome the problem with pyenv.
I have been reading about gentoo for the last years, and was thinking on switching to it. I was using Windows a couple of years ago. Swithced to NetBSD when I had a problem with wndows updates. Because of driver problems switched to FreeBSD. After an upgrade problem with freebsd, I thought why not go with linux. First wanted to install gentoo, but turned to slackware as it is a unix like system, and I had a usb handy. Then switched to Void. Currently I am on Void.
As you said. I want a stable, light, flexible distro that I can use as my daily driver and for my work too. Compiling the packages from source does not bother me.
penguinomicon wrote: | It's not hard to keep it up-to-date, so long as you update regularly. This is true of all rolling-release distros. The more you update a rolling release distro, the more stable it becomes. I usually do two system updates a week, one before starting work on Monday morning and one when I finish for the week on Friday afternoon. Lots of gentoo users upgrade less often and don't seem to have many problems so long as it's every week or so, but personally I just like to keep on top of it.
Because Gentoo's package management is highly sophisticated and can handle the sorts of things you're interested in, like multiple versions of the same package at the same time, the dependency graph can be complicated. So, sometimes an update is unable to immediately proceed for a particular package. It usually only affects one or two packages at a time, and after a week or so it will resolve itself. In the meantime, you just keep using the slightly older versions of the affected packages. If you get annoyed at seeing the same warnings during every update, you can dig deeper, but it's not usually necessary.
Note that although you can have multiple versions of Python installed, not all of them are supported. Every few months, a system update will come with a news item (`eselect news read`) about needing to upgrade to the next python version. It gives a few options for how to proceed, but the result is you generally only have a couple of versions of python on the system at the same time. I do see in `eix dev-lang/python` that 3.9 is still listed as available, although it's generally expected that people should be on 3.12 by now.
Some recommendations for someone using gentoo as a daily driver for the first time:
- Start using etckeeper as early as possible. It's good to be able to check what changes you made under /etc/portage at which time, and roll them back if necessary. I've now got nearly two years of commits (I didn't immediately start using etckeeper. In fact, realizing I needed to manage /etc/portage better is the reason I started using etckeeper.)
- Don't try too much customization for starters. Just stick to what's in the handbook. When you do start adding more USE flags and so on, do it incrementally, preferably after you already set up etckeeper.
- Don't expect to be able to build your new workstation in a day. If you're already fluent with Linux you can get most of a new gentoo system set up in a day, but there's always a bit more fiddling to do, and you need to give yourself time to figure it out when you're not already familiar with the distro. Some necessary packages like chromium just take a long time to compile, and then you're stuck twiddling your thumbs. So give yourself at least a few days when you have some time off. Also, what happens when you misconfigure something, and it seems to break everything, and you can't figure out how to get the system back into a good state? So also give yourself time to start over from scratch in case you get stuck. After a few months you'll feel more confident with gentoo, but be kind to yourself at the start.
- Some people might judge you if you're aren't compiling your own kernel and building your own initramfs, but I'm not one of them. Just go with a binary kernel for starters and if you still feel happy with gentoo after using it for a while you can make a decision later about whether to start compiling your own kernel. Personally, I like gentoo more for the customizability than the performance, so I'm still content with binary and don't feel any rush to load more stress and complexity on myself with tweaks that aren't that useful to me.
|
Actually I have started installing gentoo on a spare drive that I had. Going thru the docmentation and reading step by step.
I am not expecting to finish this today or tomorrow. Will proceed slow and steady.
I am planning on using binary kernels (the first choice regarding kernels in the handbook, not there yet).
Thanks for the information. |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 12:27 pm Post subject: |
|
|
pietinger wrote: | rzdndr wrote: | I am a bit intimidated by the use flags to be honest, and am thinking maybe if I do not change (if not a pressing issue) use flags, and install packages as they are I would be ok. |
I can only support all of @penguinomicon's recommendations, especially:
Quote: | Don't try too much customization for starters. Just stick to what's in the handbook. When you do start adding more USE flags and so on, do it incrementally, [...] |
You can always check the effect of a (global) use flag (without activating it right away) with:
Code: | # USE="test-flag" emerge -pvD @world |
The same applies to testing the deactivation of a use flag:
Code: | # USE="-test-flag" emerge -pvD @world |
|
Good to know. Thanks.
Will not be changing useflags at the moment. I will just install the tools, and packages that I am using on my current system. |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 12:30 pm Post subject: |
|
|
lars_the_bear wrote: | FWIW -- I'm glad I installed Gentoo on VMs before I made the jump to installing in a real machine that I use every day. Even after two months of daily use, I still feel that I'm a long, long way from being on top of it. And that's after nearly 30 years of Linux experience. Also, I expected more from Gentoo than it was able to provide. But I guess you only find that out by trying it.
If I need to use different, incompatible versions of Linux tools, I install them in different virtual machines. Since VMs can be cloned, the bulk of the set-up only has to be done once. I would rather do this, that to try to work out how to maintain multiple versions on Gentoo, even if it's possible.
I still don't use Gentoo for my commercial work -- not because I couldn't, but because none of my customers do.
BR, Lars. |
I will be using alternative, before installing multiple versions of a package. As it was the case with pyenv.
I will be test-driving gentoo first of course.
Thanks. |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Fri Jul 26, 2024 12:42 pm Post subject: |
|
|
rzdndr,
Welcome to Gentoo,
I think this use case is perfect for my point, Don't do frequent update.
You are a user of a computer, you are not a administrator that manage computer for other to use. So why update if the application do exactly what you need? Does update speed up the application usage? Does update fix a problem previous version that cannot address? These are the reason to perform update otherwise stay where you are use the system to perform work that reward your labour. Don't service the system just because it said update is available.
If you are thinking using basic XWindow is all you need than it is probably use Xfce is better than twm. twm is just too out dated to support modern daily usage. Xfce does not update very frequent and it is pretty stable for normal daily usage.
I like the idea of using virtualisation to support different use case. for example you said you need python3.9. upstream stop development on it. so why not encapsulate it with a VM or better a container so you don't need to worry any system update will disturb your on going work.
In my view, Gentoo is not the best for your use case. Think about use some kind of virtualisation is probably better for your use case.
If you are think what about security, I think you need to ask you self, what each update bring in from security point of view. because if you already have secured environment do you actually verify the secure update actually prevent a previous hole or could it introduce a new hole? for security you need to think your threat model, for example because the system will accept remote access therefor it is vulnerable to network attack or it is need to frequent download remote data and the remote data cannot always be trusted? again may be isolate the download process into a container and verify there first before take it in to working environment is better approch. |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 12:45 pm Post subject: |
|
|
pietinger wrote: | rzdndr,
first of all: Welcome to Gentoo Forums !
I am of the opinion that Gentoo can also be used in a corporate environment ... if Linux is already in use. I myself “got” Gentoo at work from a colleague. First I installed it on my test machine, then later on my production machine. Yes, I had the great advantage that my colleague already had very good knowledge of Gentoo (later I registered here in the forum).
But I would like to give a warning: Once you use Gentoo, there's no going back ... because you won't find the freedom and possibilities with Gentoo anywhere else ... it's a bit like here:
https://xkcd.com/456/
Maybe you would like to read this article?
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo
rzdndr wrote: | Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags? |
Yes, it is possible, because by setting a correct profile you already get all use flags set correctly automatically. As a KDE user, I use the profile: default/linux/amd64/23.0/desktop/plasma (stable) |
The "New at Gentoo" page is really nice. Thanks for the link. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5050 Location: Bavaria
|
Posted: Fri Jul 26, 2024 1:08 pm Post subject: |
|
|
rzdndr wrote: | pietinger wrote: | rzdndr wrote: | I am a bit intimidated by the use flags to be honest, and am thinking maybe if I do not change (if not a pressing issue) use flags, and install packages as they are I would be ok. |
I can only support all of @penguinomicon's recommendations, especially:
Quote: | Don't try too much customization for starters. Just stick to what's in the handbook. When you do start adding more USE flags and so on, do it incrementally, [...] |
You can always check the effect of a (global) use flag (without activating it right away) with:
Code: | # USE="test-flag" emerge -pvD @world |
The same applies to testing the deactivation of a use flag:
Code: | # USE="-test-flag" emerge -pvD @world |
|
Good to know. Thanks. |
I am very sorry ... ... (and I am getting very old) ... ... correct is of course:
Code: | emerge -uUDvp @world |
... _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3407
|
Posted: Fri Jul 26, 2024 4:12 pm Post subject: |
|
|
Quote: | Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags? | The difference between theory and doing it in practice is that they only do the same thing in theory.
As already mentioned, there are ready-made profiles that set reasonable use flags for you, so selecting the correct profile _should_ let you get up and running in no time.
The problem is things rarely work THIS well when you're just starting out.
By all means install it and start using. It can be a fun adventure and a great learning opportunity (including about Linux in general; a bunch of things I learned from Gentoo helped me rescue Debian, Ubuntu, and RHEL servers multiple times when things went wrong).
Don't use it for work though. It certainly can be used for work. I use it for work. But I am also comfortable enough I don't have to ask, and your millage might vary. _________________ Make Computing Fun Again |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Jul 26, 2024 5:08 pm Post subject: |
|
|
szatox wrote: | Quote: | Hmmm. Isn't it possible to setup a simple (default configuration) desktop system, and installing packages without changing use flags? | The difference between theory and doing it in practice is that they only do the same thing in theory.
As already mentioned, there are ready-made profiles that set reasonable use flags for you, so selecting the correct profile _should_ let you get up and running in no time.
The problem is things rarely work THIS well when you're just starting out.
By all means install it and start using. It can be a fun adventure and a great learning opportunity (including about Linux in general; a bunch of things I learned from Gentoo helped me rescue Debian, Ubuntu, and RHEL servers multiple times when things went wrong).
Don't use it for work though. It certainly can be used for work. I use it for work. But I am also comfortable enough I don't have to ask, and your millage might vary. |
Yes installing and test driving is the way to go. |
|
Back to top |
|
|
SiberianSniper Guru
Joined: 06 Apr 2006 Posts: 380 Location: Dayton, OH, USA
|
Posted: Fri Jul 26, 2024 5:52 pm Post subject: |
|
|
As a professional software developer, I love working for a company that lets me use Gentoo on my company computer. It's the best distro for software development in my opinion, and having been a user for almost two decades, I've got it down to where it takes minimal effort to maintain.
That said, I think something like Lmod or GNU Environment Modules would be a better option for your case. Essentially, you can install multiple copies of your software with different versions, build options, or whatever other differences to different locations, then use the module command to set environment variables properly to use them. Both systems support module dependencies to simplify module loading. It's a little bit of work up front, but much less than a full OS installation, and once you've got a good system, it's really easy to expand. |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Tue Jul 30, 2024 8:49 am Post subject: |
|
|
SiberianSniper wrote: | As a professional software developer, I love working for a company that lets me use Gentoo on my company computer. It's the best distro for software development in my opinion, and having been a user for almost two decades, I've got it down to where it takes minimal effort to maintain.
That said, I think something like Lmod or GNU Environment Modules would be a better option for your case. Essentially, you can install multiple copies of your software with different versions, build options, or whatever other differences to different locations, then use the module command to set environment variables properly to use them. Both systems support module dependencies to simplify module loading. It's a little bit of work up front, but much less than a full OS installation, and once you've got a good system, it's really easy to expand. |
The company that I am working for does not pose restrictions on the system you are using. The codebase is on git and I use nodejs, python.
Would you mind sharing your experience to try to maintain the system with minimal effort?
regards |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Tue Jul 30, 2024 8:53 am Post subject: |
|
|
pingtoo wrote: | rzdndr,
Welcome to Gentoo,
I think this use case is perfect for my point, Don't do frequent update.
You are a user of a computer, you are not a administrator that manage computer for other to use. So why update if the application do exactly what you need? Does update speed up the application usage? Does update fix a problem previous version that cannot address? These are the reason to perform update otherwise stay where you are use the system to perform work that reward your labour. Don't service the system just because it said update is available.
If you are thinking using basic XWindow is all you need than it is probably use Xfce is better than twm. twm is just too out dated to support modern daily usage. Xfce does not update very frequent and it is pretty stable for normal daily usage.
I like the idea of using virtualisation to support different use case. for example you said you need python3.9. upstream stop development on it. so why not encapsulate it with a VM or better a container so you don't need to worry any system update will disturb your on going work.
In my view, Gentoo is not the best for your use case. Think about use some kind of virtualisation is probably better for your use case. |
If you don't mind me asking. What would gentoo be good for?
pingtoo wrote: | If you are think what about security, I think you need to ask you self, what each update bring in from security point of view. because if you already have secured environment do you actually verify the secure update actually prevent a previous hole or could it introduce a new hole? for security you need to think your threat model, for example because the system will accept remote access therefor it is vulnerable to network attack or it is need to frequent download remote data and the remote data cannot always be trusted? again may be isolate the download process into a container and verify there first before take it in to working environment is better approch. |
|
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 512
|
Posted: Tue Jul 30, 2024 9:26 am Post subject: |
|
|
rzdndr wrote: |
If you don't mind me asking. What would gentoo be good for?
|
I think you'll like Gentoo if you're the kind of person who buys a rare, highly-strung sports car, then spends every weekend tinkering with its engine, to make it go 10 km/h faster
BR, Lars. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3407
|
Posted: Tue Jul 30, 2024 9:59 am Post subject: |
|
|
lars_the_bear wrote: | rzdndr wrote: |
If you don't mind me asking. What would gentoo be good for?
|
I think you'll like Gentoo if you're the kind of person who buys a rare, highly-strung sports car, then spends every weekend tinkering with its engine, to make it go 10 km/h faster
BR, Lars. | Yeah, to a large extent it's a matter of taste: you eother like it or you don't.
This said, Gentoo really shines when you need to build a custom solution for something. You _can_ force your way of doing things onto any distribution, but when those distributions have their ways of doing things, you're basically working against gravity, which multiplies the effort required.
Gentoo is specifically designed to be flexible. You still need to know what you're doing, but the resistance you'll encounter is much lower. _________________ Make Computing Fun Again |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Tue Jul 30, 2024 10:50 am Post subject: |
|
|
rzdndr wrote: | pingtoo wrote: | rzdndr,
Welcome to Gentoo,
I think this use case is perfect for my point, Don't do frequent update.
You are a user of a computer, you are not a administrator that manage computer for other to use. So why update if the application do exactly what you need? Does update speed up the application usage? Does update fix a problem previous version that cannot address? These are the reason to perform update otherwise stay where you are use the system to perform work that reward your labour. Don't service the system just because it said update is available.
If you are thinking using basic XWindow is all you need than it is probably use Xfce is better than twm. twm is just too out dated to support modern daily usage. Xfce does not update very frequent and it is pretty stable for normal daily usage.
I like the idea of using virtualisation to support different use case. for example you said you need python3.9. upstream stop development on it. so why not encapsulate it with a VM or better a container so you don't need to worry any system update will disturb your on going work.
In my view, Gentoo is not the best for your use case. Think about use some kind of virtualisation is probably better for your use case. |
If you don't mind me asking. What would gentoo be good for? |
I think Gentoo is a habit, it is for fun. You can make it do whatever you like, And it is yours nobody else have the same construct as yours.
In my career many time I encounter emergency and when dig in to code, it look very messy very hard to follow, and you need to resolve it in hurry, this add stress is unnecessary should there is a standard to follow (as in how to name something, where it should be located, etc...). What do you think when the day come that Gentoo decide to drop support Pythony3.9 while you are in middle of important project?
In a funny way Gentoo actually have solution to my above question, Gentoo allow you create your own local repository so you can maintain it. That is why I like Gentoo it give that flexibility no other distros do. However you need to learn Gentoo, it is not simple point and click.
lars_the_bear wrote: | I think you'll like Gentoo if you're the kind of person who buys a rare, highly-strung sports car, then spends every weekend tinkering with its engine, to make it go 10 km/h faster |
|
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Tue Jul 30, 2024 10:57 am Post subject: |
|
|
pingtoo wrote: | rzdndr wrote: | pingtoo wrote: | rzdndr,
Welcome to Gentoo,
I think this use case is perfect for my point, Don't do frequent update.
You are a user of a computer, you are not a administrator that manage computer for other to use. So why update if the application do exactly what you need? Does update speed up the application usage? Does update fix a problem previous version that cannot address? These are the reason to perform update otherwise stay where you are use the system to perform work that reward your labour. Don't service the system just because it said update is available.
If you are thinking using basic XWindow is all you need than it is probably use Xfce is better than twm. twm is just too out dated to support modern daily usage. Xfce does not update very frequent and it is pretty stable for normal daily usage.
I like the idea of using virtualisation to support different use case. for example you said you need python3.9. upstream stop development on it. so why not encapsulate it with a VM or better a container so you don't need to worry any system update will disturb your on going work.
In my view, Gentoo is not the best for your use case. Think about use some kind of virtualisation is probably better for your use case. |
If you don't mind me asking. What would gentoo be good for? |
You could use pyenv, or some other kind of tool that does what pyenv does.
pingtoo wrote: | I think Gentoo is a habit, it is for fun. You can make it do whatever you like, And it is yours nobody else have the same construct as yours.
In my career many time I encounter emergency and when dig in to code, it look very messy very hard to follow, and you need to resolve it in hurry, this add stress is unnecessary should there is a standard to follow (as in how to name something, where it should be located, etc...). What do you think when the day come that Gentoo decide to drop support Pythony3.9 while you are in middle of important project? |
In a funny way Gentoo actually have solution to my above question, Gentoo allow you create your own local repository so you can maintain it. That is why I like Gentoo it give that flexibility no other distros do. However you need to learn Gentoo, it is not simple point and click.
lars_the_bear wrote: | I think you'll like Gentoo if you're the kind of person who buys a rare, highly-strung sports car, then spends every weekend tinkering with its engine, to make it go 10 km/h faster |
|
|
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Tue Jul 30, 2024 11:36 am Post subject: |
|
|
rzdndr wrote: | You could use pyenv, or some other kind of tool that does what pyenv does. |
Yes, I understand there are many way to do the same thing. my point is Gentoo being a rolling system, changes can happen at most unwanted time.
Gentoo being a rolling system become hard to keep up, so many start design automation, this had let to unwanted stress in many occasions in Gentoo history, you can search this forums to find unhappy customer for their Gentoo update cause they stop working and try to address the changes. |
|
Back to top |
|
|
NeglectedRudderPug n00b
Joined: 04 Oct 2023 Posts: 26
|
Posted: Sun Aug 04, 2024 3:12 am Post subject: |
|
|
I use Gentoo for work and personal purposes myself. I started using Gentoo late last year as my daily driver - I didn't test or anything I just jumped right in and replaced my OpenSUSE with it. I do a lot of development and server admin work in general and I've been using Linux itself for around 20 years at this point, so I admit I am quite well versed in Linux. (But, getting old )
Installation and setup overall was easy and maintenance is a breeze. As of yet, it hasn't broken itself in a way that couldn't be quickly fixed, either. Important changes are provided as 'news' items directly on your system so, if breaking changes are in bound you're aware of them before you begin... unlike Arch, which seems to be intent to commit suicide during updates if you don't regularly check their website, as I found out the hard way.
You can also run multiple versions of python in 'slots', I do so myself and it works well.
In all honesty, I've come to really love Gentoo and the way it works, it finally feels like a distribution that 'fits' me.
So, if you want to go ahead and use it for work purposes, go ahead and give it a try. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|