There's also the beauty in the point of Free Software: it's for freedom. This means it's okay that others profit. It's about you having power. That means you have the power to profit too. All you gotta share is the code for what you distribute. I like free software not because no one is making money. I like people making money. I like it because I can change it. That's important and everyone who gets upset simply bec…
One way is if the software is a marketing tool for selling something else. Then people sharing or using it is good for marketing the other service.
Another way is if the product is useless to the customer base in source form so they need to buy the compiled version, and aren’t technical enough to do it themselves.
But in general making software to sell needs a propitery license if you want to make money.