Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Wabri/YAPI

Repository files navigation

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