Skip to content

Commit 3753d0b

Browse files
Update readme install instructions (#63)
1 parent 4021ec8 commit 3753d0b

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

README.md

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,41 @@ Overtime, we'll be adding more support until it comes into feature parity with t
88

99
## Table of Contents
1010

11-
- [Install arc](#install-arc)
11+
- [Installation](#installation)
1212
- [Linux](#linux)
1313
- [macOS](#macos)
1414
- [Windows](#windows)
1515
- [Usage](#usage)
1616

1717

18-
## Install arc
18+
## Installation
1919

2020
### Linux
2121

2222
There are a few ways you can install arc on a Linux amd64 or arm64 system.
2323

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+
2446
#### Debian Package (.deb)
2547
You can install arc on an Apt based operating system by downloading the `.deb` file to the desired system.
2648

@@ -29,28 +51,27 @@ Many distros allow you to double-click the file to install.
2951
Via terminal, you can do the following:
3052

3153
```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
3456
```
3557

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.
3759

3860
#### Binary Install
3961
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.
4062
Simply download the tarball for your OS and architecture and extract the binary to somewhere in your `PATH`.
4163
Here's one way to do this with `curl` and `tar`:
4264

4365
```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"
4567
curl -sSL $dlURL | sudo tar -xz -C /usr/local/bin arc
4668
```
4769

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.
4971

5072
### macOS
5173

5274
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.
5475

5576
#### Brew (recommended)
5677

@@ -66,11 +87,11 @@ Simply download the tarball for your OS and architecture and extract the binary
6687
Here's one way to do this with `curl` and `tar`:
6788

6889
```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"
7091
curl -sSL $dlURL | sudo tar -xz -C /usr/local/bin arc
7192
```
7293

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.
7495

7596
### Windows
7697

0 commit comments

Comments
 (0)