Install text generations webui - HelloMorningStar/Bring-up-two-miao-miao GitHub Wiki

<> Hey everyone, I installed a fresh ubuntu and this sequence solved this issue:

Update apt package manager and change into home directory

sudo apt-get update && cd ~ Install pre-requisites

sudo apt install curl && sudo apt install cmake -y && sudo apt install python3-pip -y && pip3 install testresources # dependency for launchpadlib Also gcc-11 and g++-11 need to be installed to overcome this https://github.com/oobabooga/text-generation-webui/issues/1534

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt install -y gcc-11 g++-11 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11 && pip3 install --upgrade pip && pip3 install --upgrade setuptools wheel && sudo apt-get install build-essential && gcc-11 --version # check if gcc works Download the WebUI installer from repository and unpack it

wget https://github.com/oobabooga/text-generation-webui/releases/download/installers/oobabooga_linux.zip && unzip oobabooga_linux.zip && rm oobabooga_linux.zip change into the downloaded folder and run the installer, this will download the necessary files etc. into a single folder

cd oobabooga_linux && bash start_linux.sh Hope this helps!<>