Leave a comment

pacman related tasks shortcut script

I once saw a wrapper-script for pacman in the forums that was basically a short-hand version of common pacman tasks. Over the last couple years, I’ve expanded on it. It does just about everything I need it to and its real basic. I call it pm and here are the tasks it covers:

 pm   - pacman management tasks:
   1 | oneshot  - install package(s) as a dependency
   c | clean    - cleans package cache of packages no longer installed
   d | depclean - remove dependencies no longer used
   e | explicit - force package to be recognized as necessary
   f | forcerem - force remove package (no dependency check)
   i | install  - install a package
   l | list     - list files installed by the package
   o | owns     - package that owns a file
   n | info     - information about the package
   p | local    - install package locally (a pkg.tar.gz file)
   q | query    - query for an installed package (Q for details)
   r | remove   - remove a package
   s | search   - search for a package
   u | upgrade  - sync database and upgrade system
   y | sync     - sync database
   ---
   optimize     - optimize database by placing files in order on disk
   pkglist      - create list of official and local installed packages

Good for me to have this around so I can remember everything :). AUR link.

About these ads

About Todd Partridge (Gently)

Good times, good people, good fun.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 43 other followers

%d bloggers like this: