Itai-Nelken / aptpac

A simple wrapper for 'pacman' with a syntax similar to 'apt' to help people transitioning to Arch and Arch based distributions like Manjaro.
https://itai-nelken.github.io/aptpac/
MIT License
27 stars 5 forks source link

Some more to add #1

Closed CleanMachine1 closed 3 years ago

CleanMachine1 commented 3 years ago

I have recently switched to running Arch and have some suggestions.

I have been clearing dependencies which are unneeded and the command for that is

sudo pacman -R $(pacman Q-dtq)

and just for orphan dependencies you just run the same but run what is it inside of the brackets.

I know this feature isn't a thing with apt but it is still a useful command

PS: do you actually use Arch

Itai-Nelken commented 3 years ago

PS: do you actually use Arch

I use it a bit on my pi4 when I need ode stuff, and from today on my new PineBook Pro

Itai-Nelken commented 3 years ago

I think I already added that, but used a slightly different command I got from here https://github.com/Itai-Nelken/aptpac/blob/3a6f16cf87a6a2dc173a06a6d277c01815dc877c/aptpac.sh#L101-L104

Itai-Nelken commented 3 years ago

that removes unneeded packages, the equivalent of apt autoremove

BTW can you test the C version? I just made it get all the packages after the command, so apt pac install package1 package2 instead of apt pac install "package1 package2". the bash version already does that for some time.

CleanMachine1 commented 3 years ago

That pinebook is a little bit more money, should of picked a thinkpad

CleanMachine1 commented 3 years ago

Ill give it a look later

CleanMachine1 commented 3 years ago

PS: do you actually use Arch

I use it a bit on my pi4 when I need ode stuff, and from today on my new PineBook Pro

Are you using actual arch or manjaro

Itai-Nelken commented 3 years ago

PS: do you actually use Arch

I use it a bit on my pi4 when I need ode stuff, and from today on my new PineBook Pro

Are you using actual arch or manjaro

manjaro, forgot to mention that.

Itai-Nelken commented 3 years ago

That pinebook is a little bit more money, should of picked a thinkpad

I needed a new smaller laptop with a battery that actually lasts, and I wanted a pinebookpro, and the pinebookpro can do everything I need. so I bought it.

Itai-Nelken commented 3 years ago

I'm closing this as the feature you asked for is already implemented. feel free to reply with any questions you have.

CleanMachine1 commented 3 years ago

Re open this please.

I have run read and run the code and the C version is pretty impressive.

You NEED to implement: show purge

Itai-Nelken commented 3 years ago

moving your 'learning mode' feature request to here @CleanMachine1

Itai-Nelken commented 3 years ago

summary of all feature requests oin this issue and progress on them:

Itai-Nelken commented 3 years ago

added both commands :)

Itai-Nelken commented 3 years ago

actually 3 commands: purge, show, & show-all

CleanMachine1 commented 3 years ago

How?

CleanMachine1 commented 3 years ago

Nevermind