Installing CUDA and drivers on Ubuntu

First, a disclaimer: Ubuntu is not my favorite distribution. I prefer rolling releases to versioned distros with scheduled upgrades, and Ubuntu is a typical example of the latter. That said, it is the default in my lab, so computers come with it preinstalled, and I would rather not redo the partitioning and LDAP setup myself. A few things I run into regularly: Some CLI programs are not available in the default apt repositories and must be installed with snap, as AppImages, or with their own installers (the latter is fine, I just need to add them to my update script). Packages available through apt can be months or years behind the latest release, which matters when other programs depend on them or when I need a specific feature. But the part that has cost me the most time is graphics card management, at least when you need the GPU to train or use neural networks. On Arch Linux, it is very simple: ...

November 13, 2026

Writing LaTeX with Vim

Over the last few months, I’ve changed IDEs, switching from VSCode to NeoVim, because this editor has always had my affection for its lightness and comfort in the terminal. So I went from an editor that I’d configured to write mainly Python to a multi-language editor, powerful because of the keyboard control and the multiple, easily configurable plugins. However, I always wrote my LaTeX files on Overleaf, even at the draft stage, when I wasn’t yet sharing them with my supervisors. That’s why I wanted to move to a local editor that I’m familiar with. ...

July 9, 2024