Coding on bazzite
Hi fam, I just installed the OS and I'm wondering what would be the best way to target installing dev tools like node, php, etc.
Thanks!
Solution:Jump to solution
and you can put your dev IDE in distrobox too if it doesnt support working with containers. otherwise if you use something like vscode you can run the vscode flatpak and make it connect to the container
https://github.com/89luca89/distrobox/blob/main/docs/posts/integrate_vscode_distrobox.md#from-flatpak...
GitHub
distrobox/docs/posts/integrate_vscode_distrobox.md at main · 89luca...
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
10 Replies
distrobox
Solution
and you can put your dev IDE in distrobox too if it doesnt support working with containers. otherwise if you use something like vscode you can run the vscode flatpak and make it connect to the container
https://github.com/89luca89/distrobox/blob/main/docs/posts/integrate_vscode_distrobox.md#from-flatpak
GitHub
distrobox/docs/posts/integrate_vscode_distrobox.md at main · 89luca...
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
also the good thing with using distrobox for the dev environment is that you can
1. use a distro youre familiar with and not be locked to fedora and its package names if you know by heart the package names on ubuntu (or your target version of the libraries are the ubuntu versions)
2. you can tell distrobox when you make the container to give the container its own homedirectory separate from yours so your actual home directory stays clean
awesome, thank you!!
distrobox has been awesome for the little dev work i do as i no longer have to juggle library versions or VMs.
that's epic!!
you provided me with two options, what approach do you find easy for yourself?
vscode inside distrobox or out?
depends on preference, i have different containers depending on if i need to target ubuntu/whatever or fedora so i use the flatpak
I installed it within an ubuntu container, and its working perfect!
thanks for your help :)
if you plan to use multiple containers for dev, i highly recommend different home directories for each (i recommend this in general tbh so you dont pollute your homedir with dev stuff and potential changes to your .bashrc that assumes things that dont exist on the host)
i install toolchains under /opt and install jetbrains IDEs with toolbox on baremetal:
neon-sdk is a custom buildroot toolchain for compiling with C++
then for each IDE, i just set the PATH variables to find the toolchains/sdks here