Using Pacman on Arch Linux: Everything you need to know

Поділитися
Вставка

КОМЕНТАРІ • 305

  • @xGOKOPx
    @xGOKOPx 5 років тому +651

    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 років тому +406

    I use arch by the way

  • @fiddlinmacx
    @fiddlinmacx 5 років тому +60

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

  • @3lguy
    @3lguy 5 років тому +140

    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

  • @NeronRVV
    @NeronRVV 5 років тому +99

    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.

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

  • @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!

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

  • @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!

  • @gizzmoguy.
    @gizzmoguy. 5 років тому +2

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

  • @dianeattaway8733
    @dianeattaway8733 3 роки тому +2

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

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

  • @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*

  • @MoreChannelNoise
    @MoreChannelNoise 5 років тому +3

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

  • @TheSar
    @TheSar Рік тому

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

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

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

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

  • @_Pymander
    @_Pymander 2 роки тому

    This is a great video thanks Luke!

  • @niksingh710
    @niksingh710 2 роки тому +1

    These small perks are very helpful. Thanks

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

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

  • @matuzaato
    @matuzaato 4 роки тому

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

  • @iLiokardo
    @iLiokardo 5 років тому +10

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

    • @nsa3967
      @nsa3967 3 роки тому

      That made me LOL out loud!

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

  • @cookiedestroyer402
    @cookiedestroyer402 5 років тому +28

    2:53 Luke confirmed uses emacs

  • @foofighter1933
    @foofighter1933 5 років тому +8

    finally a video about emacs, we are saved!

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

  • @soumalyadas1123
    @soumalyadas1123 Рік тому

    amazing, this makes rtfm so much easier!

  • @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]

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

  • @olemartinsnoen9633
    @olemartinsnoen9633 2 роки тому

    appreciate the vid. thumbs up

  • @geoptus
    @geoptus 5 років тому

    Nice and clear - thanks

  • @justthebeginning1448
    @justthebeginning1448 3 роки тому

    Thx, learned a lot👍👍👍👍

  • @felippehdlinux
    @felippehdlinux 2 роки тому

    Very good, thank you.

  • @Liv4IT
    @Liv4IT 2 роки тому

    Pretty nice tutorial 👌

  • @rickcontreras59
    @rickcontreras59 2 роки тому

    Thank You and very good lesson

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

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

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

  • @cthedosboss5113
    @cthedosboss5113 5 років тому

    thanks luke : )

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

  • @lavishjaat
    @lavishjaat 3 роки тому +2

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

  • @tobiashelbing1233
    @tobiashelbing1233 3 роки тому

    Very nice. Thx

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

  • @nanibanani7560
    @nanibanani7560 2 роки тому

    thanks for the informations

  • @dewijones92
    @dewijones92 5 років тому

    Another great video

  • @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?

  • @tomaszkonicz
    @tomaszkonicz 4 роки тому +2

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

  • @dharmang
    @dharmang 5 років тому +8

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

  • @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?

  • @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?

  • @franznawrath
    @franznawrath 4 роки тому

    terrific !! hehehehe greetings from Chile !!

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

  • @surajbiswastalks
    @surajbiswastalks 3 роки тому

    thank you for this

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

  • @sodakarate7242
    @sodakarate7242 Рік тому

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

  • @wytrzeszczux
    @wytrzeszczux 5 років тому

    Did Luke did anything about Rassbery Pi class computers?

  • @MoreChannelNoise
    @MoreChannelNoise 4 роки тому

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

  •  5 років тому +1

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

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

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

  • @rexevan6714
    @rexevan6714 5 років тому

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

  • @keiichiiownsu12
    @keiichiiownsu12 4 роки тому

    Question: have you done any python tutorials?

  • @Andr0id88
    @Andr0id88 5 років тому +16

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

    • @Andr0id88
      @Andr0id88 5 років тому

      @@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 ;)

  • @-bazoona3654
    @-bazoona3654 3 роки тому +1

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

  • @ManishSharma-fi2vr
    @ManishSharma-fi2vr 3 роки тому

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

  • @MrKsuhiyp
    @MrKsuhiyp 5 років тому

    Amazing video

  • @denisaputra8741
    @denisaputra8741 3 роки тому

    thanks sir really helpfull for me

  • @ianpan0102
    @ianpan0102 5 років тому +4

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

  • @bbzinhodomal2
    @bbzinhodomal2 5 років тому

    you should do a video about Nix package manager too

  • @darshanand6337
    @darshanand6337 5 років тому

    Which software you use for screen recording?

  • @yash1152
    @yash1152 Рік тому

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

  • @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?

  • @jonathanmoore5619
    @jonathanmoore5619 3 роки тому

    Nice vid 👍

  • @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 ?

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

  • @MrHatoi
    @MrHatoi 5 років тому

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

  • @DANGUmustDIE
    @DANGUmustDIE 4 роки тому +1

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

  • @someperson9763
    @someperson9763 5 років тому +16

    How do his man pages have syntax highlighting?

  • @kirkeasterson3019
    @kirkeasterson3019 5 років тому +2

    6:00 sudo !!

  • @MrSMGun
    @MrSMGun Рік тому

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

  • @260Lipe
    @260Lipe 3 роки тому

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

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

  • @Mr3X7R3M3
    @Mr3X7R3M3 2 місяці тому

    Switched to arch-kde from ubuntu-gnome
    Flawless gaming so far, just took a bit of getting used to the arch website/dependencies

  • @yash1152
    @yash1152 Рік тому

    8:21 > _"packages that are explicitly installed"_
    on msys2 on windows, i find pacman -Q --unrequired (or pacman -Qt) to be better than -Q --explicit
    but i don't know the exact technical differences between them
    9:51 yeah, the -t option got a mention here, but only in context of deps

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

  • @PabloAndresDealbera
    @PabloAndresDealbera 5 років тому +5

    1:20 You're evil, Luke.

  • @CreativeJE
    @CreativeJE 2 роки тому

    Luke summarised basic commands at 10:44

  • @barbiefan3874
    @barbiefan3874 2 роки тому +1

    kinda funny that "dt" option lists unneeded dependencies

  • @marbangens
    @marbangens 4 роки тому +2

    12:52 hahahaha

  • @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?