11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


debian 설치 명령 aptitude 대화식 apt-get 대용 사용방법

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    apt-get install aptitude
    aptitude



    Debian_10]root~[21:17:06 aptitude -n
    aptitude: invalid option -- 'n'
    aptitude 0.8.11
    Usage: aptitude [-S fname] [-u|-i]
           aptitude [options] <action> ...

    Actions (if none is specified, aptitude will enter interactive mode):

     install         Install/upgrade packages.
     remove          Remove packages.
     purge           Remove packages and their configuration files.
     hold            Place packages on hold.
     unhold          Cancel a hold command for a package.
     markauto        Mark packages as having been automatically installed.
     unmarkauto      Mark packages as having been manually installed.
     forbid-version  Forbid aptitude from upgrading to a specific package version.
     update          Download lists of new/upgradable packages.
     safe-upgrade    Perform a safe upgrade.
     full-upgrade    Perform an upgrade, possibly installing and removing packages.
     build-dep       Install the build-dependencies of packages.
     forget-new      Forget what packages are "new".
     search          Search for a package by name and/or expression.
     show            Display detailed info about a package.
     showsrc         Display detailed info about a source package (apt wrapper).
     versions        Displays the versions of specified packages.
     clean           Erase downloaded package files.
     autoclean       Erase old downloaded package files.
     changelog       View a package's changelog.
     download        Download the .deb file for a package (apt wrapper).
     source          Download source package (apt wrapper).
     reinstall       Reinstall a currently installed package.
     why             Explain why a particular package should be installed.
     why-not         Explain why a particular package cannot be installed.

     add-user-tag    Add user tag to packages/patterns.
     remove-user-tag Remove user tag from packages/patterns.

    Options:
     -h              This help text.
     --no-gui        Do not use the GTK GUI even if available.
     -s              Simulate actions, but do not actually perform them.
     -d              Only download packages, do not install or remove anything.
     -P              Always prompt for confirmation of actions.
     -y              Assume that the answer to simple yes/no questions is 'yes'.
     -F format       Specify a format for displaying search results; see the manual.
     -O order        Specify how search results should be sorted; see the manual.
     -w width        Specify the display width for formatting search results.
     -f              Aggressively try to fix broken packages.
     -V              Show which versions of packages are to be installed.
     -D              Show the dependencies of automatically changed packages.
     -Z              Show the change in installed size of each package.
     -v              Display extra information. (may be supplied multiple times).
     -t [release]    Set the release from which packages should be installed.
     -q              In command-line mode, suppress the incremental progress
                      indicators.
     -o key=val      Directly set the configuration option named 'key'.
     --with(out)-recommends     Specify whether or not to treat recommends as
                                strong dependencies.
     -S fname        Read the aptitude extended status info from fname.
     -u              Download new package lists on startup.
                      (terminal interface only)
     -i              Perform an install run on startup.
                      (terminal interface only)

    See the manual page for a complete list and description of all the options.

    This aptitude does not have Super Cow Powers.
    Debian_10]root~[21:17:10

    Translation(s)English - Español - Français - Italiano - 한국어(Korean) - Русский - 简体中文


    소개

    Aptitude 는 Ncurses 인터페이스를 제공하는 Apt 프런트 엔드 Debian 패키지 관리자이다. 텍스트 기반이기 때문에 터미널에서 또는 CLI (명령행 인터페이스)로 실행할 수 있다. Aptitude 는 다음을 포함하여 다양하고 유용한 특징들을 갖고 있다:

    • mutt 와 유사한 문법으로 패키지명을 유연하게 조회할 수 있다.
    • "automatically installed(의존성 때문에 자동 선택됨)" 또는 "manually installed(유저가 직접 선택함)" 로 패키지 조건을 지정해서 auto-removed when no longer required (더 이상 필요하지 않을 때 자동으로 삭제처리)가 이루어지도록 할 수 있다.

    • 패키지에 적용될 처리액션을 색상으로 표현해서 쉽게 확인가능.
    • dselect 처럼 패키지에 대해 대화식으로 연속적인 액션처리를 지원한다. (예: 의존성 문제 발생 시 삭제/설치/보류에 관한 기준 제시 및 적용한 액션이 실행단계로 넘어가기 전에 취소.. 등)
    • 패키지에 포함된 Debian changelog 조회 및 출력 지원
    • AptCLI (= apt-get + apt-cache) 와 호환되는 명령행 모드를 지원 ("aptitude install foo")

    • 점수제도 기인하여 (일반적으로) apt-get 보다 더욱 효율적으로 의존성 해결책을 제시함. aptitude 는 비대하지 않으며 스스로 패키지 보관소를 청소하고 익히기 쉽다. 하지만 이것 또한 자잘하고 그 밖에 더 많을 기능을 처리할 수 있는 만능 유틸리티는 아니다.

    패키지명은 aptitude 이다.

    aptitude 매뉴얼은 금광과 같다. 더 이상 내용을 추가하지 않아도 될 정도로 참신하게 작성되어 있으니 자세한 도움을 받고자 한다면 직접 참고하기 바란다.

    (텍스트 그래픽) 대화식 사용방법

    대화식으로 To run interactively, enter the following from a terminal:

    aptitude

    After running it, use:

    • F10 to access the menu and use aptitude. This is the main key.
    • ? for help
    • The 'up', 'down', 'left', 'right' keys to navigate.
    • The 'Enter' key to select
    • The '+' or '-' key to install/update or remove a package
    • The 'g' key to preview/confirm actions
    • 'q' to quit – this also closes the currently open window (‘g’ goes forward, ‘q’ goes back)

    The common use of aptitude in TUI (text user interface) is; run aptitude; press 'u' (update the lists of available packages); press 'U' (Mark all upgradable packages to be upgraded); (search/select some stuff to install, is optional); press 'g' (to see the pending actions and modify if needed); press 'g' (again, to start the download).

    Some time when you need to resolve conflicts, you discover that you made a mistake; you can easily use 'Cancel pending actions' in the 'Actions' menu so that you can re-select.

    When reviewing pending actions:

    • 'a' explicitly accepts an action (use again to unaccept)
    • 'r' rejects an action
    • 'g' again goes ahead with pending actions

    See Accessing package information for understanding the letters in the package synopsis line (e.g., 'i' means "will be installed", 'p' means "not installed", etc.)

    root 사용자 매뉴얼

    You can also use aptitude like in the same manner as apt-get:

    Update the packages list :

    # aptitude update

    Upgrade the packages :

    # aptitude safe-upgrade

    Install foo :

    # aptitude install foo

    Remove bar :

    # aptitude remove bar

    Purge foo :

    # aptitude purge foo

    모든 사용자를 위한 기능

    Search for packaging containing foo :

    $ aptitude search foo

    Personally, I still use apt-cache search foo to perform a search – aptitude search foo is slower. But you should try the aptitude search foo way. You should discover that the output is a bit different from apt-cache, in some case, it may be useful to search for a package to see if it is already installed.

    showing if a specific package is installed :

    $ aptitude show foo

    배포판을 업그레이드하는 방법

    아키텍쳐에 맞게 정식 버전 릴리즈에서 다음 버전 (예. Lenny 에서 Squeeze) 으로 업그레이드하려면 release notes 을 참고하라. 32 비트 시스템 유저이면 Release Notes for Intel x86 를 참고하고 64 비트 시스템 유저이면 Release Notes for AMD64을 참고하면 된다.

    full-upgrade Using full-upgrade in the regular course of events no longer the recommended practice (unless you are running sid, in which case you should not need to be reading this.)

    Minor release upgrades (e.g. from lenny 5.0.1 to 5.0.2) and security updates are done with safe-upgrade.

    • 현재 운영중인 Debian 버전 알아내기

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 46 Page
    [ 개인서버 첨부파일 용량 늘리기.. ] 댓글 3

    >>1. 우선 아래부분을 입력한 것을 phpinfo.php로 서버에 저장한다. (저장하는 이름이야 아무거나 해도 상관없슴)2.자신의 …

    [ 포토스테이션 폴더 url연결하기 및 마운트 만들기 ]

    포토스테이션 폴더 url연결하기 및 마운트 만들기♠\r\n♠ https://11q.kr은 정보를 찾아 공유 합니다. https://11q.kr …

    [ 윈도우서버 하이퍼 브이 가상설치 사례 ]

    출처\r\nhttp://m.blog.naver.com/ssychk/220487266181\r\n출처 참조드리며 헤놀로지 윈도우 서버이용 가상서버…

    [ sendmail 설치 및 기본설정 ]

    sendmail 설치 및 기본설정(1)태홍아빠2012.07.18 20:29 댓글수11. 메일이 설치 되어 있는지 확인rpm -qa |grep s…

    [ mariaDB 백업 에러및 mysql 백업 에러 테이블 복구 대응 ]

    mariaDB 백업 에러및 mysql 백업 에러 대응백업에러 발생 hyper backup 지난 실행시 일부 폴더/응용 프로그램을 건너뜀(세부사항…

    [ 작업스케줄러에 Rsync이용 나의 Nas백업 usb에 복사하자 / rsync 를 이용하여 소중한 데이터를 백… ] 댓글 10

    작업스케줄러에 Rsync이용 나의 Nas백업 usb에 복사하자 / rsync 를 이용하여 소중한 데이터를 백업하자.(펌업)나의 web/photo…

    [ simpleviewer(웹에서 이미지 뷰어 소스) ]

    simpleviewer(웹에서 이미지 뷰어 소스)간단한 소스이지만 딜레이나 소스의 편집또한 간단하여 웹에서 이미지를 보여주기 위해 좋은 소스ht…

    [ 작업1차)dns server 서브도매인 설정하기 ] 댓글 1

    dns server 을 설정 내용과 dsm 포트 접속과 mailplus 접속 서브도매인 설정하기dsm.11q.kr 접속시 자동으로 11q.kr:…

    [ [Synology Nas] web server 재시작 / 재부팅 명령어 및 각종 환경설정 파일 경로와 쉘 … ]

    시놀로지 아파치 재시작 하고자방법1) 시놀 서버를 재부팅 하고자 한다면 > sudo reboot> purrty 에 접속 실행 합니다방…

    [ Nmap ( "Network Mapper") GUI 버전 zenmap 을 이용한 port scan 하기 ]

    Nmap ( "Network Mapper")은 네트워크 검색 및 보안 감사를위한 무료 오픈 소스 ( 라이센스 ) 유틸리티입니다. 또한 많은 시스…

    [ ★ 최종사용 4.1 버전 재설치시 설정 값) TVHEADEND-Testing 로그인 문제없는 old버전 후 … ] 댓글 23

    TVHEADEND-Testing 로그인 문제없는 old버전 재 설치 설정 하기로그인 가능 설치 버전다운 사이트 http://syno.dierks…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-06 18:16:27

    오늘의 홈 현황


    • 현재 접속자♨ 653 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 18 명
    • 오늘 방문자 1,732 명
    • 어제 방문자 1,981 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,417,216 명
    • 전체 게시물※ 8,678 개
    • 전체 댓글수※ 24,844 개
    • 전체 회원수 11,093 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑