This project pretends to centralize and facilitate the process to install and configure some Linux projects on major different Linux Distributions.
| Name | Version |
|---|---|
| Ubuntu | 16.04/18.04/20.04 |
| CentOS | 7/8 |
| OpenSUSE | Tumbleweed/Leap |
The install.sh bash script has been created to abstract the differences between different Linux distributions. For example, in order to install and configure Docker service the following instruction is needed:
curl -fsSL http://bit.ly/install_pkg | PKG="docker docker-compose" bash
bit.ly/install_pkg redirects to the install script in this repository and the invocation above is equivalent to:
curl -fsSL https://raw.githubusercontent.com/electrocucaracha/pkg-mgr_scripts/master/install.sh | PKG="docker docker-compose" bash
| Name | Description |
|---|---|
| PKG | Package name(s) to be installed on the requester.(String value) |
| PKG_UPDATE | Update package manager metadata information.(Boolean value) |
| PKG_DEBUG | Enable verbose output during the execution.(Boolean value) |
The cURL package installer can be combined with bindep tool to perform multiOS installations. The following example demostrates how to install the Portable Hardware Locality tools in the current node.
curl -fsSL http://bit.ly/install_pkg | PKG=bindep bash
cat << EOF > bindep.txt
hwloc [node]
hwloc-lstopo [node platform:suse]
EOF
curl -fsSL http://bit.ly/install_pkg | PKG="$(bindep node -b)" bash
lstopo-no-graphics
Or use the wrapper script provided to run in a single command
curl -fsSL http://bit.ly/install_bin | PKG_BINDEP_PROFILE=node bash
Content type
Image
Digest
Size
16.1 MB
Last updated
about 5 years ago
docker pull electrocucaracha/pkg_mgr-init