andres_garcia
Databricks Employee
Databricks Employee

I’ve found that using DBR 15.4, Personal Compute, and a Single Node is the most effective setup for installing UCX via web terminal.

Note:

The Databricks CLI is the recommended and most efficient option for managing the UCX installation. Always try the CLI first for a streamlined and reliable experience.

This web terminal workaround can be used if you’re facing restrictions such as limitations on software installation, firewall rules blocking necessary sites, or other constraints. Use it only in such scenarios where the CLI is not feasible.

Follow these steps for the installation:

Step 1: Install Required Dependencies and Set Up Python Virtual Environment

Run the following commands to ensure your environment is ready:

sudo apt update &&  
sudo apt upgrade -y &&  
sudo apt --fix-broken install -y &&  
sudo apt install -y python3.10-venv 

Step 2: Unset the Runtime Version Environment Variable

unset DATABRICKS_RUNTIME_VERSION  

Step 3: Install the Databricks CLI (Optional for DBR 15.4 and above)

If you encounter any issues calling the CLI, install it using this command:

curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh 

Step 4: Install UCX

Finally, install UCX with the following command (make sure you’re on DBR 15.4 or later) :

databricks labs install ucx 

 

View solution in original post