@@ -8,19 +8,41 @@ Overtime, we'll be adding more support until it comes into feature parity with t
8
8
9
9
## Table of Contents
10
10
11
- - [ Install arc ] ( #install-arc )
11
+ - [ Installation ] ( #installation )
12
12
- [ Linux] ( #linux )
13
13
- [ macOS] ( #macos )
14
14
- [ Windows] ( #windows )
15
15
- [ Usage] ( #usage )
16
16
17
17
18
- ## Install arc
18
+ ## Installation
19
19
20
20
### Linux
21
21
22
22
There are a few ways you can install arc on a Linux amd64 or arm64 system.
23
23
24
+ #### Ubuntu Apt Repository (recommended)
25
+ I (Ricardo N Feliciano) run an Apt/Debian repository for a lot of my software, which includes Arc.
26
+ The benefit of the Apt repository is that updates are handled by Ubuntu's built-in package manager.
27
+
28
+ For security reasons, first we install the GPG key for the repository:
29
+
30
+ ``` bash
31
+ sudo wget " http://pkg.feliciano.tech/ftech-archive-keyring.gpg" -P /usr/share/keyrings/
32
+ ```
33
+
34
+ Now we add the repository to the system:
35
+
36
+ ``` bash
37
+ echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/ftech-archive-keyring.gpg] http://pkg.feliciano.tech/ubuntu $( lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/felicianotech.list
38
+ ```
39
+
40
+ Finally, we can install Arc:
41
+
42
+ ``` bash
43
+ sudo apt update && sudo apt install hubci-arc
44
+ ```
45
+
24
46
#### Debian Package (.deb)
25
47
You can install arc on an Apt based operating system by downloading the ` .deb ` file to the desired system.
26
48
@@ -29,28 +51,27 @@ Many distros allow you to double-click the file to install.
29
51
Via terminal, you can do the following:
30
52
31
53
``` bash
32
- wget https://github.com/hubci/arc/releases/download/v0.1 .0/arc_0.1 .0_amd64.deb
33
- sudo dpkg -i arc_0.1 .0_amd64.deb
54
+ wget https://github.com/hubci/arc/releases/download/v0.10 .0/arc_0.10 .0_amd64.deb
55
+ sudo dpkg -i arc_0.10 .0_amd64.deb
34
56
```
35
57
36
- ` 0.1 .0 ` and ` amd64 ` may need to be replaced with your desired version and CPU architecture respectively.
58
+ ` 0.10 .0 ` and ` amd64 ` may need to be replaced with your desired version and CPU architecture respectively.
37
59
38
60
#### Binary Install
39
61
You can download and run the raw arc binary from the [ GitHub Releases page] [ gh-releases ] if you don't want to use any package manager.
40
62
Simply download the tarball for your OS and architecture and extract the binary to somewhere in your ` PATH ` .
41
63
Here's one way to do this with ` curl ` and ` tar ` :
42
64
43
65
``` bash
44
- dlURL=" https://github.com/hubci/arc/releases/download/v0.1 .0/arc-v0.1 .0-linux-amd64.tar.gz"
66
+ dlURL=" https://github.com/hubci/arc/releases/download/v0.10 .0/arc-v0.10 .0-linux-amd64.tar.gz"
45
67
curl -sSL $dlURL | sudo tar -xz -C /usr/local/bin arc
46
68
```
47
69
48
- ` 0.1 .0 ` and ` amd64 ` may need to be replaced with your desired version and CPU architecture respectively.
70
+ ` 0.10 .0 ` and ` amd64 ` may need to be replaced with your desired version and CPU architecture respectively.
49
71
50
72
### macOS
51
73
52
74
There are two ways you can install arc on a macOS (amd64) system.
53
- Support for M1 macs (the arm64 chip) is coming later in 2021.
54
75
55
76
#### Brew (recommended)
56
77
@@ -66,11 +87,11 @@ Simply download the tarball for your OS and architecture and extract the binary
66
87
Here's one way to do this with ` curl ` and ` tar ` :
67
88
68
89
``` bash
69
- dlURL=" https://github.com/hubci/arc/releases/download/v0.1 .0/arc-v0.1 .0-macos-amd64.tar.gz"
90
+ dlURL=" https://github.com/hubci/arc/releases/download/v0.10 .0/arc-v0.10 .0-macos-amd64.tar.gz"
70
91
curl -sSL $dlURL | sudo tar -xz -C /usr/local/bin arc
71
92
```
72
93
73
- ` 0.1 .0 ` may need to be replaced with your desired version.
94
+ ` 0.10 .0 ` may need to be replaced with your desired version.
74
95
75
96
### Windows
76
97
0 commit comments