Giter Site home page Giter Site logo

pacmanfile's Introduction

Pacmanfile

pacmanfile

Pacmanfile is a tool that allows to declaratively define which packages you want to have installed via Arch Linux' Pacman, Yay or Paru to include packages from the AUR.

Installation

Pacmanfile is available in the AUR.

  1. Run paru -S pacmanfile

Usage

  1. Run pacmanfile help to get an overview of the existing commands and flags.

  2. Run pacmanfile dump which dumps your currently explicitly installed packages into a pacmanfile.

    Alternatively, you can manually create a pacmanfile.txt file in your $XDG_CONFIG_HOME/pacmanfile directory (usually ~/.config/pacmanfile) which contains all the packages you want to have installed. Here's an example:

    alacritty
    base
    git
    linux
    linux-firmware
    zsh

    You can split the file up into any number of files that match pacmanfile*.txt (e.g. pacmanfile-extra.txt).

    You can add comments to pacmanfiles by starting any line with a #.

  3. Run pacmanfile sync. This will remove any packages that you have installed which are not listed in pacmanfile*.txt and install any packages that you have not yet installed but that are listed in pacmanfile*.txt.

Limitations

Pacmanfile expects its packages to be installed explicitly. In case it complains about a package not being installed, you need to change that package's installation reason to explicit by running sudo pacman -D --asexplicit PACKAGE_NAME.

Currently, installing groups with pacmanfile is not supported. The workaround is to list all the members of the group individually in your file.

pacmanfile's People

Contributors

cloudlena avatar krowemoh avatar swt30 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.