Spyder 5 is not available even in the Ubuntu 21.10 development release because it was released on September 16, 2021, a few days before this question was posted, but it is available from the official Spyder website or it can be installed through the Anaconda distribution.
Update Anaconda distribution.
conda update conda
Install Spyder 5 IDE.
conda install -c anaconda spyder
At the time this was written the above command installs Spyder 5.0.5.
Type y
to proceed with the installation.
List spyder packages in the current environment.
conda list spyder
When the installation is finished launch Spyder with the command spyder
.
The Anaconda Python Distribution (Linux) webpage has information about advanced options for installing Spyder 5 in Linux.
Spyder 5 core components (source)
Editor
Work efficiently in a multi-language editor with a function/class browser, real-time code analysis tools (pyflakes, pylint, and pycodestyle), automatic code completion (jedi and rope), horizontal/vertical splitting, and go-to-definition.
Interactive console
Harness the power of as many IPython consoles as you like with full workspace and debugging support, all within the flexibility of a full GUI interface. Instantly run your code by line, cell, or file, and render plots right inline with the output or in interactive windows.
Documentation viewer
Render documentation in real-time with Sphinx for any class or function, whether external or user-created, from either the Editor or a Console.
Variable explorer
Inspect any variables, functions or objects created during your session. Editing and interaction is supported with many common types, including numeric/strings/bools, Python lists/tuples/dictionaries, dates/timedeltas, Numpy arrays, Pandas index/series/dataframes, PIL/Pillow images, and more.
Development tools
Examine your code with the static analyzer, trace its execution with the interactive debugger, and unleash its performance with the profiler. Keep things organized with project support and a built-in file explorer, and use find in files to search across entire projects with full regex support.