forked from tuna/mirror-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
category: help | ||
layout: help | ||
mirrorid: linuxmint | ||
--- | ||
|
||
## Linux Mint 镜像使用帮助 | ||
|
||
Linux Mint 也采用 apt 作为包管理器,与 Ubuntu 和 Debian 类似,你需要编辑 `/etc/apt/sources.list` 和 `/etc/apt/sources.list.d/*` 中的路径。对于来自 Ubuntu 的部分源,可以参考 Ubuntu 镜像使用帮助进行修改。 | ||
|
||
以 sonya 为例,需要修改 `/etc/apt/sources.list.d/mint.list` ,把 `packages.linuxmint.com` 替换为 `{{ site.hostname }}/linuxmint` : | ||
|
||
```text | ||
deb http://{{ site.hostname }}/linuxmint/ sonya main upstream import backport | ||
``` | ||
|
||
然后运行 `apt update` 即可。 |