How to use 🚩USE Flags🚩 in Gentoo

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 51

  • @liquidmobius
    @liquidmobius Год назад +2

    I've been watching your videos for well over a year but had no idea you've used Gentoo before and were this knowledgeable about it. You gained a whole new level of respect! ✌️

  • @mitchelvalentino1569
    @mitchelvalentino1569 4 года назад +35

    I’m digging your Gentoo vids. This stuff is gold. Keep it up!

  • @byranotieno
    @byranotieno 4 года назад +17

    Your Gentoo videos made me ditch Arch. Gentoo is way more better than Arch. Love the sound my laptop makes when its emerging packages. Please keep doing more Gentoo content .Thank you.

    • @idle-hands
      @idle-hands 4 года назад +1

      Why is Gentoo better than Arch?

    • @byranotieno
      @byranotieno 4 года назад +10

      @@idle-hands because it is gives you granular control and choice. It is also a source based distro as opposed to Arch and other distros. The packages you compile are unique to your system.

    • @usodarou
      @usodarou 4 года назад +1

      @@byranotieno isnt debian like the same then? you can use apt-src to get the source code, modify the code then build and voila you got a unique package...

    • @usr-coffee
      @usr-coffee 3 года назад

      @@usodarou i mean in most distro u have the option to get the source code and compile it manually but by default the package manager will grab binary and no comiling needed tho to what i am aware u cant set it up in such a way that u auto compile every sigle package and dependency and defining also there use flags or definieces what license u accepted u usually would have dig up the gits for everysigle dependys and binary

  • @LinuxDaily
    @LinuxDaily 4 года назад +26

    when you're like me and install gentoo to actual hardware with a low end cpu and upgrading packages takes literally all night

    • @hansdampf2284
      @hansdampf2284 3 года назад +4

      I did that on my 10 years old laptop. I use distcc and let my desktop and another Laptop with a Xeon proc help out.
      This way install including gnome/ff/libreoffice/thunderbird takes about 5 hours, only compiling on that puny laptops CPU would probably take a week.

  • @viktor133100
    @viktor133100 3 года назад +1

    When lack of OCD becomes a problem :p
    Great video btw. Only videos I could find about actually using Gentoo.

  • @anikbiswasarnob
    @anikbiswasarnob 3 года назад +1

    newbie to the gentoo world, after 2 tries I've successfully able to boot on my system but I've some weired network issues as I used to use usb thether to share my data using a old smartphone and have a flip-flop modem (bit of a headache) so, unable to use it without network, thinking about a fresh start again. Oh, I've customize my kernel to turn off everything about amd, genkernel takes time to generate kernel.

  • @hoefkensj
    @hoefkensj 3 года назад

    and i use the esearch [name] equery u [group]/[package] , euse -p [g/p(:v)] -E [flags] sequence for managing useflags , or if i need to add a global useflag drop the -p [g/p:v]. i used flaggie for a while but i like the way this sequence keeps local in package.use/ and global flags in mak.conf

  • @TheMohawkNinja
    @TheMohawkNinja 4 года назад +4

    Could you go into more detail about the security benefits? Like, if I have my own "unique binary" of Firefox as compared to a generic install, won't it still be the case that the same memory addresses will be called in the same points in the code for the same reasons?
    Generally when I hear about exploits in applications, the scope is only limited to the CPU architecture, and not any specific CPU make/model, so I'm having trouble understanding how USE flags will actually benefit security all that much.

    • @icarlyfan102
      @icarlyfan102 4 года назад +2

      I think the security benefit comes ONLY in the case when the ‘hackermans’ exploit utilizes code in a specific use flag that you have disabled. For example, let’s say you have firefox with the systemd flag disabled, and the hackermans exploit utilizes code that would be included in the systemd use flag.

    • @TheMohawkNinja
      @TheMohawkNinja 4 года назад +6

      @@icarlyfan102 Yeah, but if you're running a non-systemd-based distro (like Gentoo), than what could a systemd exploit in Firefox possibly do to your system if you don't have the thing with which the exploit targets to begin with?

    • @thiagobarbieri7476
      @thiagobarbieri7476 2 года назад

      @@TheMohawkNinja If you would install the package on a different distro, even if it's not systemd, the USE flag would come by default. You would have the code inside the package, even though you are not using it.

    • @YouTubeCensorshipStinks
      @YouTubeCensorshipStinks Год назад +1

      Old post, but other than what was mentioned before, I'd think it could be along the lines of how I hack windows games. My trainers and scripts look for AoBs, array of bytes and if an update is drastic enough that pattern is changed and I'd have to rehack it or the hack would only sometimes work, depending on which AoB it matches first.
      So if I have a heavily modified binary the attacker's attempt to patch may fail because it's looking for the FDAU exploit at offset 0x00090210, but now it's at 0x00065350 or not there at all.

  • @Vulto166
    @Vulto166 3 года назад +3

    I install gento and it's been a very unique experience.
    I like gento but one thing that bother's me is that ncurses applications is bugged.
    I use cfiles to browse my files through terminal. When i was in Arch Linux, it was fine, but in gentoo is mess.

  • @MaksTastic
    @MaksTastic 4 года назад +4

    10:54 - I guess we will C

  • @awabqureshi814
    @awabqureshi814 4 года назад +12

    I need to try gentoo

  • @egg5474
    @egg5474 4 года назад +4

    I’ve got some old laptops like lying around that aren’t really useful at the moment, would you recommend installing gentoo on them or is it not worth the hassle vs using tiny core or a puppy Linux liveCD, which they do run but as soon as I do anything more intensive than opening up a text editor on puppy Linux it will bog down and stutter, so I guess my question is could I hypothetically make gentoo more lightweight than those?

    • @AudioKuroneko
      @AudioKuroneko 4 года назад +3

      if you want to optimize your old laptops to be actually usable again and get the most out of the hardware , USE GENTOO

    • @Jorge-xf9gs
      @Jorge-xf9gs 4 года назад +3

      Try Artix with runit and base install. If not enough, Gentoo is perfect.

  • @badwolf8112
    @badwolf8112 3 года назад +2

    >smaller binary saves you RAM
    why? a binary doesn't need to be big to use a lot of ram.

  • @Blasphmia
    @Blasphmia Год назад

    I am aware this video is three years old. That being said. Is there any difference between omitting the ">=" along with the version number and keeping them? I built my install without using the ">=" operators and just left off the version number and everything seems to be working fine. This is only my second successful install and I'm curious if this could cause me issues in the future. Love your videos.

    • @ruby_R53
      @ruby_R53 Год назад

      i'm a newb to gentoo, so don't follow this straight away, but, i think what these symbols + version number do is that they just specify that the use flag is supposed to be used on that specified version of the package or newer, so if you omit those, the use flag'll be applied to any version of the package. that's my guess.

    • @th7mo
      @th7mo 11 месяцев назад +1

      @@ruby_R53 That is correct. The >= syntax is for specifying a minimum version number. That is why a version number is required when using >=. When you omit the >= and version number the USE flag applies to every version of the package.

  • @johnterpack3940
    @johnterpack3940 4 года назад

    Don't you have to change package.use for every new package? How is that less cumbersome than just making a unique one for each package? Also, how do you know what flags are available for each package?

    • @MentalOutlaw
      @MentalOutlaw  4 года назад +1

      It really just comes down to preference, if you have alot of per package use flags it might be easier to work with multiple files. Every package is listed with its use flags on packages.gentoo.org/

    • @johnterpack3940
      @johnterpack3940 4 года назад

      @Lord Brookie Thanks for that. Does the query work on source code, or just packages? When I was last involved in linux I built the Palemoon browser without Pulseaudio support. So I know there are tweaks for most any program. But unless the devs point them out, I don't know how to find them. I'm not a pro, just a modestly competent enthusiast.

    • @johnterpack3940
      @johnterpack3940 4 года назад

      @Lord Brookie right, what I'm curious about is how to know what flags are available in the source. I don't remember seeing them listed in the readme. So how do I know to pass --enable-alsa-support, or not, when I run ./configure? I seem to recall there's something basic that I'm just forgetting.

    • @johnterpack3940
      @johnterpack3940 4 года назад

      @Lord Brookie I'm genuinely looking forward to trying out gentoo. I have a live CD of another distro that I was planning to install. But I may use it to install gentoo instead. It's an old laptop, so probably take a couple weeks to build everything. Just want to experiment to see if I can get everything set up right so I can put it on my next rig. Understanding how to optimize the build is a major part of the question.

    • @johnterpack3940
      @johnterpack3940 4 года назад

      @Lord Brookie I'm sure I will. Last distro I used was Slackware, so I'm fairly comfortable with no handholding and learning new things.

  • @khatdubell
    @khatdubell 2 года назад

    guess you haven't tried ufed?

  • @kingyachan
    @kingyachan 4 месяца назад

    I just realised you kinda sound like the gold guy

  • @applemarkwantsvids
    @applemarkwantsvids 3 года назад

    What terminal emulator are you using here?

    • @SimulatedWarfare
      @SimulatedWarfare 3 года назад

      Urxvt

    • @acceptableconvo
      @acceptableconvo 2 года назад

      This looks like Luke Smith's customized version of st (because only he likes the gaudy PS1 rainbow colors).

    • @shallex5744
      @shallex5744 2 года назад

      it says urxvt in the window title segment of the status bar

  • @m4t35z
    @m4t35z 4 года назад +3

    7:21 fbi open up kappa
    Btw nice video thanks for info dwm ftw

  • @cianmoriarty7345
    @cianmoriarty7345 Год назад

    10:50 brah. Please don't just spam out a command and press enter. We want to know what you're doing, why, and the actual command. There's not even a quarter second to see what command you typed to bring up your list of installed packages.

  • @happyjuice4251
    @happyjuice4251 2 года назад

    oh g-d please not my shekels

  • @EffToyz
    @EffToyz 4 года назад +2

    Man, come on, could you pick smaller fonts for terminal? But thanks a lot for lesson, I'm trying to use gentoo now.

  • @terminalvelocity4858
    @terminalvelocity4858 3 года назад +3

    [ kenny@GentBox ~]$ emerge --ask www-client/firefox
    WARNING : Do you really want to go there? [ y / N ] : █

  • @hahazoo6468
    @hahazoo6468 3 года назад

    I use Linux now.

  • @hansdampf2284
    @hansdampf2284 3 года назад

    The way you say “KDE” makes it sound like it’s something disgusting.