ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Using Pacman on Arch Linux: Everything you need to know

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มี.ค. 2019
  • WEBSITE: lukesmith.xyz 🌐❓🔎
    DONATE NOW: lukesmith.xyz/donate 💰😎👌💯

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

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

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

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

      we dodged the bullet

    • @Clutter.monkey
      @Clutter.monkey 5 ปีที่แล้ว +20

      He‘ll get there eventually

    • @Zoltan_Gyarmathi
      @Zoltan_Gyarmathi 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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.

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

      @barnyard But do we have anything better..?

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

    I use arch by the way

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

      I use arch as my first distro by the way

    • @user-cg3vu4gj2c
      @user-cg3vu4gj2c 4 ปีที่แล้ว +22

      I use arch and was manual installed with fdisk btw

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

      Arch uses me btw

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

      i never got round to it

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

      @Ishtiaque Walid gentoo was my crux

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

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

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

    Daily uploads..
    This man gonna dethrone PewDiePie soon.

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

      @@danielasilva69457 DEFEAT BRIAN LUNDUKE

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

      Who the hell is PewDiePie?

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

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

  • @deadnchillin4045
    @deadnchillin4045 4 ปีที่แล้ว +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.

  • @bowar123
    @bowar123 4 ปีที่แล้ว +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 2 ปีที่แล้ว +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!

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

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

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

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

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

      @@aaronryder4008 besides editor feature, anything else is decent

    • @hectorcanizales5900
      @hectorcanizales5900 3 ปีที่แล้ว +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 3 ปีที่แล้ว

      @@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.

  • @internetsnacks150
    @internetsnacks150 3 ปีที่แล้ว +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!

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

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

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

    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.

  • @ff-jt8un
    @ff-jt8un 3 ปีที่แล้ว +40

    Just installed Manjaro. This was helpful, thanks Luke.

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

      I feel like this is 90% of people watching
      ᶦⁿᶜˡᵘᵈᶦⁿᵍ ᵐᵉ

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

      @@alfalfa8168 ᶦⁿᶜˡᵘᵈᶦⁿᵍ ᵐᵉ

    • @gagne6928
      @gagne6928 2 ปีที่แล้ว +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 2 ปีที่แล้ว

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

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

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

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

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

  • @dipanshparmar3769
    @dipanshparmar3769 3 ปีที่แล้ว +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 ^_^

  • @formasdopossivel
    @formasdopossivel 3 ปีที่แล้ว +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*

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

    These small perks are very helpful. Thanks

  • @fixer8173
    @fixer8173 5 ปีที่แล้ว +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 :)

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

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

  • @rajufelix3070
    @rajufelix3070 5 ปีที่แล้ว +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.

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

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

  • @WK-47
    @WK-47 2 ปีที่แล้ว +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.

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

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

  • @kBarBeats
    @kBarBeats 7 หลายเดือนก่อน

    great video for coming back to every now and then !

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

    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

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

    This is a great video thanks Luke!

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

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

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

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

  • @user-ss6zt2mo1l
    @user-ss6zt2mo1l 5 ปีที่แล้ว +6

    This video should come bundled with Arch/Manjaro.

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

    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 :)

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

    finally a video about emacs, we are saved!

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

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

  • @yash1152
    @yash1152 ปีที่แล้ว +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]

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

    2:53 Luke confirmed uses emacs

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

    appreciate the vid. thumbs up

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

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

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

    Very good, thank you.

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

    Nice and clear - thanks

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

    Very nice. Thx

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

    Thx, learned a lot👍👍👍👍

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

    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).

  • @shubham9717
    @shubham9717 5 วันที่ผ่านมา

    A very comprehensive video on pacman

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

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

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

    amazing, this makes rtfm so much easier!

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

    Thank You and very good lesson

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

    Another great video

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

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

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

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

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

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

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

      I still pretty much type apt-get out of habit

    • @logangraham2956
      @logangraham2956 5 ปีที่แล้ว +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 5 ปีที่แล้ว

      @@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.

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

    Pretty nice tutorial 👌

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

    thanks for the informations

  • @PabloAndresDealbera
    @PabloAndresDealbera 5 ปีที่แล้ว +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 ปีที่แล้ว

      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?

  • @rajufelix3070
    @rajufelix3070 5 ปีที่แล้ว +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.

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

    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.

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

    thanks luke : )

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

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

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

      That made me LOL out loud!

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

    Dont forget to upgrade every 4 hours or your install breaks

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

      yes i would reccomend ever second

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

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

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

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

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

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

  • @DDBAA24
    @DDBAA24 5 ปีที่แล้ว +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......?

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

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

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

    thank you for this

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

    Amazing video

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

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

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

    Which software you use for screen recording?

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

    terrific !! hehehehe greetings from Chile !!

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

    6:00 sudo !!

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

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

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

    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

  • @Canadian789119
    @Canadian789119 4 ปีที่แล้ว +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?

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

    Nice vid 👍

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

    thanks sir really helpfull for me

  • @ManishSharma-fi2vr
    @ManishSharma-fi2vr 3 ปีที่แล้ว

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

  • @Booming-letsplays
    @Booming-letsplays 5 ปีที่แล้ว +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 5 ปีที่แล้ว +3

      use reflector

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

    How do his man pages have syntax highlighting?

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

    12:52 hahahaha

  • @drumpf4all
    @drumpf4all 5 ปีที่แล้ว +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 5 ปีที่แล้ว +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.

  • @glencoukell163
    @glencoukell163 4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

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

    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

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

    very nice

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

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

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

    Did Luke did anything about Rassbery Pi class computers?

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

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

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

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

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

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

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

    My package cache seems to hold 9 months worth of packages and I can’t find any way to determine why that’s the case. I tried to grep the cache path in etc and var and usr, didn’t find anything of note and I don’t have pacman-contrib installed.

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

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

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

    How to check if there's any corrupted package after a pacman -Syyuw ??

  • @260Lipe
    @260Lipe 3 ปีที่แล้ว

    I'm new to arch and something I don't really get is why use a AUR helper such as YAY?

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

    Hwy, let's say i downloaded a package once. Is there any way to save it for future so i can install it manually offline.

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

    Question: have you done any python tutorials?

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

    Hey @Luke Smith I am going thru your LARBS build and Lots of scripts are not working because the programs that run them are not installed by default maybe should be good to double check that; How about doing Videos going thru the list in your .script Folder?

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

    Luke summarised basic commands at 10:44

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

    Does it honestly matter if I'm switching to Linux to install Endeavour and just learn Pacman right from the start since its ALL going to be new to me; instead of "graduating" from a debian based system like a lot of people recommend?

  • @handsomedevil1974
    @handsomedevil1974 4 วันที่ผ่านมา

    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.

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

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

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

    How did he get the blue border around his terminal?

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

    Would this stuff work on the steam deck it runs on arch Linux

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

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

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

    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 ?

  • @Mr.Finkel
    @Mr.Finkel 5 ปีที่แล้ว +1

    pacman -Rn will it remove the dependencies if they are needed by other programs already installed on your system?