os/Window

Scoop Bucket Wiki

C/H 2018. 9. 15. 08:30
# 일반적인 버킷 추가 및 추가 기능 설치
scoop bucket add extras
scoop bucket add nonportable
scoop update
scoop install aria2 curl sudo git git-with-openssh vim

 

Bucket 저장소

In Scoop, buckets are collections of apps. Or, to be more specific, a bucket is a Git repository containing JSON app manifests which describe how to install an app.
스쿠프에서 버킷은 앱의 모음이다. 또는 버킷은 응용 프로그램 설치 방법을 설명하는 JSON 첨부 매니페스트를 포함하는 Git 저장소다.

Scoop has a main bucket which is bundled with Scoop and this is always available as the primary source for installing apps.
스쿠프는 스쿠프와 함께 번들로 제공되는 주 버킷을 가지고 있으며, 이것은 항상 앱을 설치하기 위한 기본 소스로 사용된다.

By default, when you run scoop install <app>, it looks in the main bucket, but it's possible to install from other buckets too.
기본적으로 scoop install <app>를 실행하면 주 버킷에 나타나지만 다른 버킷에서도 설치할 수 있다.

There's an optional extras bucket containing apps that don't quite fit the criteria of the main bucket, but are still good to have. There is also an optional 'versions' bucket containing older versions of some well-known packages.
기본 버킷의 기준에 맞지 않지만 여전히 사용하기 좋은 앱이 포함된 옵션 추가 버킷이 있다. 또한 일부 잘 알려진 패키지의 이전 버전을 포함하는 선택적 '버전' 버킷도 있다.

And Scoop supports adding other buckets. Anyone can set up their own bucket with their own set of apps, and other people can add and install from this bucket—they just need to know the location of the bucket's Git repository.
또한 스쿠프는 다른 버킷을 추가할 수 있습니다. 누구든지 자신의 앱 세트를 사용하여 자신의 버킷을 설정할 수 있으며, 다른 사용자는 이 버킷에서 추가 및 설치할 수 있다. 버킷의 Git 저장소 위치를 알면 된다.

Known buckets 알려진 저장소

There is a list of known buckets by the community, those can be seen in buckets.json, to see the list of known buckets execute:
버킷.json에서 볼 수 있는 알려진 버킷 목록이 커뮤니티에 있다.

# 알려진 저장소 목록
scoop bucket known
# extras
# versions
# nightlies
# nirsoft
# php
# nerd-fonts
# nonportable
# java

Installing from other buckets 다른 저장소 추가

If you want to install from a bucket besides the main one, you need to configure Scoop to know about the bucket. For example, to add the optional 'extras' bucket, run:
기본 버킷을 제외한 버킷에서 설치하려면 버킷에 대해 알 수 있도록 Scoop을 구성해야 한다. 예를 들어 선택적 'extra' 버킷을 추가하려면 다음을 실행한다.

# 저장소 추가
# scoop bucket add <name-of-bucket> <location-of-git-repo>
# scoop bucket add extras https://github.com/lukesampson/scoop-extras.git
# 알려진 저장소는 이름만 입력해도 된다.
scoop bucket add extras
# 기본 버킷 추가 및 프로그램 설치
scoop bucket add extras
scoop bucket add nonportable
scoop update
scoop install aria2 curl sudo git git-with-openssh vim

Creating your own bucket 자신의 버킷 만들기

Here's an example of one way you might go about creating a new bucket, using GitHub to host it. You don't have to use GitHub though—you can use whatever source control repo you like, or even just a Git repo on your local or network drive.
다음은 GitHub를 사용하여 새 버킷을 호스트하는 한 가지 방법이다. 하지만 GitHub를 사용할 필요는 없다. 원하는 소스 컨트롤을 사용하거나 로컬 또는 네트워크 드라이브에서 Git repo만 사용할 수도 있다.

  • Create a new GitHub repo called my-bucket
    my-bucket이라고 하는 새로운 GitHub repo를 만든다.
  • Add an app to your bucket. In a powershell session:
    파워셸 세션에서 버킷에 앱을 추가한다.
    git clone https://github.com/<your-username>/my-bucket
    cd my-bucket
    '{ version: "1.0", url: "https://gist.github.com/lukesampson/6446238/raw/hello.ps1", bin: "hello.ps1" }' > hello.json
    git add .
    git commit -m "add hello app"
    git push
  • Configure Scoop to use your new bucket:
    새 버킷을 사용하도록 Scoop 구성:
    scoop bucket add my-bucket https://github.com/<your-username>/my-bucket
  • Check that it works:
    작업을 확인한다.
    scoop bucket list # -> you should see 'my-bucket'
    scoop search hello # -> you should see hello listed under, 'my-bucket bucket:'
    scoop install hello
    hello # -> you should see 'Hello, <windows-username>!'
  • To share your bucket, all you need to do is tell people how to add you bucket, i.e. by running the command in step 3.
    버킷을 공유하려면 3단계에서 명령을 실행하여 버킷을 추가하는 방법을 알려주기만 하면 된다.

 

반응형

'os > Window' 카테고리의 다른 글

scoop.ps1 Error  (0) 2018.09.29
Scoop GUI Client = scoop-viewer  (0) 2018.09.17
Scoop Extra Bucket  (0) 2018.09.14
Scoop - Command-line Install Manager  (0) 2018.09.13
Windows10 화면 배율 조정  (0) 2017.02.15