https://github.com/tizee/manual-install-guide
a collection of how-tos for manual installation
https://github.com/tizee/manual-install-guide
Last synced: 5 months ago
JSON representation
a collection of how-tos for manual installation
- Host: GitHub
- URL: https://github.com/tizee/manual-install-guide
- Owner: tizee
- Created: 2020-07-28T15:53:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T16:36:06.000Z (almost 6 years ago)
- Last Synced: 2025-09-03T08:51:07.429Z (10 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
manual-install-guide
A personal collection for manual installations guide
## Why?
I'm too lazy to search the web for tool/lib/language(tarballs) manual installation how-tos (especially tools I had installed before).
Due to some network reasons(GFW), I would choose offline installation instead of running the script for downloading the same tarball in most cases.
## TOC
- [Rust](#rust)
- [Golang](#golang)
- [deno](#deno)
- [Cxx Boost library](#cxx-boost-library)
## How-tos
### Rust
1. use `rustup` and see `https://github.com/rust-lang/rustup#other-installation-methods`
2. execute `rust-init`
### Golang
1. download and unzip/tar extract the golang distribution file
2. mkdir `/usr/local/go` for `$GOROOT` and `$HOME/.go` for `$GOPATH`
3. mv unziped files to `/usr/local/go`
4. setup environment variables in your bash configuration file with `export PATH=$GOROOT/bin:$GOPATH/bin:$PATH`
### deno
According to [denoland/deno_install](https://github.com/denoland/deno_install), we should follow these steps:
1. download and unzip deno release
2. mkdir `$HOME/.deno` and `$HOME/.deno/bin`
3. copy executable file `deno` to `$HOME/.deno/bin`
4. add environment variable `export $DENO_INSTALL=` and update `PATH` with `export PATH=$DENO_INSTALL/bin:$PATH`to shell configuration file like `.bashrc`, `.zshrc` etc
Actually you could use `export DENO_INSTALL_ROOT="$HOME/.deno/bin"` instead of `$DENO_INSTALL` so that you only need to update `PATH` with `export $DENO_INSTALL_ROOT:$PATH`
```md
ENVIRONMENT VARIABLES:
DENO_DIR Set the cache directory
DENO_INSTALL_ROOT Set deno install's output directory
(defaults to $HOME/.deno/bin)
DENO_CERT Load certificate authority from PEM encoded file
NO_COLOR Set to disable color
HTTP_PROXY Proxy address for HTTP requests
(module downloads, fetch)
HTTPS_PROXY Proxy address for HTTPS requests
(module downloads, fetch)
```
### Cxx Boost library
1. Download latest release from [https://www.boost.org/users/download/#live](https://www.boost.org/users/download/#live)
2. run commands.
```bash
tar zxf boost_xxxxx
cd boost_xxxxx
./bootstrap.sh # default install to /usr/local
./b2 # build
./b2 install # install
```