When you get sick of apt-get/cache

(13:14:24) Molly: I’m using a debian box here at anu, and i got sick of apt-​get and apt-​cache being 2 seper­ate com­mands so i wrote a basic bash scipt that wraps them both, i called it aptget. So now i can aptget search blah or aptget install blah; even aptget install -f. I did it to all com­mands shown in apt-​get — help and apt-​cache — help, and was lazy with the options. Haven’t tested em all yet, i only ever use aptget install|search|update etc.. :D

Lollers, sounds like apt-rpm/apt4rpm. :D

Edit: And here is Molly’s script, GPLed and all. ;)

3 comments

  1. 1. Chris
    Jul 20, 13:01

    Instead of “aptget” you should have made it “emerge” :P -c

  2. 2. Matt (Molly)
    Jul 20, 13:03

    Thanks klepas,

    Just a NOTE: The script works from the little testing i have given it, but i haven’t added any error check­ing etc, so there could be bugs! You’ve all been warned.

    Feel free to fix any­thing up, or let me know and i _may_ fix it. I’m not a debian or ubuntu user so it is not some­thing i’m worried about :)

  3. 3. Pete
    Jul 20, 16:46

    Add a useful curses inter­face, and mix in some of the func­tion­al­ity of debor­phan, and you’d wind up with apti­tude.

Post a comment

Please share your thoughts or add a note if I missed something.

Required fields are marked by an asterisk (*). Your e-mail address is never published nor shared. You can use common text formatting XHTML elements (e.g. a, acronym, blockquote, code, em, strong, …). If you’d like to directly respond and link to another comment, you can do that using the Twitter-style @reply (i.e., @Randy Bender: …).

*
*