GithubHelp home page GithubHelp logo

neurobin / pacget Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 478 KB

A wrapper around pacaur to mimic yaourt's search feature

Shell 98.23% Makefile 1.77%
pacaur yaourt pacman archlinux aur helper shell

pacget's Introduction

NAME

pacget -- A wrapper around pacaur to mimic yaourt's search feature.

SYNOPSIS

pacget [operation] [options] [target(s)]

pacget [packages_to_install]

All arguments are forwarded to pacaur excluding some special ones which are processed separately to provide some extended functionalities over pacaur.

DESCRIPTION

pacget works the same way as pacaur and consequently pacman. All basic operations are processed with pacaur which wraps around pacman and thus you can use the same knowledge of pacman and pacaur.

pacget extends some operations provided by pacaur, such as the search functionality. pacget's -s operation searches both the official repo and AUR for the given search term and allows installing packages interactively (kinda like yaourt).

DEPENDENCIES

It depends on the following packages:

  1. pacaur

INSTALL

Run the install.sh script:

# download the installer
curl -O https://raw.githubusercontent.com/neurobin/pacget/release/install.sh
chmod +x install.sh # Give execute permission
./install.sh        # Run the installer

USAGE

It can be used the same way as pacaur (consequently pacman). The only difference is that some options come with extra facilities.

Examples:

# Upgrade
pacget -Syu

# The following installs the package linux-lts
pacget -S linux-lts

# The following is a short form to pacget -S linux-lts
pacget linux-lts

# The following will search only arch official repo
# and give you option to select packages to install
pacget -r -s gimp

# The following will search only arch user repo aur
# and give you option to select packages to install
pacget -a -s gimp

# The following will search for gimp in both official repo and AUR
# and give you option to select packages to install
pacget -s gimp

pacget example image

pacget's People

Contributors

detuur avatar neurobin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

detuur

pacget's Issues

-h still lists deprecated options

I was going to report that while pacget -s vcvrack works as expected, pacget -s --noedit --noconfirm vcvrack returns several thousand results, and pacget -s --noconfirm --noedit vcvrack returns the right results but gives a "pacman: unrecognized option '--noedit" message.

But then I noticed on the README that a plain -s is now deprecated.

Could it be possible to reword the -h information to reflect that?

When searching, display numbers in descending order

Something I quite like about yay is that when you search it displays the normal repo packages after the aur packages (and pacget already does that).

In my opinion this could be improved even more by displaying the indices in descending order, making the last shown package be 1, or maybe 0 (which is what yay also does).

What are your thoughts on this?

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.