[완료]gentoo 관련 문서 중에 모르는 내용이 있어서요...

rlawnsgh3의 이미지

사전 찾아가면서 영어 공부겸 컴퓨터 공부 할려고 젠투 문서 보고 있는데...
잘 이해가 안되는 부분이 있어서요...
--ask옵션과 --deep가 뭐하는 옵션인가요...?
영어가 짧은지라...설명좀 부탁드립니다..

emerge --update --ask world
emerge --update --deep world

emerge --update world

참고로 man 페이지 영어 내용도 적어놨습니다..ㅠ_ㅠ 영어 공부 힘들어요~~

--ask (-a)
Before performing the action, display what will take place
(server info for --sync, --pretend output for merge, and so
forth), then ask whether to proceed with the action or abort.
Using --ask is more efficient than using --pretend and then exe-
cuting the same command without --pretend, as dependencies will
only need to be calculated once. WARNING: If the "Enter" key is
pressed at the prompt (with no other input), it is interpreted
as acceptance of the first choice. Note that the input buffer
is not cleared prior to the prompt, so an accidental press of
the "Enter" key at any time prior to the prompt will be inter-
preted as a choice!

--deep (-D)
This flag forces emerge to consider the entire dependency tree
of packages, instead of checking only the immediate dependencies
of the packages. As an example, this catches updates in
libraries that are not directly listed in the dependencies of a
package. Also see --with-bdeps for behavior with respect to
build time dependencies that are not strictly required.

송효진의 이미지

쉽게 생각하세요.
ask : 말 그대로 업뎃 전에 물어보는겁니다.
deep : 포티지가 방대해서 의존성 검사에 시간이 걸리기 때문에 deep 옵션 없이는 의존성검사가 간단하게 끝납니다.

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇개 안되요~

sephiron의 이미지

--ask는 emerge가 사용자에게 무슨 작업을 할 것인지 보여주고 실행할 것인지 한 번 물어보는 옵션이고,

--deep는 대상 패키지가 직접 의존하는 패키지뿐만 아니라 간접적으로 의존하는 모든 패키지를 업데이트 할 때 쓰이는 옵션입니다.

마잇의 이미지

--ask는 써보시면 단박에 알 듯 하시고,

--deep 옵션은 지정한 패키지뿐만 아니라 의존하는 패키지들의 업데이트도 같이 해 줍니다.

aaa-1.1, 이에 의존하는 bbb-0.8 패키지가 설치 되어 있고 각각 1.2, 0.9로 업데이트가 가능한 상황이라고 가정해 보겠습니다.

emerge --update bbb 의 경우는 bbb의 업데이트만 점검합니다. 물론 의존하는 패키지의 버전이 현재 설치된 버전보다 높을 경우 그것까지 같이 설치 되겠지요. 그렇지 않은 경우는 bbb 패키지만 업데이트 합니다. bbb-0.9에서 aaa-1.2 가 반드시 필요하다고 지정하지 않은 경우는 aaa 패키지는 업데이트 되지 않습니다.

--deep을 같이 사용하게 되면 의존하는 모든 패키지를 추적해서 이들 각각에 업데이트 가능한 새 버전이 있는 경우 모두 설치하게 됩니다.
--
마잇


--
마잇

rlawnsgh3의 이미지

저의 고민을 한방에 해결해주시는 멋진님 +_+
열심히 공부해서 저도 남들에게 도움이 주는 사람이 될께요 +_+

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.