Closed bviktor closed 4 years ago
apt search --names-only nvidia-driver 2>/dev/null | grep ^nvidia-driver | cut -d- -f3 | cut -d/ -f1
Lol...
I'm not sure this can be done dynamically, as questions can only be asked before tasks, but querying the list of available drivers requires tasks to be run...
Nope. It can be specified via variable though, should suffice.