Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hychen/getfastmirror
get apt fast mirror in command line
https://github.com/hychen/getfastmirror
Last synced: 3 months ago
JSON representation
get apt fast mirror in command line
- Host: GitHub
- URL: https://github.com/hychen/getfastmirror
- Owner: hychen
- Created: 2010-06-12T14:39:03.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-07-14T09:02:32.000Z (over 14 years ago)
- Last Synced: 2023-04-12T15:22:00.691Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
== getfastmirror ==
get fast apt mirror around you in command line.
== Install ==
=== APT install ===
user@host$ sudo add-apt-repository ppa:ossug-hychen/getfastmirror
user@host$ sudo apt-get isntall getfastmirror=== python way ===
user@host$ apt-get install python-setuptools
user@host$ ./setupt install== How to use ==
# use fast mirror by local
user@host$ getfastmirror update -l zh_TW.UTF-8# use fast mirror by network status
user@host$ getfastmirror update -t# enabel/disable entries in APT source by filter file.
# this means your can use REGEX to disable/enable entries
user@host$ getfastmirror update -f filter.iniExample of filter.ini
[disable-security]
uri = http://\w*security.ubuntu.com/ubuntu*
dist = \w*-security
action = disable== Misc ==
mirror_test.py is from python-software-properties package.
== License ==
GPLv2