Install DataSpell on Ubuntu 24.04

Install DataSpell on Ubuntu 24.04

DataSpell is JetBrains specialized integrated development environment (IDE) tailored for data science workflows. It comes with excellent support for Jupyter notebooks, Python environments, and popular data tools, making it a powerful choice for analysts, researchers, and engineers. This tutorial shows how to install DataSpell on Ubuntu 24.04.

Install DataSpell

First, fetch the most recent release number directly from JetBrains API:

DATASPELL_VERSION=$(curl -s "https://data.services.jetbrains.com/products/releases?code=DS&latest=true&type=release" | grep -Po '"version":"\K[0-9.]+')

Download the corresponding DataSpell archive:

wget -O dataspell.tar.gz https://download.jetbrains.com/python/dataspell-$DATASPELL_VERSION.tar.gz

Prepare the installation directory and unpack the files into it:

sudo mkdir -p /opt/dataspell
sudo tar xf dataspell.tar.gz --strip-components=1 -C /opt/dataspell

Once extraction is finished, remove the archive to free disk space:

rm -rf dataspell.tar.gz

Testing DataSpell

You can start the DataSpell straight from the terminal:

/opt/dataspell/bin/dataspell

After it opens, you'll have the option to create a desktop entry from the welcome screen. This makes DataSpell accessible from the application launcher and lets you pin it to favorites.

Uninstall DataSpell

If you decided to remove DataSpell, simply delete the installation directory:

sudo rm -rf /opt/dataspell

Also, remove the desktop shortcut:

sudo rm -rf /usr/share/applications/jetbrains-dataspell.desktop

Remove any leftover settings, cache, or local data:

rm -rf ~/.{cache,config,local/share}/JetBrains/DataSpell*

Leave a Comment

Cancel reply

Your email address will not be published.