Skip to content

Commit 5d26c6a

Browse files
Merge pull request #16178 from light-and-ray/update_installation_guide_linux
update installation guide linux
2 parents 5a10bb9 + 26cccd8 commit 5d26c6a

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

+24-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ A web interface for Stable Diffusion, implemented using Gradio library.
7878
- Clip skip
7979
- Hypernetworks
8080
- Loras (same as Hypernetworks but more pretty)
81-
- A separate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt
81+
- A separate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt
8282
- Can select to load a different VAE from settings screen
8383
- Estimated completion time in progress bar
8484
- API
@@ -122,16 +122,38 @@ Alternatively, use online services (like Google Colab):
122122
# Debian-based:
123123
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
124124
# Red Hat-based:
125-
sudo dnf install wget git python3 gperftools-libs libglvnd-glx
125+
sudo dnf install wget git python3 gperftools-libs libglvnd-glx
126126
# openSUSE-based:
127127
sudo zypper install wget git python3 libtcmalloc4 libglvnd
128128
# Arch-based:
129129
sudo pacman -S wget git python3
130130
```
131+
If your system is very new, you need to install python3.11 or python3.10:
132+
```bash
133+
# Ubuntu 24.04
134+
sudo add-apt-repository ppa:deadsnakes/ppa
135+
sudo apt update
136+
sudo apt install python3.11
137+
138+
# Manjaro/Arch
139+
sudo pacman -S yay
140+
yay -S python311 # do not confuse with python3.11 package
141+
142+
# Only for 3.11
143+
# Then set up env variable in launch script
144+
export python_cmd="python3.11"
145+
# or in webui-user.sh
146+
python_cmd="python3.11"
147+
```
131148
2. Navigate to the directory you would like the webui to be installed and execute the following command:
132149
```bash
133150
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
134151
```
152+
Or just clone the repo wherever you want:
153+
```bash
154+
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
155+
```
156+
135157
3. Run `webui.sh`.
136158
4. Check `webui-user.sh` for options.
137159
### Installation on Apple Silicon

0 commit comments

Comments
 (0)