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:
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...
Jump to solution
10 Replies
HikariKnight
HikariKnight4d ago
distrobox
Solution
HikariKnight
HikariKnight4d ago
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...
HikariKnight
HikariKnight4d ago
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
foxy
foxyOP4d ago
awesome, thank you!!
HikariKnight
HikariKnight4d ago
distrobox has been awesome for the little dev work i do as i no longer have to juggle library versions or VMs.
foxy
foxyOP4d ago
that's epic!! you provided me with two options, what approach do you find easy for yourself? vscode inside distrobox or out?
HikariKnight
HikariKnight4d ago
depends on preference, i have different containers depending on if i need to target ubuntu/whatever or fedora so i use the flatpak
foxy
foxyOP4d ago
I installed it within an ubuntu container, and its working perfect! thanks for your help :)
HikariKnight
HikariKnight4d ago
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)
DevilFish303
DevilFish3032d ago
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
No description
Want results from more Discord servers?
Add your server