The default apt install spyder gives you only Spyder 5.5.x.
Here are the best ways to get the latest Spyder 6.x:
Spyder-6.x.x-Linux-x86_64.sh)bash ~/Downloads/Spyder-6*.sh~/spyder or wherever you choose)~/spyder/bin/spyder or from menuPros: No dependencies, no conda/pip mess, auto-updates built-in.
Cons: Fixed bundled Python version.
# 1. Install Miniconda if you don't have it
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh # follow prompts, say yes to init
# 2. Restart terminal or run:
source ~/.bashrc
# 3. Create & install Spyder 6
conda create -n spyder-env python=3.12 -y
conda activate spyder-env
conda install -c conda-forge spyder -y
# Launch
spyder
Pros: Full control, manages environments, Spyder auto-detects conda envs.
Often breaks on Ubuntu 24.04 due to Qt/Wayland issues. Use only as last resort.
python3 -m venv ~/spyder-venv
source ~/spyder-venv/bin/activate
sudo apt update
sudo apt install python3-pyqt5 pyqt5-dev-tools python3-pyqt5.qtsvg -y
pip install --upgrade spyder
spyder