Page 1 of 1

How to update Mono

Posted: Wed 07 Sep 2022 5:44 pm
by Nottub
Just a quick question regarding updating Mono on my Raspberry Pi (P4 running Buster).

Can you simply use - "sudo apt install mono-complete" and allow it to overwrite or am I being too simplistic?


Thanks

Martyn

Re: How to update Mono

Posted: Wed 07 Sep 2022 5:49 pm
by sutne
It will be updated if you update Raspbian.
Run the commands:

Code: Select all

sudo apt update
sudo apt full-upgrade

Re: How to update Mono

Posted: Wed 07 Sep 2022 6:43 pm
by Nottub
Thanks for this. I have run the 'full-upgrade', (as I do every so often) and checked the mono version with 'mono --version' and have this version '5.18.0.240'.

I dont think this is the latest version as mentioned in the CMX latest update which mentions 'v6.12 or later for e-mail support'.

Is it worth keeping mono up to date? if so how do I update to the latest version.

Thanks

Martyn

Re: How to update Mono

Posted: Wed 07 Sep 2022 6:50 pm
by freddie
5.18 is probably the latest version that the Buster maintainers have included in their distribution. You will have to change your package manager to pull in a later version direct from the Mono maintainers. I did this at the weekend with my Ubuntu distribution, which uses the same package manager as Buster. I used the following guide and found it easy to do:

https://www.mono-project.com/download/stable/

Re: How to update Mono

Posted: Wed 07 Sep 2022 7:03 pm
by sutne
Strange, I am running Buster and have latest version of mono.

Code: Select all

 OS: Linux 5.10.103-v7+ armv7l
Description: Raspbian GNU/Linux 10 (buster)
Mono JIT compiler version 6.12.0.182 (tarball Tue Jun 14 22:53:32 UTC 2022)

Re: How to update Mono

Posted: Wed 07 Sep 2022 7:14 pm
by Nottub
freddie wrote: Wed 07 Sep 2022 6:50 pm 5.18 is probably the latest version that the Buster maintainers have included in their distribution. You will have to change your package manager to pull in a later version direct from the Mono maintainers. I did this at the weekend with my Ubuntu distribution, which uses the same package manager as Buster. I used the following guide and found it easy to do:

https://www.mono-project.com/download/stable/
Thanks Freddie, I think I'll leave it be. I'm not that confident yet. Don't want to bugger it up.

Thanks
Martyn

Re: How to update Mono

Posted: Wed 07 Sep 2022 7:34 pm
by HansR