mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge branch 'master' into genisolist-nixos-images
This commit is contained in:
commit
12504698e8
|
|
@ -39,5 +39,8 @@ new_mirrors:
|
|||
- armbian
|
||||
- armbian-releases
|
||||
- rustup
|
||||
- nix
|
||||
- dart-pub
|
||||
- flutter
|
||||
|
||||
# vim: ts=2 sts=2 sw=2 expandtab
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
"name": "Bananian",
|
||||
"desc": "为 Banana Pi 制作的,基于官方 Debian 仓库的发行版镜像和软件包仓库"
|
||||
},
|
||||
{
|
||||
"name": "CPAN",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "CRAN",
|
||||
"desc": "R 语言的可执行文件、源代码和说明文件,也收录了各种用户撰写的软件包"
|
||||
|
|
@ -73,7 +77,7 @@
|
|||
},
|
||||
{
|
||||
"name": "arch4edu",
|
||||
"desc": "用于 Arch Linux 的一系列科研、教学所需工具"
|
||||
"desc": "用于 Arch Linux 和 Arch Linux ARM 的非官方软件仓库,主要包含科研、教学所需的各种常用软件"
|
||||
},
|
||||
{
|
||||
"name": "archlinux",
|
||||
|
|
@ -85,7 +89,19 @@
|
|||
},
|
||||
{
|
||||
"name": "archlinuxcn",
|
||||
"desc": "由 Arch Linux 中文社区驱动的非官方用户仓库,包含中文用户常用软件、工具、字体/美化包等"
|
||||
"desc": "由 Arch Linux 中文社区驱动的非官方用户仓库,包含中文用户常用软件、工具、字体/美化包等"
|
||||
},
|
||||
{
|
||||
"name": "armbian",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "armbian-releases",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "artixlinux",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "bananian",
|
||||
|
|
@ -111,6 +127,10 @@
|
|||
"name": "centos-altarch",
|
||||
"desc": "CentOS 额外平台的安装镜像和官方软件包仓库"
|
||||
},
|
||||
{
|
||||
"name": "centos-vault",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "ceph",
|
||||
"desc": "高性能对象存储和文件系统"
|
||||
|
|
@ -139,6 +159,10 @@
|
|||
"name": "cygwin",
|
||||
"desc": "Cygwin 官方软件包仓库"
|
||||
},
|
||||
{
|
||||
"name": "dart-pub",
|
||||
"desc": "Dart 语言的软件包仓库"
|
||||
},
|
||||
{
|
||||
"name": "debian",
|
||||
"desc": "Debian Linux 的官方软件包仓库"
|
||||
|
|
@ -219,6 +243,10 @@
|
|||
"name": "flightgear",
|
||||
"desc": "多平台的飞行模拟器"
|
||||
},
|
||||
{
|
||||
"name": "flutter",
|
||||
"desc": "Flutter 框架 SDK 镜像"
|
||||
},
|
||||
{
|
||||
"name": "fzug",
|
||||
"desc": "Fedora 中文用户组的软件包仓库"
|
||||
|
|
@ -259,6 +287,10 @@
|
|||
"name": "gnu",
|
||||
"desc": "GNU项目的软件包(源代码、文档和部分平台的二进制文件)"
|
||||
},
|
||||
{
|
||||
"name": "gnu-alpha",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "grafana",
|
||||
"desc": "开源的数据可视化工具"
|
||||
|
|
@ -319,6 +351,10 @@
|
|||
"name": "lede",
|
||||
"desc": "OpenWRT 与 LEDE 再次合并后的源码仓库"
|
||||
},
|
||||
{
|
||||
"name": "libreoffice",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "lineage-rom",
|
||||
"desc": "最大的社区Android发行版之一Lineage的ROM"
|
||||
|
|
@ -359,6 +395,10 @@
|
|||
"name": "lxc-images",
|
||||
"desc": "Linux 容器的镜像"
|
||||
},
|
||||
{
|
||||
"name": "lyx",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "macports",
|
||||
"desc": "macOS 的一个开源软件包管理系统"
|
||||
|
|
@ -387,6 +427,14 @@
|
|||
"name": "msys2",
|
||||
"desc": "用于编译原生 Windows 程序的类 Linux 开发环境"
|
||||
},
|
||||
{
|
||||
"name": "mxlinux",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "mxlinux-isos",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "mysql",
|
||||
"desc": "MySQL 安装包及各种工具下载"
|
||||
|
|
@ -395,6 +443,10 @@
|
|||
"name": "neurodebian",
|
||||
"desc": "用于神经科学研究的 Debian 软件包源"
|
||||
},
|
||||
{
|
||||
"name": "nix",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "nodejs-release",
|
||||
"desc": "预编译的 nodejs 二进制程序"
|
||||
|
|
@ -423,6 +475,10 @@
|
|||
"name": "openwrt",
|
||||
"desc": "OpenWrt 软件包镜像源(仅包含Chaos Calmer版本,请前往 lede 目录获取最新源码)"
|
||||
},
|
||||
{
|
||||
"name": "osdn",
|
||||
"desc": ""
|
||||
},
|
||||
{
|
||||
"name": "osmc",
|
||||
"desc": "免费、开源的媒体中心解决方案"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ brew update
|
|||
|
||||
### 使用homebrew-science或者homebrew-python
|
||||
|
||||
(已经deprecated了)
|
||||
|
||||
```
|
||||
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-science"
|
||||
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-science.git
|
||||
|
|
@ -31,3 +33,17 @@ git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/home
|
|||
|
||||
brew update
|
||||
```
|
||||
|
||||
### 复原
|
||||
|
||||
_(感谢Snowonion Lee提供说明)_
|
||||
|
||||
```
|
||||
cd "$(brew --repo)"
|
||||
git remote set-url origin https://github.com/Homebrew/brew.git
|
||||
|
||||
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
|
||||
git remote set-url origin https://github.com/Homebrew/homebrew-core
|
||||
|
||||
brew update
|
||||
```
|
||||
|
|
|
|||
|
|
@ -25,4 +25,8 @@ pip install pip -U
|
|||
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
```
|
||||
|
||||
如果您到 pip 默认源的网络连接较差,临时使用本镜像站来升级 pip:
|
||||
|
||||
```
|
||||
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U
|
||||
```
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: nix
|
||||
---
|
||||
|
||||
## Nix 镜像使用帮助
|
||||
|
||||
[Nix](https://nixos.org/nix) 是一个支持 Linux 和 Mac OS X 的独特的“函数式包管理器”,具有原子更新、依赖隔离、构建尽可能可复现等特点。
|
||||
|
||||
[Nixpkgs](https://nixos.org/nixpkgs) 是 Nix 包管理器对应的软件发行版,使用 Nix 函数式语言编写,除软件包外提供用于软件定制、构建、开发环境配置的工具。
|
||||
|
||||
[NixOS](https://nixos.org) 是一个基于 Nix 和 Nixpkgs 的 GNU/Linux 发行版。在 Nixpkgs 中的软件之上 NixOS 使用 Nix 语言提供了声明式的系统配置,实现系统完整可复现、版本快速切换等功能。
|
||||
|
||||
### Nix
|
||||
|
||||
细节内容,请参见 Nix 文档中的 [Installing a Binary Distribution](https://nixos.org/nix/manual/#ch-installing-binary) 一节。
|
||||
|
||||
- 单用户安装
|
||||
```console
|
||||
$ sh <(curl https://mirrors.tuna.tsinghua.edu.cn/nix/latest/install)
|
||||
```
|
||||
- 多用户安装:
|
||||
```console
|
||||
$ sh <(curl https://mirrors.tuna.tsinghua.edu.cn/nix/latest/install) --daemon
|
||||
```
|
||||
|
||||
如果需要,可以在[文件列表中手动挑选需要的版本](https://mirrors.tuna.tsinghua.edu.cn/nix)。
|
||||
|
||||
目前暂时没有 Nixpkgs 软件包的镜像,敬请期待。
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: dart-pub
|
||||
---
|
||||
|
||||
# Pub 镜像安装帮助
|
||||
|
||||
[Pub](https://pub.dartlang.org/) 是 Dart 官方的包管理器。跨平台的前端应开发
|
||||
框架 [Flutter](https://flutter.dev/) 也基于 Dart 并且可以使用大部分 Pub 中的
|
||||
库。
|
||||
|
||||
如果希望通过 TUNA 的 pub 镜像安装软件,只需要设置 [PUB_HOSTED_URL](https://www.dartlang.org/tools/pub/environment-variables)
|
||||
这个环境变量指向 https://mirrors.tuna.tsinghua.edu.cn/dart-pub/ 即可。
|
||||
|
||||
以 bash 为例,临时使用 TUNA 的镜像来安装依赖:
|
||||
|
||||
```bash
|
||||
$ PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub/" pub get # pub
|
||||
$ PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub/" flutter packages get # flutter
|
||||
```
|
||||
|
||||
若希望长期使用 TUNA 镜像:
|
||||
|
||||
```bash
|
||||
$ echo 'export PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub/"' >> ~/.bashrc
|
||||
```
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: flutter
|
||||
---
|
||||
|
||||
# Flutter 镜像安装帮助
|
||||
|
||||
Flutter 是一款跨平台的移动应用开发框架,由 Google 开源。用 Flutter 开发的应用可以直接编译成 ARM 代码运行在 Android 和 iOS 系统上。
|
||||
|
||||
Flutter 安装时需要从 Google Storage 下载文件,如您的网络访问 Google 受阻,建议使用本镜像。使用方法为设置环境变量 `FLUTTER_STORAGE_BASE_URL`,并指向 TUNA 镜像站。
|
||||
|
||||
```bash
|
||||
$ export FLUTTER_STORAGE_BASE_URL="https://mirrors.tuna.tsinghua.edu.cn/flutter"
|
||||
```
|
||||
|
||||
若希望长期使用 TUNA 镜像:
|
||||
|
||||
```bash
|
||||
$ echo 'export FLUTTER_STORAGE_BASE_URL="https://mirrors.tuna.tsinghua.edu.cn/flutter"' >> ~/.bashrc
|
||||
```
|
||||
|
||||
此外 Flutter 开发中还需要用到 Dart 语言的包管理器 Pub,其镜像使用方法参见[Pub 镜像安装帮助](../dart-pub/)。
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: arch4edu
|
||||
---
|
||||
|
||||
## Arch4edu 镜像使用帮助
|
||||
|
||||
Arch4edu 是面向高校用户推出的非官方软件仓库,
|
||||
支持 Arch Linux 和 Arch Linux ARM,
|
||||
主要包含高校用户常用的科研、教学及开发软件。
|
||||
|
||||
* 项目地址:<https://github.com/arch4edu/arch4edu>
|
||||
* 镜像地址:<https://mirrors.tuna.tsinghua.edu.cn/arch4edu>
|
||||
|
||||
### 使用方法
|
||||
|
||||
在 `/etc/pacman.conf` 文件末尾添加以下内容:
|
||||
|
||||
```
|
||||
[arch4edu]
|
||||
SigLevel = Never
|
||||
Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
|
||||
```
|
||||
|
|
@ -375,3 +375,15 @@ pattern = nixos-([0-9.]+)-(i686|x86_64)-linux.ova
|
|||
type = VirtualBox appliance
|
||||
version = $1
|
||||
platform = $2
|
||||
|
||||
[eclipse]
|
||||
distro = Eclipse IDE
|
||||
listvers = 1
|
||||
location = eclipse/technology/epp/downloads/release/[0-9][0-9][0-9][0-9]-[0-9][0-9]/R/eclipse-*
|
||||
pattern = eclipse-([a-z]+)-(\d+-\d+)-R-(win32|macosx-cocoa|linux-gtk)-(x86_64)\.(zip|tar\.gz|dmg)
|
||||
platform = $3
|
||||
type = x86_64
|
||||
version = $1 $2
|
||||
key_by = $2 $1
|
||||
category = app
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Disallow: /chromiumos
|
|||
Disallow: /clojars
|
||||
Disallow: /ctex
|
||||
Disallow: /cygwin
|
||||
Disallow: /dart-pub
|
||||
Disallow: /debian-cd
|
||||
Disallow: /debian-multimedia
|
||||
Disallow: /debian-nonfree
|
||||
|
|
@ -58,6 +59,7 @@ Disallow: /erlang-solutions
|
|||
Disallow: /fedora-altarch
|
||||
Disallow: /fedora
|
||||
Disallow: /flightgear
|
||||
Disallow: /flutter
|
||||
Disallow: /fzug
|
||||
Disallow: /gentoo-portage-prefix
|
||||
Disallow: /gentoo-portage
|
||||
|
|
|
|||
Loading…
Reference in New Issue