How do I remove a package from OpenWrt?
Remove it next time you use luci-app-attendedsysupgrade , config files will persist until next upgrade after.
I uninstalled it, but is it correct to uninstall it from the software menu?
What is your primary goal? To remove the package because you don't want the service/feature that it offers? or is it to save/recover disk space?
If the former, sure, go ahead and use the uninstall from the software menu.
But if it's the latter, it depends on the device/filesystem type and also if the package was included in the original image or if it was added later. On squashfs, removing a package that was part of the original image will result in consuming more space rather than saving it. You can create custom images with the package omitted if you are trying to save space in this scenario.
Yes, you can uninstall package, if you got 8 or 16MB flash device do owut / luci-app-attendedsysupgrade when /overlay (in first page of luci) exceeds half.
Just be aware that since the orginal image includes it, a reset of the device will "reinstall" the package.
If your desire is to permanent remove the package from use, you may want to ensure you create a firmware that omits it. This is also the only way to regain flash space (if that is also a concern). Others have mentioned this as well.