lpkg/rpkg are fish commands to backup linux packages you have installed with package manager commands.
Note: This repository is still alpha version.
lpkg: list linux packages you have installed with package manager command.rpkg: re-install packages from list generatedlpkg.
lpkg
If you want to list packages installed with sudo apt to ~/pkg.txt, then:
$ lpkg "sudo apt" > ~/pkg.txt
or
$ lpkg sudo apt > ~/pkg.txt
rpkg
If you want to re-install with ~/pkg.txt made by lpkg, then:
$ rpkg ~/pkg.txt
You can also install with:
$ rpkg https://raw.githubusercontent.com/USERNAME/path/to/lpkg-list
apt(Debian, Ubuntu, etc)apt-get(Debian, Ubuntu, etc)dnf(CentOS, Fedora, RedHat, etc)yum(CentOS, Fedora, RedHat, etc)pacman(Arch Linux, Manjaro, etc)yaourt(Arch Linux, Manjaro, etc)pkg(Android Termux)
Fisherman:
$ fisher rkbk60/lpkg
- following other package manager