Giter VIP home page Giter VIP logo

almost-universal-installer's Introduction

almost-universal-installer

Python script for automagically handling package installation in Arch Linux, Debian, Ubuntu and Fedora. Build with ❤️ for simsid66 to use with SDE

How to use:

  • Download the script, toss it somewhere, import uni_install. Dead simple!

What it does:

There're a few notable functions:

  • getOS(): Returns the ID of the distro or base distro, depending on ID or ID_LIKE in /etc/os-release
  • systemInstall(): Install packages from a Python list, using the distro got from getOS()
  • systemUpdate(): Same as systemInstall(), except for updating the system
  • checkRoot(): A simple root access check. Used to stop AURBuild() and gitBuild() from running while having root access
  • AURBuild(): Builds a package from AUR git link
  • gitBuild(): git clone, make and sudo make install a git link
  • chkBuildEnvArch(): Check if makepkg and git is present for AUR builds
  • setupBuildEnvArch(): Setup build utils for AUR builds
  • chkBuildEnvGit(): Check if git, make and build dependencies are present for git source builds
  • setupBuildEnvGit(): Setup build utils for git source builds
  • netTest(): Make a quick request to a server and report if it succeded or fails

Things to watch out!

  • This script can only install the bare minimum for building Git packages. Packages that have other/optional dependencies must be installed with systemInstall(). gitBuild() won't try to install dependencies for you

almost-universal-installer's People

Contributors

ohaiibuzzle avatar

Stargazers

 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.