Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

Later version of mono for Raspberry Pi 2

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

ExperiMentor
Posts: 50
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Working version of mono

Post by ExperiMentor » Sun 06 May 2018 8:42 am

The main problem seems to be that requests to download mono default to the latest version, and the old versions we need are no longer on the mono website.

Fortunately, there are working versions stored elsewhere.

This works for me installing it on a Raspberry Pi 3 B+. Then can transfer the SD card to the Raspberry Pi Zero W which is attached to my Weather station. (Pi Zero W is perfectly powerful enough to be capable of running Cumulus, but installation can take ages due to slower processor etc, so I prefer to set up on a faster RPi). As it runs on RPi3 and PiZero, I guess it will be OK with RPi1 and RPi2 also.

The following gives mono v3.10 and works for me. Also has an advantage of not needing the very long delay after sudo apt-get install ...

First, remove old versions of mono if needed (it's complicated - see the following post)

then
cd /var/cache/apt/archives
sudo wget https://sourceforge.net/projects/mono31 ... b/download
This saves mono in current directory with filename download, so need to change the filename
sudo mv download mono_3.10-armhf.deb

sudo dpkg -i mono_3.10-armhf.deb

and that's it!
To check mono version, can use
mono -V
but for an unknown reason that doesn't work until after reboot. Don't worry - mono IS installed
Last edited by ExperiMentor on Sun 06 May 2018 8:50 am, edited 1 time in total.

ExperiMentor
Posts: 50
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Removing previous installs of mono

Post by ExperiMentor » Sun 06 May 2018 8:47 am

This is laborious and may contain too many unneeded sudo apt autoremove, but it works like this so I left them in!

sudo apt-get remove mono-complete
sudo apt-get purge mono-complete
sudo apt autoremove

Other instruction: seems useful if failed install (I had a time with mono –V reporting v4.6.2.7 but the above said nothing to remove)
Purge all the base libraries and everything dependent will be removed
sudo apt-get purge libmono* cli-common mono-runtime
sudo apt-get autoremove

This reported unable to remove some non-empty directories, so manually:
sudo rm -rf /etc/mono/certstore
sudo rm -rf /usr/lib/mono

Despite the above, /var/cache/apt/archives still has loads of files libmono*.deb and mono*.deb so I manually deleted them
sudo rm /var/cache/apt/archives/libmono*.deb
sudo rm /var/cache/apt/archives/mono*.deb

sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo apt autoremove
Then remove links to the sources which may point to recent versions:
cd /etc/apt/sources.list.d
sudo rm mono-official-stable.list
sudo rm mono-xamarin.list and/or any other ‘mono’ lists

vr34
Posts: 25
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Raspbian Stretch, CumulusMX
Location: South of France
Contact:

Re: Later version of mono for Raspberry Pi 2

Post by vr34 » Sun 03 Jun 2018 12:36 pm

Many thanks Steen9542 for your message on page 3 of the present topic "Later version of mono for Raspberry Pi 2" with the fully detailed procedure to install mono 4.0.5.1 to run my fine offset WS (Aercus WS3083) !!! ;)
The solution works also with Pi 3 with french configuration.

History : previously my WS3083 was working wth CumulusMX under Jessy with mono 3.2.8
Alerted by the writting limitation of the microSD card, I decided to install a small usb SSD. But I found that my NOOBS installation was difficult to transfer to the SDD. I decided to install a full clean version of Stretch without NOOBS and I recovered my previous CumulusMX folder with the saved data and personnal configuration from my old microSD card.


sudo mono CumulusMX.exe -lang fr-FR
works perfectly :)

ExperiMentor
Posts: 50
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Later version of mono for Raspberry Pi 2

Post by ExperiMentor » Thu 07 Jun 2018 10:12 pm

[quote=I orderted a RPi3 (perhaps my problems depents on my RPi1).
Frank[/quote]

Just to say that Cumulus MX will run perfectly on any version of Raspberry Pi. A Pi Zero W is perhaps the best choice because of small size, low power use and has all the connections you need (1x USB for the weather station and built in WiFi).

Installation (especially of Mono) can take ages on a Pi Zero - but you can build the SD card on a Pi3, then swap it into a Pi Zero W for 'production'.

Post Reply