GithubHelp home page GithubHelp logo

exadra37 / bash-bin-package-installer Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 31 KB

This is a mirror Repository for https://gitlab.com/exadra37-bash/bin-package-installer

License: GNU General Public License v3.0

Shell 100.00%
bash bashrc bash-script bash-prompt bash-alias bash-hacks symbolic-links installer install installation

bash-bin-package-installer's Introduction

Bin Package Installer

Show your support with a Tweet about this package.

This package will allow us to install a Bash Package in a Bin dir using symbolic links.

By default will install in our /home/$USER/bin directory and made it available from our PATH.

How To Install

To use this package is recommended to install it locally.

Is possible to use it without install it locally. Please see How To Use section.

Lets use the self installer:

curl -L https://gitlab.com/exadra37-bash/bin-package-installer/raw/last-stable-release/self-installer.sh | bash -s

checking that was correctly installed

bpi --version
bpu --version

How To Use

We can easily check how to use it at any time:

bpi --help

From Local Installation

It takes the form of bpi <vendor-name> <package-name> <package-tag> <symlink:script_to_link>.

bpi -n exadra37-bash -p my-personal-links -t 0.0.1.0 -s links:src/my-personal-links.sh

Without Installing Locally

Lets use CURL to run it directly from Github in the form of CURL -L <git-url-to-raw-script> | bash -s <vendor-name> <package-name> <package-tag> <symlink:script_to_link>.

curl -L https://github.com/exadra37-bash/bin-package-installer/raw/last-stable-release/src/installer.sh | bash -s -- -n exadra37-bash -p my-personal-links -t 0.0.1.0 -s links:src/my-personal-links.sh

Now lets try our recent installed bash package:

$ links

   Author: Exadra37(Paulo Silva) <exadra37ingmailpointcom>
     Site: https://exadra37.com
   Gitlab: https://gitlab.com/Exadra37
   Github: https://github.com/Exadra37
 Linkedin: https://uk.linkedin.com/in/exadra37
  Twitter: https://twitter.com/Exadra37

How To Uninstall a Previously Installed Package

We can easily check how to use it at any time:

bpu --help

It takes the form of bpu <vendor-name> <package-name> <symlink1,symlink2>.

With Only One Symbolic Link

bpu -n exadra37-bash -p my-personal-links -s links

With Several Symbolic Links

bpu -n exadra37-bash -p my-personal-links -s links,links2

bash-bin-package-installer's People

Contributors

exadra37 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.