GithubHelp home page GithubHelp logo

wabri / yapi Goto Github PK

View Code? Open in Web Editor NEW
6.0 5.0 1.0 246 KB

Yet Another Package Installer

Home Page: https://yetanotherpackageinstaller.github.io/

License: GNU General Public License v3.0

Shell 44.84% Python 55.16%
debian installer-script yapi linux-packages installer package-manager scripts-collection installer-tools debian-packages debian-linux

yapi's Introduction

YAPI - Yet Another Package Installer

Open Source Love

Build Status Issues Stars Forks GitHub contributors

GitHub license

YAPI is a simple package installer made in python for version 3.x. It's free, open-source, and works on Debian distributions. The project is currently in an early stage of development.


Install

To install YAPI you can use wget:

wget https://raw.githubusercontent.com/YetAnotherPackageInstaller/YAPI/install.sh -O - | sudo bash -

This script clones the repository, delete all the useless files and set up basic arguments of configuration.

You can also clone the repository, edit the configuration by yourself (wiki page are not available yet) and run

./install.sh

Usage

To use YAPI, run the yapi.sh shell script:

./yapi.sh

Or use the short method with the name of the package you want to install:

./yapi.sh install <package_name>

To call yapi like this:

yapi <command> <package>

You need to set in the config.ini file the argument "want_soft_link =" with "yes" value and run again install.py with this command:

python3 install.py

Help

To run yapi with the terminal question installer:

yapi console  

To recreate the cache:

yapi cache  

To install one of the packages:

yapi install <package_to_install> 

To pull the newest yapi version from github:

yapi update  

To get information about yapi:

yapi help  

Usage without clone or download

If you dont want to download YAPI but you need one of the packages, you can use the package manager to install a package with this command:

wget https://raw.githubusercontent.com/YetAnotherPackageInstaller/YAPI/master/scripts/<package_name>.sh -O - | sudo bash -

How to add new script

There is a format for the install scripts:

# <description of package> - <reference site of package>
<bash commands>

An example of this format is test.sh:

# Description of package - https://github.com/YetAnotherPackageInstaller/YAPI
echo "Hello world!"

If you want to add one script you need to mantain this standard. This is because the packages list on yapi.py is generated with this information, taken directly from the scripts.


How To Contribute

Contributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please contact us.


License

YAPI source code is released under the GNU General Public License v3.0. Please see LICENSE for complete licensing information.


Contributors:

Wabri, IanDuncanT

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.