Posts

Showing posts with the label Source build

Changing the Default Terminal to Terminator on Ubuntu

Image
Terminator is a powerful tool for developers, allowing you to manage multiple terminal sessions in a single window. Features like splitting panes, tabs, and simultaneous input can significantly boost your productivity. Step 1: Install Terminator First, install Terminator using the apt package manager. sudo apt update sudo apt install terminator -y The -y option automatically answers 'yes' to any prompts during the installation process, streamlining the setup. Step 2: Set as the System Default Ubuntu uses a utility called update-alternatives to manage default applications. We'll use this tool to change the default terminal emulator ( x-terminal-emulator ) to Terminator. Run the Configuration Command Enter the following command in your terminal. A list of available terminals will appear. sudo update-alternatives --config x-terminal-emulator Select Terminator From the resulting list, enter the selection number corresponding to terminator and press Enter. ...

How To Install Python 3.10 on Ubuntu 24.04 for pyannote.audio Compatibility

Image
I'm currently working with pyannote.audio version 3.1.1, and for full compatibility, it requires Python 3.10—especially because it was trained with torch==1.13.1 and CUDA 11.7. But by default, Ubuntu 24.04 ships with Python 3.12, and that caused some issues with dependencies. Python 3.10 Isn’t Included in Ubuntu 24.04 Ubuntu 24.04 (codename: noble ) only comes with Python 3.12 by default. When I tried to install Python 3.10 using just sudo apt update , the package simply couldn’t be found—because it isn’t included in the official package repositories. To install Python 3.10, I had to add the deadsnakes/ppa . This is a reliable third-party repository that provides older or alternative Python versions not offered in Ubuntu’s official repositories. # Add the Deadsnakes PPA $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt update # Install Python 3.10 and related tools $ sudo apt install python3.10 python3.10-venv python3.10-dev \ python3.10-distutils p...