Manage (lemmy.ca)
submitted 10 months ago by to c/linuxmemes@lemmy.world
 
you are viewing a single comment's thread
view the rest of the comments
[–] 31 points 10 months ago (8 children)

YSK/PSA: If you're on Mint, Mint's apt is not Debian's apt and while they work similarly for common use cases, they diverge pretty quickly beyond that. Both are installed by default but Mint's takes precedence.*

Case in point: I was looking for which package - specifically one that was not yet installed - contains a certain command line tool and Mint's apt search does not find it. Debian's does. **

On the other hand, Mint's apt has way more subcommands than the default one, which have been useful on occasion.

* Mint's is at /usr/local/bin/apt and Debian's is at /usr/bin/apt; The default user $PATH puts /usr/local/bin before /usr/bin.

** FWIW, the tool is/was sponge and it's in the moreutils package.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 6 points 10 months ago* (3 children)

    Just use aptitude and be happy.

    Disclaimer: while aptitude was originally designed to replicate the apt CLI interface, I have never run the search command through it. The TUI is marvelous, though.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 10 months ago* (2 children)

    Nowadays apt supports deleting dangling config files with apt purge "~c" so no need to have aptitude for that feature. However, aptitude why <package> is pretty handy, and if you bump into dependency problems aptitude is quite capable of suggesting valid solutions.

    Disclaimer: I've never used aptitude's TUI.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 10 months ago*

    However, aptitude why is pretty handy

    Dude/dudesse, what the hell is this and why have I never heard of it? Sounds really useful on the manpage, I hope I remember it next time I need it. Thanks! 😊

  • source
  • parent
  • [–] 4 points 10 months ago (3 children)

    I wonder why apt search on ubuntu and debian must be so bad: on mint each package has a single line and an easy letter telling you if the program is installed or not. On debian/ubuntu each program takes multiple lines, are all green and the only way to distinguish installed ones is to look for an (installed) string at the end of the first line. I like Mint's apt version so much

  • source
  • parent
  • hideshow 3 child comments