Skip to content

It is an easy and fast tool to install your packages with just one command.

License

Notifications You must be signed in to change notification settings

Baianoware/trouxa

Repository files navigation

Go Report Card Github Action Card

Trouxa

It is an easy and fast tool to install your packages with just one command.

What means "Trouxa"?

In portuguese, Trouxa means something like a "bundle of clothes", but it is also a pejorative term like mug or muggle. Thinking in the first meaning, why not let this bundle carry Packages too? (It does not make sense, I know lol)

How to use?

With trouxa, you can install many packages just noting it in a file, packages.txt.

Example of packages.txt

python
vim
nano

Selecting the package manager used on your system, and and run it selecting the path of packages.txt

trouxa -m pacman -p ~/packages.txt

If the file has the same name as packages.txt and in the actual execution directory, you do not need to specify it because this is the default value for -p.

trouxa -m pacman

You can use also a remote packages' list to install you tools

trouxa -m pacman -p https://pastebin.com/raw/ysHUVswx

How to install?

Build

To build you will need the Go environment in version 1.18 and make installed.

make build

Install

sudo make install 

The binary compiled will be copied to your /usr/bin and available through the command trouxa in your terminal

Package managers supported

  • apk
  • apt
  • aptitude
  • dnf
  • eopkg
  • pacman
  • snap
  • yay
  • yum
  • zypper

Dump

apk

You can list all packages from a Alpine container, as exemple, and use this "dump" to install in another:

apk info > packages.txt

pacman

The same is true to pacman.

pacman -Qe | sed -e 's/\s.*$//' > packages.txt

Extras

About

It is an easy and fast tool to install your packages with just one command.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •