eselect-repository.md 1.0 KB

eselect repository

Portage๋ฅผ ์œ„ํ•œ ebuild ์ €์žฅ์†Œ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” eselect ๋ชจ๋“ˆ. ์ €์žฅ์†Œ๋ฅผ ํ™œ์„ฑํ™”ํ•œ ํ›„์—๋Š” emerge --sync repo_name์„ ์‹คํ–‰ํ•˜์—ฌ ebuild๋ฅผ ๋‹ค์šด๋กœ๋“œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ์ •๋ณด: https://wiki.gentoo.org/wiki/Eselect/Repository.

  • https://repos.gentoo.org์— ๋“ฑ๋ก๋œ ๋ชจ๋“  ebuild ์ €์žฅ์†Œ ๋‚˜์—ด:

eselect repository list

  • ํ™œ์„ฑํ™”๋œ ์ €์žฅ์†Œ ๋‚˜์—ด:

eselect repository list -i

  • list ๋ช…๋ น์—์„œ ์ด๋ฆ„์ด๋‚˜ ์ƒ‰์ธ์œผ๋กœ ์ €์žฅ์†Œ ํ™œ์„ฑํ™”:

eselect repository enable {{์ด๋ฆ„|์ƒ‰์ธ}}

  • ๋“ฑ๋ก๋˜์ง€ ์•Š์€ ์ €์žฅ์†Œ ํ™œ์„ฑํ™”:

eselect repository add {{์ด๋ฆ„}} {{rsync|git|mercurial|svn|...}} {{๋™๊ธฐํ™”_URI}}

  • ์ €์žฅ์†Œ์˜ ๋‚ด์šฉ์„ ์ œ๊ฑฐํ•˜์ง€ ์•Š๊ณ  ๋น„ํ™œ์„ฑํ™”:

eselect repository disable {{์ €์žฅ์†Œ1 ์ €์žฅ์†Œ2 ...}}

  • ์ €์žฅ์†Œ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•˜๊ณ  ๋‚ด์šฉ์„ ์ œ๊ฑฐ:

eselect repository remove {{์ €์žฅ์†Œ1 ์ €์žฅ์†Œ2 ...}}

  • ๋กœ์ปฌ ์ €์žฅ์†Œ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ํ™œ์„ฑํ™”:

eselect repository create {{์ด๋ฆ„}} {{๊ฒฝ๋กœ/๋Œ€์ƒ/์ €์žฅ์†Œ}}