Scoop buckets¶
Scoop buckets are repositories that contain application manifests for the Scoop package manager.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
Scoop requires a bucket to be added to the local configuration before the apps contained within that bucket can be installed.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md] The official Extras bucket is a community-maintained repository that provides a wide range of software.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
Usage¶
Buckets are managed using the scoop bucket command family.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
To add a new bucket, use the following syntax:
[Scoop](<./scoop.md>) bucket add <bucketname>
For example, to add the Java bucket:
[Scoop](<./scoop.md>) bucket add java
Once a bucket is added, applications from it can be installed using standard installation commands.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
Java Management¶
The Java bucket allows for the installation and management of different Java Development Kit (JDK) versions.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
- Install specific versions: You can install different versions (e.g.,
openjdk17,openjdk11) from the added bucket.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md] - Switch versions: Use
scoop resetto switch the active version of Java globally.^[400-devops__02-OS-and-Linux-Basics__windows__scoop.md]
Related Concepts¶
- Scoop
- [[Package Management]]
- [[PowerShell]]
Sources¶
- 400-devops__02-OS-and-Linux-Basics__windows__scoop.md