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

 
(사용자 3명의 중간 판 8개는 보이지 않습니다)
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 타입==
*[[apt]]가 패키지를 가져 올 수 있는 소스 위치를 담고 있음
* deb와 deb-src는 archive 타입을 나타냄
 
{| class='wikitable'
{| class='wikitable'
! 구분 !! 내용
! 구분 !! 내용
15번째 줄: 16번째 줄:


==내용==
==내용==
<source lang='aconf'>
<syntaxhighlight lang='sources.list'>
#  
#  


78번째 줄: 79번째 줄:
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

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 }}