My Raspberry Pi 3B seems to be slow and hangs when I try to install packages, however, I still want to use it due to its low power usage compared to newer Pi's.
I just wanted to know if I can use a more powerful Pi, like the Raspberry Pi 5 or even other brands, to install packages using their better hardware specs onto a microSD card, and then move the microSD to the Raspberry Pi 3B. Would there be compatibility issues, say due to the fact that package installations and software updates were performed using a different model?
The operating system I am working with is Lubuntu.