Skip to content

esqr/pacdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacdl

script to download/mirrorize Arch Linux packages on other machines/distros

Requirements

Configuration

Examples of config files are included, you just have to customize them to fit your needs.

config

Main config file. Currently there are only paths to dirs and lock file.

repos

List of repositories. Same format as in /etc/pacman.conf

Profiles

Profiles are stored in profiles path provided in config file. Each profile is a directory which contains config file and package list files.

config

Contains subprofiles eg.:

[foo]
arch = x86_64
packages = packages_foo

[bar]
arch = i686
packages = packages_bar

package list file example

extra firefox
core linux
repo-ck linux-ck
extra vim
extra vim-runtime
extra zsh

To get list from installed packages you can use this one-liner:

LIST=$(pacman -Sl); for PKG in $(pacman -Qq); do echo "$LIST" | grep " $PKG "; done | cut -d' ' -f1,2

Usage

python3 pacdl.py [-h] [-y] [-u] [-c]

Arguments

-h, --help      show help message and exit
-y, --refresh   Sync databases
-u, --download  Download packages
-c, --clean     Clean cache

About

script to download/mirrorize Arch Linux packages on other machines/distros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages