I've been diving into Linux for about a month now, primarily using it for coding due to my college's recommendation. Even though I have a dual-boot setup with Windows, I find myself on Linux 99% of the time. The tools like `gcc` and `gdb` have been a breeze to set up compared to the hassle of getting MinGW to work on Windows. As a computer science major, I'll be doing a lot of coding and I hope to get into open source in the future. I'm not picky when it comes to customization; my main goal is to have an efficient setup that boosts my productivity. Currently, I'm trying out Debian Bookworm. So, what are some things I should really explore in Linux that aren't as easy to do on Windows?
1 Answer
One cool thing you can do in Debian is use `apt-get source ` to get the source code for any program or library. This can be super helpful as it lets you debug using the actual source in GDB. Also, installing `package-name-deb` helps get better backtraces with GDB. It’s a fantastic way to dive deeper into how things work! Just a heads up, this should work on most distros, but you might need to enable some extra software.
Oh, nice! I didn’t realize I could do that. I’m looking to learn more about how libraries work too!