CalCleaner is a free and open source CalDAV Calendar cleaner application for Linux, Windows and MacOS. It is written in Python and released under GNU General Public License v3.0. You can connect multiple CalDAV accounts like Nextcloud, Google Calendar, iCloud and more. It comes with a option to select the calendar to clean, recurring events delete option and custom purge events older certain weeks options.
Install CalCleaner on Ubuntu Linux
You can install CalCleaner app from flathub as a flatpak package file. Follow the below instructions for flatpak and flathub installation. If you already have them, then skip this.
Restart your system after the installation. After that open the terminal software using ctrl+alt+t keys or via application menu and run below CalCleaner app flatpak install command.
flatpak install flathub org.flozz.calcleaner
You can open the CalCleaner app using below command.
flatpak run org.flozz.calcleaner
And also uninstall it via this command.
sudo flatpak uninstall org.flozz.calcleaner