Using Pacman on Arch Linux: Everything you need to know

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 4. 03. 2019
  • WEBSITE: lukesmith.xyz 🌐❓🔎
    DONATE NOW: lukesmith.xyz/donate 💰😎👌💯
  • Věda a technologie

Komentáƙe • 307

  • @xGOKOPx
    @xGOKOPx Pƙed 5 lety +657

    Luke was one step from installing emacs - history is being made

    • @hineko_
      @hineko_ Pƙed 5 lety +52

      we dodged the bullet

    • @Clutter.monkey
      @Clutter.monkey Pƙed 5 lety +20

      He‘ll get there eventually

    • @Zoltan_Gyarmathi
      @Zoltan_Gyarmathi Pƙed 5 lety +37

      I hope he'll never do that. Emacs violates the unix philosphy in every possible way, yet comparing to similar harmful bloated software like systemd and linux(kernel), it fails to be fast and efficient.

    • @Zoltan_Gyarmathi
      @Zoltan_Gyarmathi Pƙed 5 lety +22

      @barnyardThat's what I said at college when I failed at the linux laboratory. Now I know that it was only an excuse me to avoid investing time in learning(or after I passed, I started feeling enlightened?). I think luke should do a video on this topic.

    •  Pƙed 5 lety +2

      @barnyard But do we have anything better..?

  • @ha17h3m9
    @ha17h3m9 Pƙed 5 lety +412

    I use arch by the way

  • @fiddlinmacx
    @fiddlinmacx Pƙed 5 lety +61

    I use -Qo (which package owns a file) and -Ql (list the files in a package) sometimes. They're useful.

  • @3lguy
    @3lguy Pƙed 5 lety +141

    Daily uploads..
    This man gonna dethrone PewDiePie soon.

    • @wildhomestead8498
      @wildhomestead8498 Pƙed 5 lety +2

      @@danielasilva69457 DEFEAT BRIAN LUNDUKE

    • @jorgvespermann5364
      @jorgvespermann5364 Pƙed 4 lety +4

      Who the hell is PewDiePie?

    • @raushonmunni2633
      @raushonmunni2633 Pƙed 3 lety

      @@jorgvespermann5364 30 year old playing games and looking at memes with the most subscribers on youtube

  • @NeronRVV
    @NeronRVV Pƙed 5 lety +100

    Luke: Ofcourse I dont want to install emacs
    Internet: 3 hour video of "emacs is way of living"

    • @aaronryder4008
      @aaronryder4008 Pƙed 5 lety +3

      I am fairly new to linux and this channel as well. What is wrong with emacs?

    • @jasonleo
      @jasonleo Pƙed 4 lety +1

      @@aaronryder4008 besides editor feature, anything else is decent

    • @hectorcanizales5900
      @hectorcanizales5900 Pƙed 3 lety +1

      @@aaronryder4008 people in general say it’s bloated and that it’s an operating system in and of itself. Others also say eMacs is merely an EmacsLisp interpreter that has a Tex editor. Vim users will usually say that they only want a text editor, me included.

    • @fluffypinkpandas
      @fluffypinkpandas Pƙed 3 lety

      @@hectorcanizales5900 and ppl that want the bare-nuts of what Notepad on windows does, will use Nano and eventually ease into Vim at a later time.

  • @ff-jt8un
    @ff-jt8un Pƙed 3 lety +40

    Just installed Manjaro. This was helpful, thanks Luke.

    • @alfalfa8168
      @alfalfa8168 Pƙed 3 lety +6

      I feel like this is 90% of people watching
      á¶Šâżá¶œËĄá”˜á”ˆá¶Šâżá” ᔐᔉ

    • @meowmrrpnyanya
      @meowmrrpnyanya Pƙed 2 lety

      @@alfalfa8168 á¶Šâżá¶œËĄá”˜á”ˆá¶Šâżá” ᔐᔉ

    • @gagne6928
      @gagne6928 Pƙed 2 lety +3

      its probably better to just use archinstall now, i did it the other day and i already have a super nice arch+i3 setup, all done automatically. Mental Outlaw has a video on it if you're interested

    • @crackedbymac
      @crackedbymac Pƙed 2 lety

      @@gagne6928 I would do that, but I dont know how to install nvidia drivers and I dont want to break my system

  • @bowar123
    @bowar123 Pƙed 4 lety +11

    Thank you! I'm new to manjaro and coming from windows/debian based background, so you can say I needed this video lol

  • @BJAnderson
    @BJAnderson Pƙed 2 lety +6

    As a long time debian/ubuntu/mint user making the switch to Manjaro - this video hit the spot in terms of comparing apt to pacman. Thanks!

  • @deadnchillin4045
    @deadnchillin4045 Pƙed 4 lety +5

    Thank you, all the other videos I watched I was unable to see what they were typing, and did not explain it very well. I learned from yours, and probably will rewatch to remember it. Since I got really sick in 2017 I can not go anywhere, Im now learning arch now.

  • @dianeattaway8733
    @dianeattaway8733 Pƙed 3 lety +2

    Thank you for this video! By far the most comprehensive guide all in 20 minutes!

  • @gizzmoguy.
    @gizzmoguy. Pƙed 5 lety +2

    This video was quite helpful thanks Luke. I leaned a thing or two.

  • @jimu3688
    @jimu3688 Pƙed 3 lety

    Dude, you r a rockstar! Just started using Arch. Like it a lot. References you give here in this video are great! Even though this video is a year old, it will remain timeless. Thank you, Thank you, and Thank you! Will be subscribing.

  • @cookiedestroyer402
    @cookiedestroyer402 Pƙed 5 lety +28

    2:53 Luke confirmed uses emacs

  • @lavishjaat
    @lavishjaat Pƙed 4 lety +2

    Finally I found someone who can compete with my internet speed.

  • @iLiokardo
    @iLiokardo Pƙed 5 lety +10

    "pacman -Syu"
    my brain: syuuuuuuuu~ [macoto asmr]

    • @nsa3967
      @nsa3967 Pƙed 3 lety

      That made me LOL out loud!

  • @internetsnacks150
    @internetsnacks150 Pƙed 3 lety +1

    Just installed Garuda alongside Kubuntu and needed to learn something about Arch commands. Your video was great for the head-start I needed.
    Thank you very much!

  • @user-ss6zt2mo1l
    @user-ss6zt2mo1l Pƙed 5 lety +6

    This video should come bundled with Arch/Manjaro.

  • @xm_tech
    @xm_tech Pƙed 4 lety +1

    I think this is the best explanation of Arch's commands for a beginner. Great video and thanks for sharing.

  • @rajufelix3070
    @rajufelix3070 Pƙed 5 lety +6

    I used i3 first time using your LARBS. Now I run my i3 on Arch linux using my own configuration. Thanks to your language research.

  • @fixer8173
    @fixer8173 Pƙed 5 lety +9

    Great video, I like this positive vibe in all your videos (at least in these that I have watched :D). I was always worried to use arch, because of quite many opinions, that a single system update (kernel update I guess) can make the system unusable. Maybe it is a good topic for a video, how does it look from a expert's perspective, how good is the stability, could a programmer, that has some assignments to do with deadlines afford to use arch not worrying about everything crashing in a minute? Btw I am looking forward to more arch related stuff :)

  • @dipanshparmar3769
    @dipanshparmar3769 Pƙed 3 lety +4

    Hey bro, thanks for this video. Just moved from ubuntu to arch and you just made it so easy for me. Thanks a lot for this awesome tutorial ^_^

  • @niksingh710
    @niksingh710 Pƙed 2 lety +1

    These small perks are very helpful. Thanks

  • @douwehuysmans5959
    @douwehuysmans5959 Pƙed 5 lety +53

    Dont forget to upgrade every 4 hours or your install breaks

    • @cosmo_4785
      @cosmo_4785 Pƙed 3 lety +5

      yes i would reccomend ever second

  • @MoreChannelNoise
    @MoreChannelNoise Pƙed 5 lety +3

    Realy good video, learned a few things and I have been using Arch for years! :0

  • @TheSar
    @TheSar Pƙed rokem

    This was super helpful dude thank you.
    Have come over to Arch after 15+ years on Debian based linux.

  • @formasdopossivel
    @formasdopossivel Pƙed 3 lety +3

    Top video Luke. Thanks for sharing these great commands. I’m new to arch but so far loving it and with this kinda videos it makes a positive difference with the learning curve. 5*

  • @yash1152
    @yash1152 Pƙed rokem +2

    the new pacman things for me:
    4:51 pacman -Ss ^emacs > _"regex for starts with [can be useful]"_
    16:32 pacman -Sc _[sync clean]_
    12:05 /etc/pacman.conf 11:40 > _"in addition to that..."_
    ones mostly related to basic unix 😅:
    7:30 wc -l > _"word count by lines to count installed packages"_
    16:13 df -h [disk file usage]

  • @kBarBeats
    @kBarBeats Pƙed 7 měsĂ­ci

    great video for coming back to every now and then !

  • @WK-47
    @WK-47 Pƙed 2 lety +9

    Thanks for this. Always liked the elegance of pacman, but its syntax was a learning curve for me, knowing apt by muscle memory. I've mostly been using Debian or its derivatives for years but wanted to give Arch or one of its own forks another go.

  • @foofighter1933
    @foofighter1933 Pƙed 5 lety +8

    finally a video about emacs, we are saved!

  • @sarat6782
    @sarat6782 Pƙed 4 lety

    Good enough introduction? It was a wonderful introduction! Thank You.

  • @Wilhuf1
    @Wilhuf1 Pƙed rokem +2

    Well articulated Luke. Really helpful in getting me started with Arch. I use Mint, but now I use Arch, btw.

  • @matuzaato
    @matuzaato Pƙed 4 lety

    Really well explained, I'll be coming back to this video, thanks

  • @or2kr
    @or2kr Pƙed 5 lety +52

    Who still uses apt-get? gotta save time with just using apt

    • @shaggyz
      @shaggyz Pƙed 5 lety +19

      apt is just a script calling apt-get, so technically you still using it xD

    • @or2kr
      @or2kr Pƙed 5 lety +4

      @@shaggyz yes, but it looks nicer and you are saving 4 characters everytime you have to call it

    • @desktorp
      @desktorp Pƙed 5 lety +15

      I still pretty much type apt-get out of habit

    • @logangraham2956
      @logangraham2956 Pƙed 5 lety +19

      @@or2kr if you really want to save character space just be like
      alias i='apt-get install'
      alias u='apt-get update'

    • @or2kr
      @or2kr Pƙed 5 lety

      @@logangraham2956 that is always an option. I only mentioned it because some Arch users were proud of the fact that "pacman -Syu" does the same thing as "apt update && apt upgrade" with many less characters. Tbh, anyone (except the wiki itself) should just use apt.

  • @_Pymander
    @_Pymander Pƙed 2 lety

    This is a great video thanks Luke!

  • @RetosSpace
    @RetosSpace Pƙed 3 lety

    Snap, im a year late on the comments, swindows user for years and recently wiped my old laptop clean and installed Manjaro XFCE, been struggling through it all and then this guy comes along and is a GOd Send!!!! Luke is A God!! THank YOu

  • @davidr8424
    @davidr8424 Pƙed 4 lety

    Your videos are really great, I am most gratful for them.
    All the best.

  • @dharmang
    @dharmang Pƙed 5 lety +8

    you probably know u can always do - sudo !! which will just copy the previous command and add sudo to it

  • @jeremykervran1598
    @jeremykervran1598 Pƙed 2 lety

    Been using Ubuntu for years and recently switched for Manjaro, this is exactly the video I was looking for!
    Translation Luke, you gained a new subscriber here :)

  • @shubham9717
    @shubham9717 Pƙed 4 dny

    A very comprehensive video on pacman

  • @skewty
    @skewty Pƙed 4 lety +2

    Teaching (like scripts) should always start with the --full-word-parameter and then once explained you can move on the short variants.

  • @soumalyadas1123
    @soumalyadas1123 Pƙed rokem

    amazing, this makes rtfm so much easier!

  • @geoptus
    @geoptus Pƙed 5 lety

    Nice and clear - thanks

  • @rickcontreras59
    @rickcontreras59 Pƙed 2 lety

    Thank You and very good lesson

  • @felippehdlinux
    @felippehdlinux Pƙed 2 lety

    Very good, thank you.

  • @justthebeginning1448
    @justthebeginning1448 Pƙed 3 lety

    Thx, learned a lot👍👍👍👍

  • @-bazoona3654
    @-bazoona3654 Pƙed 3 lety +1

    pac man has retired eating ghosts and decided to be a package manager

  • @Liv4IT
    @Liv4IT Pƙed 2 lety

    Pretty nice tutorial 👌

  • @esra_erimez
    @esra_erimez Pƙed 4 lety +1

    The importance of this video cannot be overstated. It is mandatory viewing for those about to install Arch.

  • @olemartinsnoen9633
    @olemartinsnoen9633 Pƙed 2 lety

    appreciate the vid. thumbs up

  • @tobiashelbing1233
    @tobiashelbing1233 Pƙed 3 lety

    Very nice. Thx

  • @cthedosboss5113
    @cthedosboss5113 Pƙed 5 lety

    thanks luke : )

  • @nanibanani7560
    @nanibanani7560 Pƙed 2 lety

    thanks for the informations

  • @astroid99
    @astroid99 Pƙed rokem

    Thank-you, im so new to linux and im on arch rn but not giving up. I wasn't sure waht pacman was exactly. And when updating pacman i thought I was only updating Pacman itself not all of my applications.

  • @MrBiky
    @MrBiky Pƙed 4 lety

    I will be switching to Void at some point, but until then, I prefer using pacman-mirrors to sort the mirrors. It's easy and does the job better than monkeys can. For example:
    $ sudo pacman-mirrors -f10
    will generate a list with up-to-date mirrors (however many you choose, 10 in this example) and check which ones are the fastest. Depending on the network congestion (either or both client and server), this may change order, but it has been pretty accurate for me. Otherwise, you may want to run:
    $ sudo pacman-mirrors -c COUNTRY1,COUNTRY2,COUNTRY3
    will obviously generate a list with the order of whatever countries you specify.
    $ sudo pacman-mirrors --geoip
    will use your country location to generate mirrors (I don't like geoip
    $ sudo pacman-mirrors --continent
    is the same as --geoip, but instead of country, it gives you a whole continent of mirrors.
    You can use -d to get back to defaults, or -i to generate custom mirrors (basically like editing the conf file).

  • @PabloAndresDealbera
    @PabloAndresDealbera Pƙed 5 lety +4

    16:22 A note here from another Arch user (btw), this is opinion-based but I think unless you are critically short of disk space it's better to keep that cache (or at least two prior versions for each pkg) because I you need for whatever reason downgrade some package you can easily install the package from there and offline.

    • @verdrehteseele8525
      @verdrehteseele8525 Pƙed rokem

      Hey, a new arch user here. Let's say I wanna downgrade a package. is there any drawback if I do that from the archieve instead of doing from the cache? aside from download time (i have good internet), any other downside?

  • @Andr0id88
    @Andr0id88 Pƙed 5 lety +16

    Hi im a vegan autistic boomer arch linux user, and i love you're videos! Keep it up! ;)

    • @Andr0id88
      @Andr0id88 Pƙed 5 lety

      @@wiswis Im 1 out of those 4 things, maybe 2 soon after learning vim. I'l leave it up to you to figure out which ;)

  • @surajbiswastalks
    @surajbiswastalks Pƙed 3 lety

    thank you for this

  • @LinuxLuddite
    @LinuxLuddite Pƙed 4 lety +2

    you are allocating all of your RAM to /tmp , that's where one can tell you compile your kernel a lot

  • @dimav23
    @dimav23 Pƙed 5 lety +1

    Hows about to prehook a reflector update for optmize the mirrors?

  • @dewijones92
    @dewijones92 Pƙed 5 lety

    Another great video

  • @someperson9763
    @someperson9763 Pƙed 5 lety +16

    How do his man pages have syntax highlighting?

  • @marbangens
    @marbangens Pƙed 4 lety +2

    12:52 hahahaha

  • @sodakarate7242
    @sodakarate7242 Pƙed rokem

    Great video! I really like the terminal, what is it's name?

  • @ManishSharma-fi2vr
    @ManishSharma-fi2vr Pƙed 3 lety

    Create more content on Arch Based Linux.......✌this tutorial is awesome.

  • @DDBAA24
    @DDBAA24 Pƙed 5 lety +1

    This was good, I see a lot of people asking about these exact concepts all of the time. Especially with the removing of no longer needed packages and the purging of config files. In Debian its sudo apt remove --purge theprogram and that will get rid of anything not needed by another program in the system and its configs. This video made me check my package count 3110 jeeez. What is the equivalent of cloning your repos for package migration ? In Debian you can use apt-clone and will tar up the packages and then you restore on a new system. How do I do that in Arch......?

  • @jonathanmoore5619
    @jonathanmoore5619 Pƙed 3 lety

    Nice vid 👍

  • @kirkeasterson3019
    @kirkeasterson3019 Pƙed 5 lety +2

    6:00 sudo !!

  • @franznawrath
    @franznawrath Pƙed 4 lety

    terrific !! hehehehe greetings from Chile !!

  • @denisaputra8741
    @denisaputra8741 Pƙed 3 lety

    thanks sir really helpfull for me

  • @PabloAndresDealbera
    @PabloAndresDealbera Pƙed 5 lety +5

    1:20 You're evil, Luke.

  • @Canadian789119
    @Canadian789119 Pƙed 4 lety +2

    Thank you Very comprehensive. Now I have a better idea of what I've done with pacman. Keyrings don't seem too complicated to update either. If you read this. I am familiar with Initframs on debian based. I turned off bios updates on my debians. How do I turn it off in arch? does arch update bios and microcode?

  • @glencoukell163
    @glencoukell163 Pƙed 4 lety +1

    Thanks for the great video. I learned plenty. One question if I may. How did you get your name [luke@core etc to show up in color?

    • @JaiPasLuLesCGU
      @JaiPasLuLesCGU Pƙed 4 lety

      He explains that in another video (see zsh). It boils down to changing the PS1 variable

  • @dunklerKurfurstDesDeepstat

    "There is nothing on my computer emacs related."
    "It was at that moment I knew he uses vim"

  • @MrKsuhiyp
    @MrKsuhiyp Pƙed 5 lety

    Amazing video

  • @AdmiralMaur
    @AdmiralMaur Pƙed 4 lety +4

    1:25 "of course I don't actually want to install emacs"
    D:

  • @darshanand6337
    @darshanand6337 Pƙed 5 lety

    Which software you use for screen recording?

  • @rajufelix3070
    @rajufelix3070 Pƙed 5 lety +10

    Thanks. You're back again to Arch linux. I've been missing your linux videos. Go Ahead language researcher. You're doing great in computer language. That's what computer science stands for. Everyone can get into computer science.

  • @Booming-letsplays
    @Booming-letsplays Pƙed 5 lety +2

    Is there a better way to get a new mirror file than ripping it from a new iso? The arch wiki suggested to delete unwanted mirrors and I did so. Turns out my list is pretty short. Also some new servers might have been added, so is there a good way?

    • @Egzvorg
      @Egzvorg Pƙed 5 lety +3

      use reflector

  • @MoreChannelNoise
    @MoreChannelNoise Pƙed 4 lety

    suggest another video with more advanced stuff, ie what do you do when Pacman reports new configuration files

  • @tomaszkonicz
    @tomaszkonicz Pƙed 4 lety +2

    So, what is the best, stable way to install packages in Arch? "pacman -S packagename", or "pacman -Syu packagename"?

  • @rexevan6714
    @rexevan6714 Pƙed 5 lety

    Okay @Luke, what have you done to your terminal now?

  • @MrHatoi
    @MrHatoi Pƙed 5 lety

    Why do you use separate partitions for your home and root folders?

  • @CreativeJE
    @CreativeJE Pƙed 2 lety

    Luke summarised basic commands at 10:44

  • @drumpf4all
    @drumpf4all Pƙed 5 lety +2

    Whet happens when you get rid of your dependencies for a particlular program and something you installed later uses those dependencies. Will the later program break?

    • @sauron1427
      @sauron1427 Pƙed 5 lety +8

      pacman will only remove them if they aren't used by any other program. If you install another program that uses them later, pacman will simply reinstall the dependencies.

  • @wytrzeszczux
    @wytrzeszczux Pƙed 5 lety

    Did Luke did anything about Rassbery Pi class computers?

  • @yash1152
    @yash1152 Pƙed rokem

    4:43 > _"pacman -Ss emacs"_
    so, there's zile (emacs clone), mg (micro gnu/emacs); emacs-muse, auctex, texmacs (publishing & tex related)

  • @dharmang
    @dharmang Pƙed 5 lety +1

    the video we deserved 😂✌

  • @barbiefan3874
    @barbiefan3874 Pƙed 2 lety +1

    kinda funny that "dt" option lists unneeded dependencies

  •  Pƙed 5 lety +1

    Mingw x64 on windows also uses pacman for managing packages :)

  • @keiichiiownsu12
    @keiichiiownsu12 Pƙed 5 lety

    Question: have you done any python tutorials?

  • @ianpan0102
    @ianpan0102 Pƙed 5 lety +4

    Could someone tell me which font Luke's using? I've been searching for a long while now...

  • @MrSMGun
    @MrSMGun Pƙed rokem

    what distro/desktop env are you using? i like how the terminal looks

  • @bbzinhodomal2
    @bbzinhodomal2 Pƙed 5 lety

    you should do a video about Nix package manager too

  • @rwprime1
    @rwprime1 Pƙed 4 lety

    In a Win10 VBox vm, I built Arch and went with Openbox and Tint2 and Termite and I can't scroll up in termite to look at text. Why? How do I fix that and also I can't find any keybindings to start that terminal like ctrl+alt+t or F12. Any ideas there? Thanks

  • @phillphall
    @phillphall Pƙed 3 lety

    This is pretty powerful. You can actually control all the trash that builds up in a system over time. In a straight forward way too. Unlike windows...

  • @handsomedevil1974
    @handsomedevil1974 Pƙed 3 dny

    Is there a site that has all the acronyms and their meaning before I install arch been wanting to give it a shot but only find sites that contain little to no information.

  • @BennoKushnir
    @BennoKushnir Pƙed 4 lety

    If you uncomment the bash-completion on debian-systems in /etc/bash.bashrc, you get the completion of the package-names, when you type "sudo apt install " +
    Is there a bash-/zsh-completion for pacman as well ?

  • @sasakanjuh7660
    @sasakanjuh7660 Pƙed 5 lety

    Woow, I didn't know I know more that I need to know about pacman :D Thanks Luke, really useful video!
    Btw, plus point for "For the video, I will remove it"! :D

  • @Ű”ŰŽÙŰ€Ű§
    @Ű”ŰŽÙŰ€Ű§ Pƙed 2 lety

    :awesome: