To install Python and pip on Ubuntu 24.04, open the terminal and run sudo apt update. Install Python 3 with sudo apt install python3, then install pip with sudo apt install python3-pip. Confirm installation by checking versions with python3 --version and pip3 --version.