The Pacman Package Manager in Arch Linux

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

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

  • @bobbycv64
    @bobbycv64 3 ปีที่แล้ว +18

    excellent presentation sir :-) I passed on your site to my class: So here are some of the comparisons to Debian / Ubuntu apt package manager:
    -S (means Synchronize with repositories)
    pacman -Syu would be the same as apt-upgrade or apt-update
    pacman -S would be the same as apt-install
    pacman -R would be the same as apt-remove
    pacman -Rs
    pacman -Ss
    pacman -Qs
    pacman -Qdt lists packages and dependencies that are no longer need and known as ORPHANED packages (IN OTHER WORDS, WASTED SPACE)
    pacman -Rns $(pacman -Qtdq) removes all ORPHANED packages

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

      That is very informative

  • @ndeoligence8
    @ndeoligence8 6 ปีที่แล้ว +73

    If you say *guvcview* one more time...

    • @didokon6751
      @didokon6751 6 ปีที่แล้ว +3

      ikr

    • @yltfy
      @yltfy 4 ปีที่แล้ว +1

      Lol. I was about to leave a same comment! guvcview, guvcview. What a nice software for demonstration!

  • @MstanhopeTX
    @MstanhopeTX 4 ปีที่แล้ว +9

    I love Arch Linux and Manjoro Linux. I used to run pure Arch and installed Arch the Arch way, but I got tired doing the same thing over and over and Manjoro is so much easier!

  • @pb8582
    @pb8582 3 ปีที่แล้ว +1

    Hitman has been more chill lately! Thanks for that video its cool as!

  • @camsolo2024
    @camsolo2024 5 ปีที่แล้ว +3

    Commands:
    1. First sudo
    - update/upgrade system packages: pacman -Syu
    - Install Package: pacman -S packageName
    - remove package: pacman -Rs packageName
    - searching: pacman -Ss packageName
    - searching locally: pacman -Qs pkgName
    - List of not used packages: pacman Qdt
    -remove unused packages: pacman -Rns $(pacman -Qdt)
    - documentation for programs: man programName
    *enjoy. Great video! Thank you!* :D

  • @analogidc1394
    @analogidc1394 6 ปีที่แล้ว +3

    Thanks DistroTube, this has been a very helpful video. I always look forward to your videos that deal with the terminal.

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

      Thanks, Analog. So few people appreciate the power of the command line. :D

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

    I love how ALL of the videos on the recommended tab on this video are about pac-man XD

  • @kerwie
    @kerwie 6 ปีที่แล้ว +3

    HEY DT :) love learning commands in the terminal.......thank you.....

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว

      Thanks, Kerwin. Take care, mate!

  • @Element_Finland
    @Element_Finland 6 ปีที่แล้ว +4

    I recommend making an alias for the removal of orphans... I also have one for clearing the package cache.

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

      I believe society calls the removal of orphans "adoption"

  • @brandonevans253
    @brandonevans253 3 ปีที่แล้ว +1

    Wish you told what the letters you tack on stand for. You explained some (sync, update, remove, etc.) But what do -s, -y, -n, etc stand for?

  • @CrustyAbsconder
    @CrustyAbsconder 6 ปีที่แล้ว +1

    DT, One topic that I am not familiar with is radio apps or even listening to music online. I am probably 15 years behind on all that. I have installed radiotray on my LXQt install, and it seems to work, but I have not found any station that really floats my boat. I have Clementine, but don't know how to use the radio functionality, and so far the only sound I have managed to find using Clementine is to play the sound of rain in the background. I installed something called "qtradio" which would be okay, but I can't seem to figure out how to find a station. I guess I need some kind of antenna hooked up to my motherboard ??
    For some reason, LXQt put qtradio under the category "Other," and radiotray in the "Sound and Video" category below Clementine. I think the only other radio app offered is gnuradio 3.7, or maybe an xfce radio, but I assume those would bring in lots of dependencies. I have not yet tried those. I assume everybody out there uses Spotify, but I have never tried it.

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

    Great video as always. What is the difference between pacman and yaourt? And which one should i use as a new linux user?

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Yaourt is a frontend to pacman. Yaourt is nice if you need to install AUR packages because it automates the process of downloading, building, making and installing a package with pkgbuild files. Whether you want to use pacman or yaourt is up to you. No right answer or wrong answer.

    • @challengerdominiel9735
      @challengerdominiel9735 6 ปีที่แล้ว

      thank you sir!

    • @serge5046
      @serge5046 6 ปีที่แล้ว

      Hello odysseas kartasis! As yaourt is going to be deprecated it would be better to use trizen (easier) or packer.
      www.ostechnix.com/trizen-lightweight-aur-package-manager-arch-based-systems/
      www.ostechnix.com/install-packer-arch-linux-2/
      Best regards.

  • @patriotic1526
    @patriotic1526 3 ปีที่แล้ว

    ty for the video. you don't seem as cocky in these older ones haha

  • @fred854
    @fred854 5 ปีที่แล้ว +1

    Very helpful video. Thank you!

  • @15hg
    @15hg 3 ปีที่แล้ว

    Thanks. These are just the commands I needed.

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

    Pretty nice thank you 😊

  • @indigowyrm
    @indigowyrm 5 ปีที่แล้ว

    Thanks great video, nice and consise! Always love your content. I've just installed manjaro KDE after alot of Ubuntu flavours as I'm moving from Mac to Linux
    Fet

  • @valsharess-yt
    @valsharess-yt ปีที่แล้ว

    This is still the kind of DT video I miss.

  • @strifef7
    @strifef7 4 ปีที่แล้ว

    Im switching from Fedora to manjaro (begrudgingly, my thinkpad hates KDE fedora) and learning the intricacies of pacman vs dnf has been the biggest hurdle but once again you are a great help DT thx!!

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

      I was moving from Fedora 37 gnome to manjaro i3 too, but but my ThinkPad didn't liked manjaro I guess, the volume indicators weren't working, maybe it was an i3 issue. But anyways i installed arch with gnome.

  • @kevinklement2621
    @kevinklement2621 6 ปีที่แล้ว +8

    Most arch-based distros? Which arch-based distros don't use pacman? I knew there were non-arch-based distros that do use pacman, but wasn't aware of the reverse.

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

      None come to mind right away except Chakra, which is using pacman right now but they are in the process of creating their own unique package manager. Chakra isn't 100% compatible with Arch though so it makes sense for them to create their own package manager I guess.

    • @hanro50
      @hanro50 6 ปีที่แล้ว +1

      Although highly unrecomended by the arch wiki, there is a port of dpkg to arch last time I checked.

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

    for me, pacman commands are hard to understand because I see that Ss S Rs does not sound like natural. Is there any other way to perform those commands with easier ubderstandable words or letters ?
    it is easier to remember to say pacman -udpate. upgrade. install. uninstall.
    or something like this ?

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

      workaround: use aliases

  • @jayrajamanickam
    @jayrajamanickam 3 ปีที่แล้ว

    Great and very useful video. Thank you 🙏🏽

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

    So what's the equivalent of the -yy option that allows you to skip the "do you want this(Y/n)" prompt?

    • @israelenriquez3001
      @israelenriquez3001 4 ปีที่แล้ว

      Did you find it?

    • @theblackcatvieweraccount5402
      @theblackcatvieweraccount5402 4 ปีที่แล้ว

      @@israelenriquez3001 you can pipeline '|yes" but with the way some programs are built on Arch, it won't work for everything. Aside from that, there is no option.

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

    One or two commands I didn’t know, ta! Will you be doing a similar video on yaort?

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Hadn't considered doing anything on yaourt or any of the other AUR helpers. But I might.

    • @torspedia
      @torspedia 6 ปีที่แล้ว +1

      DistroTube Didn’t know that there were any others, apart from these two!

    • @hellishinc
      @hellishinc 6 ปีที่แล้ว +1

      Pacaur > Yaourt. It's not recommended to use Yaourt as it's slow and buggy.

    • @krozareq
      @krozareq 5 ปีที่แล้ว

      Yay is popular and well updated. I personally use Pikaur as a Pacman-wrapper AUR helper.

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

    I am new to pacman I like how everything is condensed but somehow the letters used for the commands are so confusing, for instance why is "s" used to remove dependencies and not "d" ? and why "s" refers to "dependencies" when you use -R but means "search" when used with -S ? "y" in some other package manager stands for "yes", in pacman i'm still not sure what it refers to, "upgrade" ? hmmm very confusing stuff right here.

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

      pacman -Sy
      This installs a very new package that's not synced with your packages version
      pacman -Syu
      This installs all new packages that is synced.
      But yeah I agree it is little confusing

  • @VoislavVasiljevski
    @VoislavVasiljevski 6 ปีที่แล้ว +18

    guvcview....guvcVIEW....GUVCVIEW :D :D :D

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +4

      Was going to use VLC as an example but I already had it installed. :D

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

      I laughed so hard. Thx for making my day :) Anyway keep up with the good videos! Nice channel. Subscribed.

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Thanks, Voislav.

    • @ndeoligence8
      @ndeoligence8 6 ปีที่แล้ว +1

      man! i ended up trying to predict when he'd say it next and mute my volume for a sec. Lol

    • @SlideRSB
      @SlideRSB 6 ปีที่แล้ว +1

      This is the perfect video to do a drinking game with.

  • @arunthebuffoon4554
    @arunthebuffoon4554 4 ปีที่แล้ว

    This guy explained it pretty well for all us noobs! But, does Pacman include apps and software from the Arch User Repository?

  • @CaptianMurdock
    @CaptianMurdock 4 ปีที่แล้ว +1

    Hey dude is it possible to install Pac man on debian?

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

    Well dun our frend well dun !

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว

      Thanks, michael.

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

    Thank you,
    This helped a lot!
    How may I get rid of this -- the requested url returned error:403
    Always occurs when I'm installing a package.
    Thank you for your help in the future !!

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

      I know your comment is fairly old, but anyways: Pacman has a list of mirrors that it tries to get a package from one by one, until one works (/etc/pacman.d/mirrorlist usually). The first one might be badly configured or there is no longer a repo there. Just remove it and you're good. You can also generate an up-to-date mirrorlist using e.g. various online tools or reflector. Doing this every few months might sometimes even speed up your download, if it's not capped by your own connection.

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

      @@TomBenBel
      Thanks for the reply. Still using arch \. well arco now.

  • @wacesferpit
    @wacesferpit 6 ปีที่แล้ว +4

    good video there
    btw, i recently installed manjaro(kde), and whenever I'm doing a pacman -Syu, a lot of packages just seem to return an error 404

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

      Hard to say what the issue is. Try running pacman -Syy, then run pacman -Syu.

    • @hellishinc
      @hellishinc 6 ปีที่แล้ว +3

      Update your mirrorlist. wiki.manjaro.org/index.php?title=Rankmirrors_to_Set_the_Fastest_Download_Server

  • @jurjenhofstra9854
    @jurjenhofstra9854 3 ปีที่แล้ว

    Hello i'm using Kubuntu. How can i install this pacman manager? I got the message 'command pacman not found but can be tnstalled with "apt install pacman" '. But after i typed this command i get a game instead of a package manager...

  • @aqche5566
    @aqche5566 4 ปีที่แล้ว +1

    I get this Error: no target specified (use -h for help) when i use command sudo pacman -Rns $(pacman -Qtdq). Why i get this error?

    • @aqche5566
      @aqche5566 4 ปีที่แล้ว

      @NewAccount 1974 thank you so much for responding

  • @muhammadsohailnisar6600
    @muhammadsohailnisar6600 3 ปีที่แล้ว

    I want to install postgres 12 on Vagrant Archlinux. When i run "sudo pacman -Ss postgres" it installs the latest version that is version 13. How can I downgrade the postgres version 13 to version 12 or how to download specifically the version 12?

  • @CrustyAbsconder
    @CrustyAbsconder 6 ปีที่แล้ว

    I normally do not pay much attention to Distrowatch ratings. There are too many factors to say whether #4 is more popular than #7. However, I think one could say that being # 1 is cool and being below # 40 must be frustrating. For 2018, Manjaro has actually been downloaded more often than Linux Mint. But that does not mean Manjaro is more popular than Mint. It might mean that Mint users are so happy that they just updated or upgraded and did not need to download a new iso. Or it could mean Manjaro broke more often, and so users needed to download a new iso. The distro I use is somewhere around # 70, which leads me to believe all the distros in the top 100 must be pretty good. Korora is at # 97 and I liked it. But Korora has no plans for a Korora 27 which is probably why nobody is downloading it. Only reason Mageia is so low is that their model is not to release any isos until they are perfectly happy. Mageia 6 is pretty good, and I am certain Mageia 7 is going to be one of the best distros ever ( in January 2019 ?? ). It seems SparkyLinux is underrated, but the competion ( if you want to call it that ) is fierce. So many good distros, and so little time to use them all. I do not pay much attention to distros that are below the Top 100 ( meaning # 207 or # 299, etc ), but I do know there are some good ones way down there.

  • @Free.Education786
    @Free.Education786 ปีที่แล้ว +1

    How to install Tor Proxy chains ⛓️ AnonSurf easily in arch linux?

  • @mistafrank31
    @mistafrank31 3 ปีที่แล้ว

    Arch Linux Garuda would not update...It says the packages are corrupt and they system will not let you delete them

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

    Thanks.

  • @johnc3403
    @johnc3403 4 ปีที่แล้ว

    Great stuff DT, I'll use Pacman -Rs from now on. I used to use pacman -Rscn without actually knowing what that longer switch did. -Rs will do all I need and I'll stick to that, thanks Derek..

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

    great video i just installled manjaro tytytytytytytytytytyty

  • @Feyangel23
    @Feyangel23 4 ปีที่แล้ว +6

    take a shot every time he says guvcview

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

    FYI: no sudo needed for pacman -Ss.

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +4

      I realized that in the middle of the video. I mention there is no need for sudo for querying. Oh well, mistakes stay in my videos. :D

  • @saumilsunilshah5663
    @saumilsunilshah5663 4 ปีที่แล้ว

    How to change installation directory

  • @КостяПак-я5я
    @КостяПак-я5я 4 ปีที่แล้ว +1

    How to install pacman package?

  • @MasterCorneilous
    @MasterCorneilous 4 ปีที่แล้ว

    it says sudo: pacman not found

  • @arwaahmed8184
    @arwaahmed8184 5 ปีที่แล้ว +1

    THANK U DISTRO TUBE BY THE WHAT IS YOUR REAL NAME

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

    I use Arch.

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +3

      But do you use i3? :D

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

      Actually, I do. But not every day.

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

      How do you tell if someone uses Arch?
      You don't, they tell you.

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

    Why are you using sudo to query? Root isn't needed to list packages. Bad DT, no cookie for you. Also in .bashrc add : alias pacorph='sudo pacman -Rns $(pacman -Qtdq)' If you edit /etc/pacman.conf you can also enable colors for easier searching. Just uncomment "Color" on line 34. I wish you had also touched on makepkg, which is what makes pacman so powerful. It's a shame you didn't but then again that's not something most people would be willing to use even if it gives you gentoo level package customization.

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +3

      I wanted to touch the basics here. Building packages is more of an advanced topic.

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

    Does anyone use PackageKit?

    • @serge5046
      @serge5046 6 ปีที่แล้ว +1

      Hello Anton Lee! Here is all you need to know about PackageKit: www.freedesktop.org/software/PackageKit/
      Otherwise if you have a specific question I suggest you to go to the Fedora forums because Fedora uses it quite intensively.
      Best regards.

  • @4jup4ter4
    @4jup4ter4 6 ปีที่แล้ว +3

    WHY, because guvcview..
    The End!!

  • @uMalice
    @uMalice 3 ปีที่แล้ว

    -Syu? that's not cryptic at all... holy crap convoluted mess.

  • @CrustyAbsconder
    @CrustyAbsconder 6 ปีที่แล้ว

    Now that both Apple and Microsoft have announced new major updates. Are any 2018 isos of Linux able to take on those new features in those. Can the latest Manjaro touch the iPad Pro running iOS 11.3 in any way ?
    Or is it like comparing Apples to Broccoli ??

  • @J3zu5
    @J3zu5 4 ปีที่แล้ว

    *GUVC* *VIEW*

  • @EvilStepTwin
    @EvilStepTwin 6 ปีที่แล้ว

    Der