From 96bbf4fb0e442c2d92be9faccf4182132308284c Mon Sep 17 00:00:00 2001 From: ClashSAN <98228077+ClashSAN@users.noreply.github.com> Date: Fri, 30 Jun 2023 22:04:58 -0400 Subject: [PATCH] Add Linux installation instructions (tested on Ubuntu 22.04 with release 1.4.0 ) --- Install-and-Run-on-NVidia-GPUs.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Install-and-Run-on-NVidia-GPUs.md b/Install-and-Run-on-NVidia-GPUs.md index 7a364ba..3e0efb4 100644 --- a/Install-and-Run-on-NVidia-GPUs.md +++ b/Install-and-Run-on-NVidia-GPUs.md @@ -207,12 +207,26 @@ Invoke-Expression "$SCRIPT" See [Troubleshooting](Troubleshooting) section for what to do if things go wrong. +## Linux + +Copypaste these commands to install webui to your current directory: + +``` +sudo apt install git python3.10 python3.10-venv -y +git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui && cd https://github.com/AUTOMATIC1111/stable-diffusion-webui +python3.10 -m venv venv +``` + +Install and Run with: + + ./webui.sh {your_arguments} ## Third party installation guides/scripts: - NixOS: https://github.com/virchau13/automatic1111-webui-nix -# Almost Automatic Installation and Launch +## Install and run without virtual environment + To install the required packages via pip without creating a virtual environment, run: ```bash python launch.py