blob: 516a1b16da3432cf3c7e12b65e9cec4cde92770a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
Claude Code is an agentic coding assistant CLI from Anthropic. It can read
your codebase, edit files, run shell commands, manage git, and use Claude AI
to help you write and debug code directly from the terminal.
This package installs /usr/bin/claude. The binary is a self-contained
executable downloaded at build time from Anthropic's distribution CDN.
ABOUT THIS PACKAGE
This claude-code-bin package provides a workaround for the upstream
claude-code package in the SBo development category, which fails to build on
version 2.1.114+. Rather than rebuilding from source, this package downloads
the pre-built binary directly from Anthropic's CDN.
BUILDING WITH A SPECIFIC VERSION
By default this SlackBuild downloads the latest released version at build
time. To build a specific version, set VERSION before running the script:
VERSION=2.1.114 bash claude-code-bin.SlackBuild
DEPENDENCIES
Required (standard Slackware):
curl (preferred) or wget — used to download the binary at build time
Optional:
jq — used to parse manifest.json for the SHA-256 checksum
if not present, a built-in bash fallback is used instead
NETWORK ACCESS
This SlackBuild requires outbound HTTPS access to:
https://downloads.claude.ai/claude-code-releases/
If you are building in an offline or air-gapped environment this package
cannot be built without modifications.
SHELL INTEGRATION
After installing the package, each user who wants shell completions and
the claude startup wrapper should run once (as themselves, not root):
claude install
This modifies the user's shell configuration files (~/.bashrc, ~/.zshrc,
etc.) and sets up completions. It does not affect system-wide files.
AUTHENTICATION
Claude Code requires an Anthropic API key or a Claude Pro/Max subscription.
Run `claude` after installation to start the authentication flow.
|