Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
KaiXin
KaiXin
@kaixin@snac.bsd.cafe  ·  activity timestamp 3 days ago

Every now and then when I come back to use my daily driver running #Debian #Linux, I got surprised why #apt still does not provided short-formed commands like #pkg in #FreeBSD and #pkgin in #NetBSD do such as:

# FreeBSD
pkg ins vim # same as pkg install vim
pkg sea vim # same as pkg search vim

# NetBSD
pkgin in vim # same as pkgin install vim
pkgin se vim # same as pkgin search vim

# while in Debian
apt search vim # no apt se/sea
apt install vim # no apt in/ins
#Unix #BSD #FOSS

  • Copy link
  • Flag this post
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp 3 days ago

@kaixin

More importantly, apt upgrade doesn’t first do apt update (pkg upgrade does first do pkg update), so it’s quite common for it to start installing and then discover that a bunch of the packages it is trying to install no longer exist.

  • Copy link
  • Flag this comment
  • Block
KaiXin
KaiXin
@kaixin@snac.bsd.cafe replied  ·  activity timestamp 3 days ago
@david_chisnall@infosec.exchange Hey I never knew pkg will do update if I directly run upgrade! That's another great feature to have!
  • Copy link
  • Flag this comment
  • Block
dev
dev
@defrostx@chaos.social replied  ·  activity timestamp 3 days ago

@kaixin
You can create a simple alias. apt ins+[Tab] is working to.

  • Copy link
  • Flag this comment
  • Block
KaiXin
KaiXin
@kaixin@snac.bsd.cafe replied  ·  activity timestamp 3 days ago
@defrostx@chaos.social yes of course alias will do. But that's not what I was talking about.
  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct