imstall

Use 'npx imstall ...' as a package installer for more complex installations.

Usage no npm install needed!

<script type="module">
  import imstall from 'https://cdn.skypack.dev/imstall';
</script>

README

imstall

Use 'npx imstall ...' as a package installer for more complex installations.

((Other manual items on the wiki: https://github.com/briancsparks/imstall/wiki))

When You Can't Just apt-get install... Something

Many great software packages don't have properly-built packages for the package managers out there. And, because of the nature of change, it is usually the newest, most exciting software that hasn't yet put time into package-ifying their code. Usually, there's only a readme.

So, I decided to build scripts for the ones I've had to install manually, and here they are. These have been used on Ubuntu 16.04 only. If something fails on it, leave me an issue. If it fails on 18.04 or 20.04, leave an issue, but it might not get fixed right away. PRs are appreciated. PRs for non-Ubuntu are doubly appreciated. (See below.)

Note

Items might also be here if, after installing with a package manager, it always needs configuration of one sort or another. In this case, imstalling it is really for configuring it. Any configuring will be done with a mind for getting it up and running and usable. (Configuring it for development.) Therefore, the configuration will probably not be optimized or secured.

Anaconda

npx imstall anaconda

Installs the data-science-centric Python distro.

Android-build-tools

TBD

Ansible

npx imstall ansible

Installs Ansible and adds boto and boto3.

AWS2

npx imstall aws

Installs the AWS command-line tools, version 2.

etcd

npx imstall etcd

Installs command-line client for etcd.

  • This is not the etcd engine / server, it is just the CLI client.

fzf

npx imstall fzf

Installs the command-line fuzzy-finder.

GO

npx imstall go

Installs the programming language GO.

Node.js

npx imstall node12

Installs Node.js, version 12.

Redis

npx imstall redis

Installs redis-server, fixes redis.conf to bind to all ifaces, and (re)starts the service.

Hashicorp Vault

npx imstall vault

Installs vault_1.3.4_linux_amd64.zip that I have on S3.

TODO:

  • Download latest from Hashicorp, and use that, instead.

VIM 8

npx imstall vim8

Installs VIM 8+ from ppa:jonathonf.

vimcat

npx imstall vimcat

Installs vimcat (and vimpager) from github.com/rkitover/vimpager.

Adding Imstallers

When the user invokes: npx imstall xyz, the tool looks in its .../lib/ubuntu/16.04/ directory for an executable called xyz. If nothing is there, it looks in .../lib/ubuntu/ for xyz. If an xyz is found, it is executed.

  • ubuntu was gotten from lsb_release -is.
  • 16.04 was gotten from lsb_release -rs.

so, put a script at .../lib/$(lsb_release -is)/$(lsb_release -rs)/xyz for your favorite software and send me a pull request.