Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add support for more package managers #142

Open
8 of 11 tasks
rami3l opened this issue Jul 9, 2021 · 4 comments
Open
8 of 11 tasks

[Feature Request] Add support for more package managers #142

rami3l opened this issue Jul 9, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@rami3l
Copy link
Owner

rami3l commented Jul 9, 2021

What's supported so far:

What isn't yet supported in pacaptr, but supported in pacapt:

  • Exherbo/cave
  • Clear/swupd
  • SliTaz/tazpkg
@rami3l rami3l added the enhancement New feature or request label Jul 9, 2021
@elenakrittik
Copy link

I'd personally like to see support for Termux's pkg PM, which is essentially a wrapper around apt.

@rami3l
Copy link
Owner Author

rami3l commented May 17, 2023

@ItsAleph Thanks for your feedback!

Unfortunately, I haven't been using Termux a lot lately. May I ask what is missing from current apt support when running pacaptr from Termux?

@elenakrittik
Copy link

  • apt list lists all packages available unless --installed was passed. pkg instead of the list command have two separate list-all (acts like apt list) and list-installed (self-describing).
  • apt has both --help flag and help command, whereas pkg only has command. Additionally, pkg doesn't have man pages.
  • pkg doesn't have the autoremove command (only autoclean).
  • pkg doesn't have the full-upgrade command. pkg upgrade instead always asks user what to do in case of a conflict (i suspect this behaviour is the same as apt upgrade, but not sure since i never used it).
  • pkg doesn't have satisfy and edit-sources commands.
  • pkg has several command shortcuts like pkg in instead of pkg install and pkg rm instead of pkg remove.

Termux Wiki article on package management in Termux, including what is pkg and why it is (highly) recommended over apt.

If i understand correctly, the only thing missing from pkg support is that it should be preferred over apt by pacaptr if running inside Termux ($HOME or $PREFIX start with /data/data/com.termux/ or one of the following variables are defined: TERMUX_VERSION, TERMUX_IS_DEBUGGABLE_BUILD, TERMUX_MAIN_PACKAGE_FORMAT, TERMUX_API_VERSION, TERMUX_APK_RELEASE, TERMUX_APP_PID).

@rami3l
Copy link
Owner Author

rami3l commented May 18, 2023

@ItsAleph I've created a new issue for you at #576, let's continue our discussion there!

@rami3l rami3l added this to pacaptr Aug 15, 2023
@rami3l rami3l moved this to In progress in pacaptr Aug 15, 2023
@rami3l rami3l changed the title [Feature Request] Add support for more Linux package managers [Feature Request] Add support for more package managers Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants