例如nginx的debian wheezy源:
# /etc/apt/sources.list.d/nginx.list
deb http://nginx.org/packages/debian/ wheezy nginx
deb-src http://nginx.org/packages/debian/ wheezy nginx
第三方源添加後,要導入apt key,然後apt-get update, apt-get install xxx進行安裝。
例如nginx的debian wheezy源:
# /etc/apt/sources.list.d/nginx.list
deb http://nginx.org/packages/debian/ wheezy nginx
deb-src http://nginx.org/packages/debian/ wheezy nginx
第三方源添加後,要導入apt key,然後apt-get update, apt-get install xxx進行安裝。