How to update all packages?

I am using Python 3.9.1 with Spyder 4.1.5 on Linux. How can I update all python packages?