Skip to content

Revnoplex/baurpm

Repository files navigation

C CURL cJSON

BAURPM

Basic Arch User Repository (AUR) Package Manager

A basic AUR helper written in python (rewriting in c) that I wrote for personal use on my Archlinux system.

Disclaimer

This is a small personal project that is still a work in progress so not everything is implemented. Also, the code is not guaranteed to be high quality as it is just for a personal project.

I have uploaded this to GitHub in case of someone wanting to use it and/or to properly develop it. The main reason is so I can easily install or update it on any of my archlinux installations.

Dependencies for python version.

  • python 3.8 or later
  • sudo

Dependencies for C version:

See pkglist.txt

Building The C Version.

Make sure all dependencies are installed

sudo pacman -S --needed - < pkglist.txt

Then run these commands to compile the program.

autoreconf --install
./configure
make

This should generate the execuable baurpm. You can then install this executable to PATH with

sudo make install

Debug Build

You can build debug binaries with

make -B baurpm_debug -f Makefile.2

This creates build/baurpm-debug

Usage

Usage Layout is

baurpm [command][options] [arguments]

To install a Package

baurpm -I package-name

To upgrade installed aur packages

baurpm -C

Use ./baurpm.py to use the python version

Run baurpm -H for a list of more commands and usage

Updating

This program is currently not in the AUR, so you cannot update this program using itself.

Instead to update, run

git pull
autoreconf --install
./configure
make
sudo make install

to install the latest version

About

A basic AUR helper that I wrote for personal use on my Archlinux system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors