"/etc/apt/sources.list"의 두 판 사이의 차이

 
(사용자 3명의 중간 판 20개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
;sources.list
;sources.list
;/etc/apt/sources.list
;/etc/apt/sources.list
* [[apt]]가 패키지를 가져 올 수 있는 위치 정보를 담고 있다.
* sources.list 파일 내 deb와 deb-src는 archive 타입을 나타낸다.
* 패키지 저장소 정보를 추가할 때, sources.list 파일에 직접 추가해도 되지만, 보통은 /etc/apt/sources.list.d/ 디렉토리에 새로운 파일로 추가한다.


==내용예시 (원본)==
==Archive 타입==
Ubuntu 12.04.5 LTS
{| class='wikitable'
<source lang='xorg_conf'>
! 구분 !! 내용
|-
| deb || 일반적으로 사용하는 이미 컴파일된 바이너리 패키지
|-
| deb-src || 소스 상태의 오리지널 프로그램과 데비안 컨트롤 파일(.dsc)
|}
 
==내용==
<syntaxhighlight lang='sources.list'>
#  
#  


# deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
# deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ precise main restricted


#deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
#deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140806.1)]/ precise main restricted


# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted


## Major bug fix updates produced after the final release of the
## Major bug fix updates produced after the final release of the
## distribution.
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  
38번째 줄: 46번째 줄:
## multiverse WILL NOT receive any review or updates from the Ubuntu
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse


## N.B. software from this repository may not have been tested as
## N.B. software from this repository may not have been tested as
48번째 줄: 56번째 줄:
## Also, please note that software in backports WILL NOT receive any review
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse


deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse


## Uncomment the following two lines to add software from Canonical's
## Uncomment the following two lines to add software from Canonical's
62번째 줄: 70번째 줄:
## This software is not part of Ubuntu, but is offered by Canonical and the
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu trusty partner


## Uncomment the following two lines to add software from Ubuntu's
## Uncomment the following two lines to add software from Ubuntu's
69번째 줄: 77번째 줄:
## This software is not part of Ubuntu, but is offered by third-party
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
</source>
</syntaxhighlight>
 
==내용예시 (수정본, 주석제거)==
<source lang='xorg_conf'>
deb http://ftp.daum.net/ubuntu/ precise main restricted
deb-src http://ftp.daum.net/ubuntu/ precise main restricted
 
deb http://ftp.daum.net/ubuntu/ precise-updates main restricted
deb-src http://ftp.daum.net/ubuntu/ precise-updates main restricted
 
deb http://ftp.daum.net/ubuntu/ precise universe
deb-src http://ftp.daum.net/ubuntu/ precise universe
deb http://ftp.daum.net/ubuntu/ precise-updates universe
deb-src http://ftp.daum.net/ubuntu/ precise-updates universe
 
deb http://ftp.daum.net/ubuntu/ precise multiverse
deb-src http://ftp.daum.net/ubuntu/ precise multiverse
deb http://ftp.daum.net/ubuntu/ precise-updates multiverse
deb-src http://ftp.daum.net/ubuntu/ precise-updates multiverse


deb http://ftp.daum.net/ubuntu/ precise-backports main restricted universe multiverse
==같이 보기==
deb-src http://ftp.daum.net/ubuntu/ precise-backports main restricted universe multiverse
*[[우분투 저장소 변경]]
*[[우분투 PPA 목록 확인]]
*[[우분투 apt-get 설치 중 404 Not Found]]
*[[apt-get update]]
*[[apt-get upgrade]]
*[[apt-get dist-upgrade]]


deb http://security.ubuntu.com/ubuntu precise-security main restricted
==참고==
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
* https://wiki.debian.org/SourcesList
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
</source>


[[분류: apt-get]]
[[분류: apt-get]]
[[분류: /etc/apt]]
[[분류: /etc/apt]]

2023년 1월 20일 (금) 00:04 기준 최신판

1 개요[ | ]

sources.list
/etc/apt/sources.list
  • apt가 패키지를 가져 올 수 있는 위치 정보를 담고 있다.
  • sources.list 파일 내 deb와 deb-src는 archive 타입을 나타낸다.
  • 패키지 저장소 정보를 추가할 때, sources.list 파일에 직접 추가해도 되지만, 보통은 /etc/apt/sources.list.d/ 디렉토리에 새로운 파일로 추가한다.

2 Archive 타입[ | ]

구분 내용
deb 일반적으로 사용하는 이미 컴파일된 바이너리 패키지
deb-src 소스 상태의 오리지널 프로그램과 데비안 컨트롤 파일(.dsc)

3 내용[ | ]

# 

# deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted

#deb cdrom:[Ubuntu-Server 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}