3 Things to MASTER in Gentoo Linux

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 49

  • @pretoasted
    @pretoasted Рік тому +15

    Gentoo was my very first distro and the handbook taught me tons in a very short period of time. It took a few days as I was also reading the entire handbook at the same time, but it was well worth it.
    I'm still using the same install from 2002 that started on an SATA HD, and now resides on an NVMe; Never had to do a fresh/re-install...I always managed to find a way to fix anything I broke, which was a lot.

  • @donaldmickunas8552
    @donaldmickunas8552 Рік тому +10

    I’m just getting started with Gentoo. I’ve used Linux since the early 2000s and I’m comfortable on the cli. This video along with others I see on your channel are going to make my Gentoo journey so much easier. Thank you so much! ❤👏

  • @AnantKumar-xf2pw
    @AnantKumar-xf2pw 7 місяців тому +11

    Just a heads up to anyone new viewing this video. euses is deprecated or unmaintained so stick with equery u that will provide all uses flags and their description for the pkg

    • @gregandark8571
      @gregandark8571 5 місяців тому

      Is it possible to install Gentoo with 0 systemD dependency?

  • @JohanJohnsson
    @JohanJohnsson 10 місяців тому +2

    I am on the verge to install Gentoo for the first time, this was a very nice video to watch.

    • @linuxtechgeek
      @linuxtechgeek  10 місяців тому +1

      That’s awesome, if you’re nervous about it or not 100% sure on the documentation then I recommend doing it in a virtual machine first. Good luck

  • @th3m45t3rm1nd
    @th3m45t3rm1nd Рік тому +3

    last time i used gentoo i got confused with these little things like masked packages, but now i think i will try it once again as things have become a little clearer now. great stuff keep making videos like this...👍

  • @_BLANK_BLANK
    @_BLANK_BLANK Місяць тому +1

    Idk if anyone mentioned this. Its not something that really matters much, but is just good info i think.
    When you are installing a package froma binary distro. They don't actually have all features built into them. Some packages might, others won't and the maintainer decided which options to enable or disable.
    The main thing is what you said though. Which is true. You don't get any choice on what is included. Unless you go and compile the package yourself with that option enabled or disabled.

    • @linuxtechgeek
      @linuxtechgeek  Місяць тому +1

      @@_BLANK_BLANK yeah valid point. I probably forgot to mention that during that time.

  • @mwont
    @mwont 5 місяців тому

    Awesome video. Thanks, I just started my gentoo adventure.

  • @seancondon5572
    @seancondon5572 6 місяців тому

    19:42 - masking... there are 3 types of masking. License, Arch, and Explicit masking.
    An example of a license-masked ebuild is app-arch/unrar. It requires you to add unRAR to your package.license.
    Arch masking is usually used for testing and unstable packages. This can be ~arch masking as is the case with, say, wine-vanilla-currentversion, or ** masking as is the case with wine-vanilla-9999 (or any other git repo ebuilds)
    Explicit masking is used on very few official ebuilds. I'm fairly certain it's only if the ebuild has some sort of MAJOR security concern. Explicitly masked packages can be unmasked at your peril using package.unmask, and non-masked packages can be explicitly masked using package.mask.

    • @linuxtechgeek
      @linuxtechgeek  6 місяців тому

      yeah video was like two years ago, I prob have a better understanding of it now but thanks

  • @seancondon5572
    @seancondon5572 6 місяців тому +1

    20:50 - they used to be files. If I'm not mistaken, you can still have them as files, but emerge will complain as this is deprecated. Not to mention file bloat. I usually have my files as package.whatever/package-category, so, for example, I have a file app-emulation under package.accept_keywords, and a file app-arch under package.license.

  • @marekmatej5971
    @marekmatej5971 Рік тому +1

    you can use the version numbers in the accept_keywords/ file, you just need an equal sign (or equal greater) sign in from of the package atom name. That way you will unmask the specific version! Or, you just remove the version suffix and unmask the package globally. EDIT: you have covered this later in video :)

  • @---tr9qg
    @---tr9qg Рік тому +2

    🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @JamesSmith-ix5jd
    @JamesSmith-ix5jd Місяць тому

    18:11 you should not do this, you essentially installing unstable libraries on stable branch, eventually your system will be broken. The solution if you really need that package is to enable global unstable ~amd64 branch in make conf and rebuild the system. Or use other package managers wich are not distro specific - nix package manager, flatpak, distrobox.

  • @scottb4029
    @scottb4029 Рік тому +1

    May I humbly offer the suggestion of using Herbsluftwm. Easy to use and configure

  • @relaxdmj8769
    @relaxdmj8769 7 місяців тому

    Very usefull information, thank you very much!
    Regarding the "package.accept_keywords" directory (or "package.use"), could you regroup all your individual files under one unique file (including all your conditions for all your packages under one unique file)?

    • @linuxtechgeek
      @linuxtechgeek  7 місяців тому +1

      yeah as long as they are in there respective directories.. meaning if you wanted to only have 1 file in package.use or 1 file in package.accept_keywords then you can.. only reason I chose not to do it is because I thought my way was cleaner but truth is theres no real clean solution... either you have a giant ass file or you have many different ones

  • @amizednix
    @amizednix 11 місяців тому +1

    I love Gentoo! But one honest question here, how much time it takes you to compile firefox?

    • @linuxtechgeek
      @linuxtechgeek  11 місяців тому

      Not long because I use the binary package for it. I’ve never compiled the browser from source

    • @ZODDBERR
      @ZODDBERR 7 місяців тому

      ~4-5 hours. Not the best computer -j4 i5 4460 8GB RAM

  • @user-if1gj2wh5c
    @user-if1gj2wh5c Рік тому +2

    why do you put ./ before directories and files?

    • @linuxtechgeek
      @linuxtechgeek  Рік тому +2

      it just means "look in the current directory" for this specific file or specific directory..
      www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/Why-must-you-use-to-run-your-Ubuntu-scripts-The-meaning-of-Linuxs-dot-slash-explained

    • @linuxtechgeek
      @linuxtechgeek  Рік тому +2

      thats a pretty good article on why to use it

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

    thank you.

  • @niki7968
    @niki7968 Рік тому +1

    Quick question, what WM are you using?

    • @linuxtechgeek
      @linuxtechgeek  Рік тому +1

      In this video I was using Qtile, but I usually switch between Qtile and DWM.. depends on the day

  • @lockaltube
    @lockaltube 10 місяців тому

    11:30 interesting, you have "X" in global USE flags, but when you emerged links, it was "-X". Also links had no GUI, but it somehow was compiled with jpeg support.

    • @linuxtechgeek
      @linuxtechgeek  10 місяців тому

      I think if you have package.use USE flag set.. it takes precedence over whats in make.conf.. thats why I could have X in make.conf but -X in package.use/links

  • @damianateiro
    @damianateiro Рік тому +2

    I don't use gentoo and it is very unlikely that I will because I don't have that much time to do it, but I am someone who is open to knowledge and I am always willing to learn new things (and at the same time to know why femboys like it so much XD)

    • @linuxtechgeek
      @linuxtechgeek  Рік тому +2

      Yeah its always great to learn new things and appreciate them even if your not going to use that "THING" yourself.

  • @mementomori1868
    @mementomori1868 8 місяців тому

    gentoo now have binarys and you can choose

    • @linuxtechgeek
      @linuxtechgeek  8 місяців тому

      Yeah, that video was WAY before binary support became a thing, but you are right

  • @JamesSmith-ix5jd
    @JamesSmith-ix5jd Місяць тому

    Why are you always typing ./ for every file, it is not necessary for non executables.

    • @linuxtechgeek
      @linuxtechgeek  Місяць тому

      @@JamesSmith-ix5jd too be honest it’s habit, but I do prefer direct paths names then having the shell guess which files I want. It’s just something I’ve always done

    • @JamesSmith-ix5jd
      @JamesSmith-ix5jd Місяць тому

      @linuxtechgeek It is still kind of relative filename, "." just expands to current directory. Absolute filename always starts with "/"
      I see some possible pitfalls in which you can fall with such a habit. First of all is doing some action on "./" Itself, because you are used to type it, one day you can do some mistake in a lengthy command and pass ./ Into it without your intended target.
      "." and ".." as well as "*" and quotes " should be used with extreme caution on the command line. They are giving most problems for most people, if every command you run has to be run with caution none of them will, you are setting yourself up for a big mistake in the future.
      When I see ./ , ../ , * or " " in my command I always check it two times and wait 2 seconds before hitting enter. I made some mistakes in the past, like rm -rf .* Instead of rm -rf ./* which deleted not only everything inside the current directory, but also ".." without me realizing it, I don't think it went to the upper directly thanks god. Anyway, just be careful, when something expands it's easier to not catch the mistake in time.