An open API service indexing awesome lists of open source software.

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

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
```