github.com/suntong/easygen@v5.3.0+incompatible/README.end.e.md (about) 1 2 ## Install Debian/Ubuntu package 3 4 sudo apt install -y {{.Name}} 5 6 ## Download/install binaries 7 8 - The latest binary executables are available 9 as the result of the Continuous-Integration (CI) process. 10 - I.e., they are built automatically right from the source code at every git release by [GitHub Actions](https://docs.github.com/en/actions). 11 - There are two ways to get/install such binary executables 12 * Using the **binary executables** directly, or 13 * Using **packages** for your distro 14 15 ### The binary executables 16 17 - The latest binary executables are directly available under 18 https://github.com/{{.User}}/{{.Name}}/releases/latest 19 - Pick & choose the one that suits your OS and its architecture. E.g., for Linux, it would be the `{{.Name}}_verxx_linux_amd64.tar.gz` file. 20 - Available OS for binary executables are 21 * Linux 22 * Mac OS (darwin) 23 * Windows 24 - If your OS and its architecture is not available in the download list, please let me know and I'll add it. 25 - The manual installation is just to unpack it and move/copy the binary executable to somewhere in `PATH`. For example, 26 27 ``` sh 28 tar -xvf {{.Name}}_*_linux_amd64.tar.gz 29 sudo mv -v {{.Name}}_*_linux_amd64/{{.Name}} /usr/local/bin/ 30 rmdir -v {{.Name}}_*_linux_amd64 31 ``` 32 33 34 ### Distro package 35 36 - [Packages available for Linux distros](https://cloudsmith.io/~suntong/repos/repo/packages/) are 37 * [Alpine Linux](https://cloudsmith.io/~suntong/repos/repo/setup/#formats-alpine) 38 * [Debian](https://cloudsmith.io/~suntong/repos/repo/setup/#formats-deb) 39 * [RedHat](https://cloudsmith.io/~suntong/repos/repo/setup/#formats-rpm) 40 41 The repo setup instruction url has been given above. 42 For example, for [Debian](https://cloudsmith.io/~suntong/repos/repo/setup/#formats-deb) -- 43 44 ### Debian package 45 46 47 ```sh 48 curl -1sLf \ 49 'https://dl.cloudsmith.io/public/suntong/repo/setup.deb.sh' \ 50 | sudo -E bash 51 52 # That's it. You then can do your normal operations, like 53 54 sudo apt update 55 apt-cache policy {{.Name}} 56 57 sudo apt install -y {{.Name}} 58 ``` 59 60 ## Install Source 61 62 To install the source code instead: 63 64 ``` 65 go install {{.ProjectURL}}@latest 66 ``` 67 68 ## Author 69 70 Tong SUN 71 ![suntong from cpan.org](https://img.shields.io/badge/suntong-%40cpan.org-lightgrey.svg "suntong from cpan.org") 72 73 _Powered by_ [**WireFrame**](https://github.com/go-easygen/wireframe) 74 [![PoweredBy WireFrame](https://github.com/go-easygen/wireframe/blob/master/PoweredBy-WireFrame-Y.svg)](http://godoc.org/github.com/go-easygen/wireframe) 75 the _one-stop wire-framing solution_ for Go cli based projects, from _init_ to _deploy_.