You are not logged in.
Hello,
This is my first public contribution for Arch Linux community,
I built this script because i use arch on both of my desktops and debian on my servers and i get really confused sometimes with the options because of the mechanical typing, i got myself typing pacman install apache2 and apt-get -Syy or even trying to run pacman on debian and apt-get on arch.
I dont know how this will be acepted, its something that advanced users normally dislike, but, for newcomers i think that is a good option.
I wrote this very simple interface for pacman that converts into a apt-like utility, its use common pacman commands (yes, it uses pacman at background) and dont mess with pacman workout.
Ive upload the project on my github: https://github.com/drhoome/pac-get
Its very simple and straigthfoward (yes, just give execution permission and use, for now, theres no install/build method or configuration files, its build on top of python and should work with Python 2.7 and 3.x without any extra library).
Any feedback is welcome, even if for saying that the script is really useless for you
There's no manual or wiki right now, but, the software is really like apt-get, aptitude or apt-cache, and there's a built-in doc by typing pac-get --help.
Last edited by hoome (2015-04-28 22:42:07)
Offline
Looks nice, but wouldn't you rather use pacman commands?
One thing to point out: The update command gives pacman -Syy. Please be aware that just updating the package cache is considered bad practice if an upgrade does not follow right after, so maybe you should remove the update command. The pacman rosetta might also be of interest to you. Look it up on the wiki.
Last edited by runical (2015-04-29 06:52:35)
Offline
This is exactly what I need to have that little bit of comfort moving from Debian to arch, which I will be doing as soon as possible now.
Offline
When I was running Debian on my laptop and Arch on my desktop I used aliases so that if I was on debian and tried to use a pacman command, I'd get a message along the lines of "This is debian, stupid!" followed by the apt equivalent running. Something similar would happen if I tried to use apt on Arch.
Even though I still use debian on my servers, I never type the wrong command in - I think my brain now has one set of commands stored for servers and one for 'workstations.'
Offline
I do the same thing with aliases the commands of apt-get/pacman can do the basic same things though I have to say I like pacman switches better. having something like pkgi can mean sudo apt-get install or sudo pacman -S or pkgs can mean apt-cache search or pacman -Ss. with something like lfs I will always chose pacman. the script is good though especially for those used to apt-get good job!
Last edited by bleach (2015-05-05 10:59:21)
Offline
I find pacman to be a better name (and game) than apt-get or aptitude or pac-get
Offline
Thanks for posting, I'm pretty sure it'll be useful for someone
Offline
Indeed, -Syy and -Su is considered bad practice. I might also add, that the double yy will create way more traffic on every update, than a single y would. Then, -Syyuu is not the same as dist-upgrade.
Offline