GithubHelp home page GithubHelp logo

martinellimarco / qbert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xargonwan/qbert

0.0 0.0 0.0 33 KB

Qbert generates a root overlay where you can install whatever software you need without messing your filesystem

License: GNU General Public License v3.0

Shell 100.00%

qbert's Introduction

Qbert

GitHub license GitHub issues

Qbert generates a root overlay where you can install whatever software you need without messing your filesystem.

This project was born because I needed some easy way to install pacman stuff on my Steam Deck, so I decided to create a script to make it easier. As you may know, in the SteamOS 3 (but not only there) the filesystem is readonly and itΕ› reset at every update pushed by Valve. As it'possible to install flatpaks and appimages, sometime installing a pacman package is needed.

Qbert is creating an overlay of the root folder so you can safely toy around with your packages and even preserve them in case of fs reset or mutation. If you mess up just umount/delete the overlay and everything will be as new.

Why the name Qbert

Q*Bert is an old arcade video game character, similarly to Pacman. In the beginning was qbert was born to manage pacman packages on Steam Deck only, then I decided to expand the initial idea to all the packages manager.

Installation

  • Download qbert.sh
  • Install it with ./qbert.sh --install-qbert

Uninstallation

qbert --uninstall-qbert

Usage

After the installation you can run it by simply typing:

qbert [ARGUMENTS]

Arguments:
    -h, --help          Print this help
    -v, --version       Print Qbert version
    --install-qbert     Installs Qbert in /usr/bin/qbert to be invoked as qbert
    --uninstall-qbert   Uninstalls Qbert
    --history           Shows all the qbert commands history
    --umount            Unmount the overlay
    --delete-overlay    Destroys the overlay (you will lose all data)

Any other argument will be passed to your package manager, for example:

qbert -s retrodeck
equals to:
pacman -s retrodeck

qbert install retrodeck
equals to:
apt install retrodeck

But it will be done inside the overlay.

NOTE: RetroDECK is not available in pacman but as a flatpak, for more info: https://retrodeck.net

Supported package managers

At the moment the following package managers are supported, if your favorite is missing please open an issue and I can add it.

apk
apt
apt-get
dnf
zypper
pacman

qbert's People

Contributors

xargonwan 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.