Anaconda is the preferred method of installing DeepFaceLab on Linux. Just follow the tutorial.
You will need FFMpeg, Git, and the most recent NVIDIA driver for your system to use this project.
If you are here, then you already have everything...
wget "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh"
bash /notebooks/Anaconda3-2022.05-Linux-x86_64.sh
wget "https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh"
bash /notebooks/Miniconda3-py39_4.12.0-Linux-x86_64.sh
Just run it in the terminal.
Check latest cudnn and cudatoolkit version for your GPU device.
conda create -n deepfacelab -c main python=3.7 cudnn=7.6.5 cudatoolkit=10.1.243
conda activate deepfacelab
git clone --depth 1 https://github.com/tania010/DeepFaceLab_Linux.git
cd DeepFaceLab_Linux
git clone --depth 1 https://github.com/iperov/DeepFaceLab.git
python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
Use script 4.1 from the scripts directory.
Or download manually
Run all scripts with BASH shell
bash 1_clear_workspace.sh
etc