# Had trouble installing Webmin on Debian 12

**URL:** <https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490>\
**Category:** Webmin\
**Created:** [August 4, 2025, 8:00pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490 "2025-08-04T20:00:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Archall](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@Archall](https://forum.virtualmin.com/u/Archall)\
**Post date:** [August 4, 2025, 8:00pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/1 "2025-08-04T20:00:50Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Debian 12 no GUI |
| Webmin version | 2.402 |
| Follow the instructions on the Downloads page. | |
| "curl -o webmin-setup-repo.sh [https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh](https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh) | |
| sh webmin-setup-repo.sh" Downloaded me HTML, not the script. As a workaround, I used curl on Windows and uploaded the .sh file using FileZilla. I’m clearly doing something wrong here. | |
| And the system didn’t recognize “–install-recommends”, ended up installing without the flag. | |

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [August 4, 2025, 8:24pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/2 "2025-08-04T20:24:39Z")

</div>

That a bit strange. You are use the command in a ssh login (eg: via a putty login)?  
Otherwise you use wget to download  
`wget https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh`  
the run the script to setup the repo  
`sh webmin-setup-repo.sh`

Bit strange you having these issues, how are you logging into the server?

I used putty and ran commands and works fine using Debian 12

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/f/c/fc4253cc92c85420582f8a2c0e5c1d3a7bdb4aab.png)

---

<div class="post-metadata">

**Author:** ![Archall](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@Archall](https://forum.virtualmin.com/u/Archall)\
**Post date:** [August 4, 2025, 8:45pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/3 "2025-08-04T20:45:42Z")

</div>

I was using the Proxmox console. I can try to test it again tomorrow using either PowerShell or PuTTY instead.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [August 4, 2025, 8:49pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/4 "2025-08-04T20:49:01Z")

</div>

Never used it, sounds like its pasting incorrectly.

---

<div class="post-metadata">

**Author:** ![Archall](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@Archall](https://forum.virtualmin.com/u/Archall)\
**Post date:** [August 5, 2025, 2:05pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/5 "2025-08-05T14:05:39Z")

</div>

Reinstalled Debian and used PowerShell this time. It worked just fine.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/f/8/f8496649d796cf2ace1f74ad1f41802ff729ae5e.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [August 13, 2025, 2:06pm UTC](https://forum.virtualmin.com/t/had-trouble-installing-webmin-on-debian-12/134490/6 "2025-08-13T14:06:36Z")

</div>

Closed on August 13, 2025, 2:06pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
