These Pacman Scripts Should Ship With Arch Linux

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 72

  • @Bagginsess
    @Bagginsess 2 ปีที่แล้ว +4

    I had no idea about Pactree but damn that is some fire, thanks man!

  • @DMSBrian24
    @DMSBrian24 2 ปีที่แล้ว +6

    I think most of this stuff got removed cause you can already achieve most of those things with just pacman, like pacsearch, paclist, paclog, paccache, even most of the practical functionalities you might want to use pactree for. Pacdiff is one that I didn't know about and that sounds quite useful. I only used contrib for pactree and even that I didn't really have a major practical use for. Rankmirrors is also pretty much useless because of reflector doing everything it does and more, while allowing for full automation with the provided systemd timer (an absolute must have, if any of you guys aren't running it, give it a try)

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว +4

      From the description on the gitlab they were removed to make pacman easier to maintain as in it now has less moving parts

    • @DMSBrian24
      @DMSBrian24 2 ปีที่แล้ว

      @@BrodieRobertson I guess that makes sense

  • @CobaltSpace
    @CobaltSpace 2 ปีที่แล้ว +5

    I use the pacman-cleanup-hook to run paccache automaticly after update.
    Another tool worth mentioning is pacmatic, which automates dealing with .pacnew files. It will also show the news for arch linux that it hasen't previously shown.

  • @maxxiong
    @maxxiong 2 ปีที่แล้ว +3

    TBH checkupdates should actually be built in. The immediate question after seeing partial upgrades not supported is "how do you check for updates" lol

  • @cristiannovoadrums1655
    @cristiannovoadrums1655 2 ปีที่แล้ว +1

    Nice list!
    Personally i use 'pamac checkupdates' cause of AUR; 'pamac clean' to clean cache; 'pamac search' for packages, etc

  • @johannesrodt290
    @johannesrodt290 2 ปีที่แล้ว +17

    Could you take a look at Riverwm/river? It very much seems like a wayland comp you could enjoy

    • @DMSBrian24
      @DMSBrian24 2 ปีที่แล้ว +2

      yooo there's a wayland dynamic tiler and i didn't know about it? damn hope it's actually good

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว +7

      I've heard great things about river

    • @PhilipOlesen
      @PhilipOlesen 2 ปีที่แล้ว +2

      I tried setting up River in a libvirt/qemu vm, and I just couldn't for some reason. Expect wonkiness. 🤷🏼 Don't see how it could be impossible.

    • @pinothegamer
      @pinothegamer 2 ปีที่แล้ว +1

      @@DMSBrian24 there is also dwl, a dwm for wayland

    • @DMSBrian24
      @DMSBrian24 2 ปีที่แล้ว +1

      @@pinothegamer yeah know about that one but let's just say dwm is a bit much for me, I'd rather sth focused more on sane defaults and easy customization, like i3 and awesome, but sadly awesome is xorg-only and sway is not dynamic :/

  • @samsh0-q3a
    @samsh0-q3a 2 ปีที่แล้ว +4

    hah i always thought it was standard with an arch install to install pacman-contrib too. Habit i picked up when i first learned how to use it.

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว

      I guess if you've been using it since it did ship with pacman you'd be used to it

  • @seanrileyhawkins4511
    @seanrileyhawkins4511 2 ปีที่แล้ว +1

    First am hearing of this, but would definitely use it. Switched to Manjaro recently so always wondering where my space goes lol

  • @FaZekiller-qe3uf
    @FaZekiller-qe3uf 2 ปีที่แล้ว +7

    What’s the difference between pacsearch and pacman -Ss?

    • @DMSBrian24
      @DMSBrian24 2 ปีที่แล้ว +1

      looks exactly the same to me, guessing it's just a standalone or legacy implementation

    • @uuu12343
      @uuu12343 2 ปีที่แล้ว

      pacsearch is easier to understand I guess, by name alone

    • @jemsterr
      @jemsterr 2 ปีที่แล้ว

      @@uuu12343 alias?

    • @mskiptr
      @mskiptr 2 ปีที่แล้ว

      It seems it combines -Ss and -Qs

    • @jemsterr
      @jemsterr 2 ปีที่แล้ว

      I don't even know -Qs

  • @TRez5000
    @TRez5000 2 ปีที่แล้ว +1

    Most of this can and more can be done through pacman with the right flags. The only ones that can't are pactree and that cool update diff command.

  • @pyntux
    @pyntux 2 ปีที่แล้ว +4

    Yea, pacman-contrib is very good.... I am using most of options, but first one is checking update with script...

  • @gireeshmarathi2796
    @gireeshmarathi2796 2 ปีที่แล้ว +1

    Whats the difference between rankmirrors and reflector

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว +3

      reflector builds a new list, rankmirrors ranks a local list

  • @vilijanac
    @vilijanac 2 ปีที่แล้ว +1

    Interesting, when run on mine mint -> apt depends perl differs to apt depends python

  • @gleitonfranco1260
    @gleitonfranco1260 ปีที่แล้ว

    🔝‼

  • @Argletrough
    @Argletrough 2 ปีที่แล้ว +8

    Bruh you had 7GB of old pacman packages???

    • @FaZekiller-qe3uf
      @FaZekiller-qe3uf 2 ปีที่แล้ว +1

      That’s not that large of a cache

    • @DMSBrian24
      @DMSBrian24 2 ปีที่แล้ว +3

      @@FaZekiller-qe3uf Yeah this, unless you automate cleaning it, it's gonna stack up like that real quick

    • @SlideRSB
      @SlideRSB 2 ปีที่แล้ว +3

      Cache shaming is not cool.

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว +3

      I don't even recall the last time I emptied it

    • @PhilipOlesen
      @PhilipOlesen 2 ปีที่แล้ว +1

      A two year old install of mine had 30 gigs. 5-600 package system. Felt so good to clear.

  • @night_fiend6
    @night_fiend6 2 ปีที่แล้ว

    I wish that Arch had a package manager like Nala on Ubuntu, it is a great CLI package manager and real looks nice in a riced out terminal, it has ZSH support too.
    Arch is more something that I muck around with than a daily driver OS, purely because Kubuntu suitably customised has more of what I want. I just hate the release based model and want rolling release as my first distribution was PCLinuxOS which is a rolling release distribution, but as all the gaming stuff requires system D won't work on it as they are against System D (which to be honest is fair enough, it has annoyances and drawbacks such as reboots taking ages because System D want to run "shutdown tasks" like taking forever to unmount a drive).
    If Arch had something like Nala it might end up being my main OS, well Garuda would as it has lots of great helper tools by default, but it is based in Arch.

    • @mskiptr
      @mskiptr 2 ปีที่แล้ว

      If unmounting a drive takes forever, than it's probably waiting for some timeout and that's something worth troubleshooting

    • @night_fiend6
      @night_fiend6 2 ปีที่แล้ว

      @@mskiptr it waits for timeouts on a lot of things, where as if you use an init system that is just an init system it doesn't do any of that.
      If it weren't for gamemode and other gaming focused enhancements requiring System D I could be without it .

  • @PhilipOlesen
    @PhilipOlesen 2 ปีที่แล้ว +1

    The paccache timer is nice. Most of the rest less relevant.

  • @beyond9thousand
    @beyond9thousand 2 ปีที่แล้ว +3

    paccache is the most useful

  • @notimportant7682
    @notimportant7682 2 ปีที่แล้ว +1

    honestly, I'm fine with most of the pacman-contrib scripts being in their own package except for paccache, I don't know what the arch devs are thinking not implementing that functionality in pacman itself, why would I want my system to store updates indefinitely by default?

    • @notimportant7682
      @notimportant7682 2 ปีที่แล้ว

      at the very least paccache and pacman-contrib should be mentioned in the installation guide around the part when it suggests installing a text editor and man pages

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว

      I'm fine with a seperate package but I'm not sure why it's not shipped with Arch

    • @night_fiend6
      @night_fiend6 2 ปีที่แล้ว

      Arch elitism, probably. Some people get the idea that anything that makes Linux easier to use or more convenient is bloat. It can get absurd sometimes to the point of "documentation? Read the source code!"
      If someone wants an ultra minimalist Linux install that is fine, it just is not useful for the majority of users.
      Compare stock Arch to something like Garuda. Garuda is great for people not all that used to Arch and due to the helpful tools it has by default is rather convenient to use.

    • @notimportant7682
      @notimportant7682 2 ปีที่แล้ว

      @@BrodieRobertson 'shipped with arch' to me means 'included in the base or base-devel package' pacman-contrib being a separate package implies that it is not shipped with a vanilla arch installation. Which to me is fine except for paccache but moreso, and imo, having a cache pruning program be separate from pacman would be like if you could only use pacman to install software and there was a separate script for automating software removal

    • @BrodieRobertson
      @BrodieRobertson  2 ปีที่แล้ว

      @@notimportant7682 base and base-devel aren't packages, they're package groups, git is in base-devel but you can install it on it's own

  • @kajoma1782
    @kajoma1782 2 ปีที่แล้ว +1

    pacstrap

  • @jesusvoxmor
    @jesusvoxmor ปีที่แล้ว

    This won't happen.
    There has been a subjugation in magical thinking; with systemd.
    I would say, even, that what you are going to witness with all these distributions is the linux group's implosion as a stable group.

  • @obvious_humor
    @obvious_humor 2 ปีที่แล้ว +1

    another thing that should be included in arch but isn't: kernel-modules-hook. no more rebooting after updating your kernel because some module got deleted for the currently running kernel!

  • @mk72v2oq
    @mk72v2oq 2 ปีที่แล้ว +1

    Checkupdates is kinda useless. Just enable 'VerbosePkgLists' option in 'pacman.conf' and you will see the same thing every time you run pacman.

    • @anonymousbot1
      @anonymousbot1 2 ปีที่แล้ว +2

      Checkupdates is useful if you just want to check the number of updates but don't want to upgrade your system at that exact moment. Because it doesn't refresh your actual pacman database, you avoid the issue of accidentally doing a partial upgrade.

    • @mk72v2oq
      @mk72v2oq 2 ปีที่แล้ว

      @@anonymousbot1 you have troubles with pressing "n" at update prompt?

    • @anonymousbot1
      @anonymousbot1 2 ปีที่แล้ว

      @@mk72v2oq that's the equivalent of running pacman -Sy which could potentially lead to a partial upgrade if you install another package without doing pacman -Syu. Like I said checkupdates is useful for knowing the number of packages that would be upgraded. Some people like to script it into conky or their status bar.

    • @Mr.Finkel
      @Mr.Finkel 2 ปีที่แล้ว

      @@mk72v2oq that will lead to a partial upgrade if you start installing individual packages with pacman -S

    • @mk72v2oq
      @mk72v2oq 2 ปีที่แล้ว

      What are you guys talking about? Just run 'pacman -Su' and decline the update. No database or anything will be touched. Checkupdates is useless.