Download index.html from moyanjdc/deb: direct link, hf CLI and curl.
- Browser
- Download file 2.47 kB
-
https://huggingface.co/moyanjdc/deb/resolve/main/index.html
- Command line
-
hf download hf://moyanjdc/deb/index.html
-
curl -L -o index.html https://huggingface.co/moyanjdc/deb/resolve/main/index.html
2.47 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>一键添加并使用自定义Debian软件源</title> | |
| <style> | |
| body { | |
| font-family: 'Arial', sans-serif; | |
| margin: 40px; | |
| background-color: #f4f4f4; | |
| color: #333; | |
| } | |
| .container { | |
| background-color: white; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| h1, | |
| h2 { | |
| color: #1a0dab; | |
| } | |
| code { | |
| background-color: #eee; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| padding: 2px 4px; | |
| font-family: monospace; | |
| } | |
| ul { | |
| list-style-type: none; | |
| padding: 0; | |
| } | |
| li { | |
| padding-bottom: 10px; | |
| } | |
| a { | |
| color: #1a0dab; | |
| text-decoration: none; | |
| } | |
| a:hover { | |
| text-decoration: underline; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>一键添加并使用自定义Debian软件源</h1> | |
| <p>通过以下简单的命令,你可以快速添加我们的Debian软件源并开始安装软件。</p> | |
| <h2>步骤 1: 打开终端</h2> | |
| <p>你可以通过快捷键 <code>Ctrl + Alt + T</code> 快速打开终端。</p> | |
| <h2>步骤 2: 一键添加软件源并安装软件</h2> | |
| <p>在终端中运行以下命令来添加软件源并安装 <code>curl</code>:</p> | |
| <code>sudo apt install curl</code> | |
| <br> | |
| <code>curl https://source.moyanjdc.top/deb/install.sh | bash</code> | |
| <p>这条命令首先确保你的系统中安装了 <code>curl</code>,然后使用 <code>curl</code> 下载并执行我们的安装脚本,自动添加软件源。</p> | |
| <h2>步骤 3: 更新软件包列表</h2> | |
| <p>脚本执行完毕后,更新你的软件包列表以包含新添加的软件源:</p> | |
| <pre><code>sudo apt update</code></pre> | |
| <h2>步骤 4: 安装软件</h2> | |
| <p>现在你可以从我们的软件源安装任何软件了。例如,如果你想安装一个名为 <code>example-package</code> 的软件包,可以使用:</p> | |
| <pre><code>sudo apt install example-package</code></pre> | |
| <p>感谢你使用我们的软件源,希望它能帮助到你!</p> | |
| </div> | |
| </body> | |
| </html> |