Brian <a...@cityscape.co.uk> writes:

> On Fri 17 Feb 2023 at 05:55:03 +0800, winnie hw wrote:
>
>> Most versions in snapd are newer than apt. such as ruby,
>> 
>> snap install ruby  # version 3.2.1, or
>> apt  install ruby  # version 1:3.0~exp1
>
> I cannot better the existing very informative replies.
> It comes down to what you want to achieve.

Seconded. Specifically in the case of programming languages it may make
sense to install a current version and they sometimes provide a
convenient way to install from source. Personally I've used Rustup to
install current Rust and pyenv to install current Python. Haven't used
snaps for a short trial with Firefox but since it didn't work I dumped
it.

Pyenv especially is pretty neat since it makes easy to install and run
different versions of Python.

I do wonder about those versions though. Ruby version 1:3.0~exp1???
Doesn't seem to be the current version for any Debian.

Reply via email to