@@ndbe8548 I mean no offence I have tried and ditched it all together. I am an arch user and the main problem with gentoo is it takes far too long to compile things even a little thing like neofetch takes 5 min to compile even thought I am rocking a ryzen 3600 with 16GB of ram
@Nicolás Agustín I guess he didn't get stuck there he didn't read the documentation and all. I used it for a few days and I personally don't like the long compilation time for minimal performance gains
Hey DT, I've been a viewer of yours for quite some time now, and being a gentoo user I love seeing you post some gentoo content! Keep it coming, and thank you for all the great content over the years.
DT, the issue preventing you from doing startx before the last reboot is because you logged into the console initially as root, but after the reboot you logged in as dt. One of the things login (the login executable started by getty and clones on the terminal, not login the action) does is set ownership of the virtual console device to the user logging in. So when you log in as root and then su, the console is still owned by root. When you log in directly as dt, the console becomes owned by dt.
I suppose it depends if one feels following a set of instructions to install something teaches something useful. Personally I find there are more enjoyable ways to pass the time :D yawn time. Almost as exciting as installing Arch.
I felt the same way about Arch for a couple of weeks after I downloaded it for the first time. I had done a Gentoo install years ago and that's probably why but after I got Arch installed with a DE, the sky was the limit. I could do anything I wanted to with it and that was so freeing. I may slap a HDD in this machine and throw Gentoo on it when I have a whole day to do it. :)
You're going on the journey I went on last year. Learn portage and use flags, run updates overnight if you want to save time. Do a custom kernel btw! Using genkernel instead of fine-tuning a lean kernel is sort of missing out on the benefit of gentoo imo. Kernel compile times are actually suprisingly short compared to some packages. Also remember to use the desktop profile, I don't know if you did that or not but I forgot the first time. Good luck 👍
What’s the difference between make menuconfig and genkernel menuconig? Genkernel is just automating some commands. Or did you mean the binary -dist kernels??
@@hansdampf2284 I wasnt referring to binary dist kernels, I meant the generic kernel config used by genkernel when you dont give it your own configuration file. some people use that for their initial install and then work on a config later but the compile times arent worth it imo, thats what i was saying. sorry if i wasn't clear
@@breadpirateroberts4946 Hey, I am looking into configuring the kernel but I don't know where to start and how. So can you please point me a direction, Thanks.
One thing I learned back when I used gentoo, before using sudo was as standard as it is now: you should almost always run `su -` instead of simply `su` when switching users. That's the same as `su --login`, which clears environment variables and does environment setup like a fresh login as the new user. Some of the additional commands you had to run post install (dispatch-conf, rc-update) were mentioned in the messages after installing all the packages. `dispatch-conf` is a safety check to make sure new installations don't break old configs -- it shows a diff of the current config, and the new config file. There are also a lot of tools that make package management easier. E.g. I used to run `equery` to search for packages rather than look up the names in the wiki. It's been a long time, so there are probably newer good tools.
Great video, I wanted to learn Linux and I strait jumped to gentoo. I knew it was way over my head, but I wanted to learn. It took me 2 months to install, but it worked. I used an old Laptop, which I don't need, so why not. Great input DT :-)
u could and should increase the number of parallel emerge jobs to at least 2. -j2. emerge -NuvDa -j2 bla bla. while one package downloads or installs, or prepares, another can compile or whatever. saves a lot of time. Also, i cant recommend this enough. mount -t ramfs ramfs /var/tmp/portage. or mount -t tmpfs none /var/tmp/portage -o size 6G. using ram as temporary storage for building not only saves disk usage and tear over time, but also increases installation speed dramatically.
I was planning on doing exactly this on my laptop a couple weeks ago... but I knew I had to actually get some school work done later that day, so I was forced to go with Arch instead lol
Installed QTile instead of DWM and it's great! Thanks for the tutorials for gentoo. Tried installing myself but I show how must have followed the wrong docs or just did something wrong
Can you do this with NixOS? I’d love to see it more on the channel, given that it’s configuration language takes inspiration from Haskell (being lazy and functional), and the Flakes system allows for the creation of personal repositories using Git.
DT, how do I install a GTK theme without a Desktop Environment? To have themed window borders and icons. Can't find info on this, maybe it's not possible (?)
I don't remember it correctly, but it involves downloading theme and the copying it to somewhere like /usr/share/themes and then setting default theme for gtk3 and gtk2 using their respective config files.
Not that much of an issue on your system but you are not supposed to edit the sudoers file that way. The right command to use is visudo. It preserves file permissions checks for synax and the likes.
3 роки тому+3
You really want to use visudo instead of editing directly. That will write to a temporary file and validate it before overwriting the actual sudoers file. It doesn't matter much when you can log in as root, but it's a good habit to get into. I'm speaking from experience 😂 (Had to reboot a shared hosting server into single user mode to fix my mistake 😬)
I actually thought one would use doas on Gentoo rather than sudo.
3 роки тому+1
@@marioschroers7318 That too. I personally don't use doas but that's because I'm quite comfortable with sudo and the things you can do with it, although it may be bloat.
I dare you to install full libreoffice 😈😂 Edit: Ah yeah Gnome would have been much fun Sorry I pause the video when I comment and I didn't hear you talking about gnome. Emacs would be fun too.
@@sohn7767 I use tex pandoc combo too (with sc-im for spreadsheets) but the time to compile libreoffice is like the meme a few years later . That was the idea . By the way sc has vim like key bindings.
@@sohn7767 i dont use firefox for what i need qutebrowser is enough (and the compilation time is pretty long by my standard) The truth is i never compiled firefox on gentoo or LFS because the time stories and I dont want to think how much would take to compile an office suite with 4 main programs.🤣 Edit: just edited some smartphone autocorrect.
@@sohn7767 I heard about sc-im from luke too. Until then i was using the standard sc which was in the standard repo. When I installed ,regarding arch, it was in the AUR .
Hey DT, if my workflow on one of my laptops only uses terminals, do I need a window manager? (Is it wrong to just use TTYs only?). Also IF (I mean WHEN) you do another Gentoo install, using the 'eselect profile' and just picking the x11/xorg one, will make this all a 1 button thing.
I just installed gentoo for the first time on an old 2MB RAM Core2Duo machine... it actually installed surprisingly fast. I like terminal type applications and like to stay in the tty even, so I started off with tmux, which took a bit of time. Next I decided on newsboat.... it is has been running a couple of hours and isn't close to being done. Taking longer than to install gentoo itself. Why is gentoo a thing again? hahaha
I am trying to install Pantheon desktop on Gentoo but unable to do, I have KDE. Wanted to have pantheon as my primary desktop. Can I request you to do a video for this please?
I only use gentoo and since you know how your system is built, once you learn how to mantain it, it's the most stable OS I've ever tried. All the advantages of a rolling release with the reliability of a LTS distro.
I put the minimum install iso at ventoy and boot it up from my usb stick and it can't find the root. Does anyone know how to make the installer work in usb just like arch linux? i had no luck with google
cant emerge -av x11-base/xorg-server x11-base/xorg-drivers because of the following packages are masked sys-apps/opentmpfiles-0.2 is there any solution for this
@@sigmundfreud4472 Cool but that is not much different to arch. My arch uses less than 340 in htop. I expected even less from gentoo. There is no need for that but I like spending as little as possible
@@oalfodr mental outlaw has got his lower than 75 mb of ram on dwm on gentoo. The thing is that you have to spend a lot of time optimizing, and be willing to do that, otherwise arch is probably the better choice because of package availability and not having to compile stuff. It doesn’t make sense to compile everything if you don’t optimize then with use flags and everything
Gentoo testing branch on my laptop with wifi+virtualization etc. takes 45MB, Mate desktop environment fully booted with network manager takes 199MB. I have fully Ofast optimized (except GentooLTO provides exceptions on packages that require less aggressive optimization) system which makes binaries larger and takes more RAM. So fully tuned Gentoo with DWM might take as little as 50MB in total. I have 32bit Gentoo with DWM on VM and it takes 57MB, but I have not optimized kernel. Though 64bit version takes slightly more and wifi drivers etc. take somewhat. Still under 100MB for certain.
Watching Gentoo instructions is actually funny. Just watch a video like this where he starts with missing one if the million things to do during setup and wasting the better part of a day just getting "basic" setup complete. If you are board enough to use Gentoo, just learn machine code while you have that much free time to kill.
Oh gentoo is awsome if used right. Binary distributions are nice if you only need the standard things. Anything out of the ordinary thats not already provided for and getting that build is a pain and a half. For gentoo: sure just set the flag yourself emerge again and voila.
PS. When you make a video about a specific topic, why do so many ungrateful people in the comments ask questions like "Can you make a video about...?" Do they expect you to provide them with "free knowledge to their specifications" or something? I consider that both rude and ungrateful.
I just finished the install of Gentoo and I am totally sure that I cannot live with this distro. Rolling back to Debian or Arch. Just imaging upgrading on weekly basis and the amount of wasting time looking clueless at the terminal output of compiled code. Kernel ~2h30 plasma 3h Firefox more than one hour and meanwhile a lot of debugging and dependencies solving. What`s the interest of showing colored USE which has to be added to the make. lol emerge is not a magic tool I know, but the idea of wasting the whole day between install and dependency resolving doesn't seem attractive to me, especially that I compile at work and that's enough for me. Final note: All this effort to not bring any noticeable performance in comparison with Debian, Arch, Fedora and CLEAR
A few remarks for this video. Normally one doesn't manually add the X USE flag in make.conf: choosing the right profile gives you that USE flag and many others. In his case the profile is default/linux/amd64/17.1/desktop One doesn't put elogind in the make.conf either This is obvious if you read (carefully) the messages at 11:42 you need to put it in a file under /etc/portage/package.use/ At 11:42 there was a warning telling to update the config files (either through etc-update or dispatch-conf). Normally one doesn't launch dwm via startx dwm: there is a dwm Gentoo wiki explaining it in detail !
Finally, after a week of living in the terminal I can progress to a window manager!
Well then if I sound a little harsh please forgive me. If you are seriously stuck there then gentoo is not for you my firend.
@@ndbe8548 I mean no offence I have tried and ditched it all together. I am an arch user and the main problem with gentoo is it takes far too long to compile things even a little thing like neofetch takes 5 min to compile even thought I am rocking a ryzen 3600 with 16GB of ram
@@ndbe8548, that's the right path of thinking, you'll never learn until you try.
@Nicolás Agustín I guess he didn't get stuck there he didn't read the documentation and all. I used it for a few days and I personally don't like the long compilation time for minimal performance gains
@@debarkamondal6406 lol neofetch is a bash script, it doesn't compile what?
Ah yes, how to become Mental Outlaw
Wow didn’t think this was going to happen. Good thing they also told you about the one mistake you made otherwise you’d be there for another 6 hours
Hey DT,
I've been a viewer of yours for quite some time now, and being a gentoo user I love seeing you post some gentoo content! Keep it coming, and thank you for all the great content over the years.
DT, the issue preventing you from doing startx before the last reboot is because you logged into the console initially as root, but after the reboot you logged in as dt. One of the things login (the login executable started by getty and clones on the terminal, not login the action) does is set ownership of the virtual console device to the user logging in. So when you log in as root and then su, the console is still owned by root. When you log in directly as dt, the console becomes owned by dt.
Precisely. And there's a clear hint in the error message.
Even better with installing sudo, you can compile it with the 'offensive' USE flag.
The more I see about Gentoo, the less I feel like I ever want to try it.
I suppose it depends if one feels following a set of instructions to install something teaches something useful. Personally I find there are more enjoyable ways to pass the time :D yawn time. Almost as exciting as installing Arch.
for me its the opposite, I want to try it now
I agree, it's too much, kinda like how I feel about Xmonad
I felt the same way about Arch for a couple of weeks after I downloaded it for the first time. I had done a Gentoo install years ago and that's probably why but after I got Arch installed with a DE, the sky was the limit. I could do anything I wanted to with it and that was so freeing. I may slap a HDD in this machine and throw Gentoo on it when I have a whole day to do it. :)
It's going to be a huge pain, undoubtedly. But... I'm all in! 😀
You're going on the journey I went on last year. Learn portage and use flags, run updates overnight if you want to save time. Do a custom kernel btw! Using genkernel instead of fine-tuning a lean kernel is sort of missing out on the benefit of gentoo imo. Kernel compile times are actually suprisingly short compared to some packages. Also remember to use the desktop profile, I don't know if you did that or not but I forgot the first time. Good luck 👍
What’s the difference between make menuconfig and genkernel menuconig?
Genkernel is just automating some commands.
Or did you mean the binary -dist kernels??
@@hansdampf2284 I wasnt referring to binary dist kernels, I meant the generic kernel config used by genkernel when you dont give it your own configuration file. some people use that for their initial install and then work on a config later but the compile times arent worth it imo, thats what i was saying. sorry if i wasn't clear
@@breadpirateroberts4946 Hey, I am looking into configuring the kernel but I don't know where to start and how. So can you please point me a direction, Thanks.
fantastic way to make something seemingly complicated - simple. thanks!
not planning to use gentoo tho since i don't quite like the "source distro" concept, but in case im changing my mind i can watch this video, nice!
Gentoo is hardcore.
Thank you DT. I wascalso the one among manyvpeople who requested the contunuation video for gentoo. Again Thank you DT.
if you want a floating window manager, openbox is a good alternative, its lightweight, runs on xorg and is extremely customisable
This video was so good I'm not even mad about the emacs thing anymore.
One thing I learned back when I used gentoo, before using sudo was as standard as it is now: you should almost always run `su -` instead of simply `su` when switching users. That's the same as `su --login`, which clears environment variables and does environment setup like a fresh login as the new user.
Some of the additional commands you had to run post install (dispatch-conf, rc-update) were mentioned in the messages after installing all the packages. `dispatch-conf` is a safety check to make sure new installations don't break old configs -- it shows a diff of the current config, and the new config file.
There are also a lot of tools that make package management easier. E.g. I used to run `equery` to search for packages rather than look up the names in the wiki. It's been a long time, so there are probably newer good tools.
emerge the world!!!
Great video, I wanted to learn Linux and I strait jumped to gentoo. I knew it was way over my head, but I wanted to learn. It took me 2 months to install, but it worked. I used an old Laptop, which I don't need, so why not.
Great input DT :-)
I dare you to building Gentoo on physical hardware On an secondary partition & use it for a year!
u could and should increase the number of parallel emerge jobs to at least 2. -j2. emerge -NuvDa -j2 bla bla. while one package downloads or installs, or prepares, another can compile or whatever. saves a lot of time. Also, i cant recommend this enough. mount -t ramfs ramfs /var/tmp/portage. or mount -t tmpfs none /var/tmp/portage -o size 6G. using ram as temporary storage for building not only saves disk usage and tear over time, but also increases installation speed dramatically.
don’t forget, you have something to do
linux mint 20.2 uma
A breath of fresh air after using Gentoo lol
I was planning on doing exactly this on my laptop a couple weeks ago... but I knew I had to actually get some school work done later that day, so I was forced to go with Arch instead lol
Lol same
Installed QTile instead of DWM and it's great! Thanks for the tutorials for gentoo. Tried installing myself but I show how must have followed the wrong docs or just did something wrong
Can you do this with NixOS? I’d love to see it more on the channel, given that it’s configuration language takes inspiration from Haskell (being lazy and functional), and the Flakes system allows for the creation of personal repositories using Git.
You should use qxl instead of virtio as gpu driver. qxl actually has some 3d functionality.
DT, how do I install a GTK theme without a Desktop Environment? To have themed window borders and icons. Can't find info on this, maybe it's not possible (?)
Which distro?
@@ahmadshahzad5404 I'm actually using Ubuntu Server, but I believe it's applicable to any distro
I use lxappearance then I install different gtk themes and try them out
@@t74devkw Check the arch wiki for GTK, seems like they cover it. $XDG_CONFIG_HOME/gtk-3.0/settings.ini
I don't remember it correctly, but it involves downloading theme and the copying it to somewhere like /usr/share/themes and then setting default theme for gtk3 and gtk2 using their respective config files.
Hey DT
Can you make a similar video for Wayland + DWL ?
Iys as easy as adding wayland in USE for make.conf then just build dwl following the github pages instructions.
@@nevoyu Thank you brother :)
Not that much of an issue on your system but you are not supposed to edit the sudoers file that way. The right command to use is visudo. It preserves file permissions checks for synax and the likes.
You really want to use visudo instead of editing directly. That will write to a temporary file and validate it before overwriting the actual sudoers file. It doesn't matter much when you can log in as root, but it's a good habit to get into. I'm speaking from experience 😂 (Had to reboot a shared hosting server into single user mode to fix my mistake 😬)
I actually thought one would use doas on Gentoo rather than sudo.
@@marioschroers7318 That too. I personally don't use doas but that's because I'm quite comfortable with sudo and the things you can do with it, although it may be bloat.
noice!
I dare you to install full libreoffice 😈😂
Edit: Ah yeah Gnome would have been much fun
Sorry I pause the video when I comment and I didn't hear you talking about gnome.
Emacs would be fun too.
who needs libreoffice if can use latex?
@@sohn7767 I use tex pandoc combo too (with sc-im for spreadsheets) but the time to compile libreoffice is like the meme a few years later . That was the idea . By the way sc has vim like key bindings.
@@bogdanlupu3679 I see, is it longer than firefox? That one already takes an eternity lol.
learned about sc-im because of luke smith ;)
@@sohn7767 i dont use firefox for what i need qutebrowser is enough (and the compilation time is pretty long by my standard)
The truth is i never compiled firefox on gentoo or LFS because the time stories and I dont want to think how much would take to compile an office suite with 4 main programs.🤣
Edit: just edited some smartphone autocorrect.
@@sohn7767 I heard about sc-im from luke too. Until then i was using the standard sc which was in the standard repo. When I installed ,regarding arch, it was in the AUR .
Hey DT, if my workflow on one of my laptops only uses terminals, do I need a window manager? (Is it wrong to just use TTYs only?). Also IF (I mean WHEN) you do another Gentoo install, using the 'eselect profile' and just picking the x11/xorg one, will make this all a 1 button thing.
No you don’t need a window manager
@@that7.3man tho doesn't hurt to have one
might want to try terminal multiplexer then.
I just installed gentoo for the first time on an old 2MB RAM Core2Duo machine... it actually installed surprisingly fast. I like terminal type applications and like to stay in the tty even, so I started off with tmux, which took a bit of time. Next I decided on newsboat.... it is has been running a couple of hours and isn't close to being done.
Taking longer than to install gentoo itself. Why is gentoo a thing again? hahaha
So how do I change to German keyboard now?
I am trying to install Pantheon desktop on Gentoo but unable to do, I have KDE. Wanted to have pantheon as my primary desktop. Can I request you to do a video for this please?
Hey DT, would you ever use Gentoo as your "main" OS?
No
I only use gentoo and since you know how your system is built, once you learn how to mantain it, it's the most stable OS I've ever tried. All the advantages of a rolling release with the reliability of a LTS distro.
Can you do a video on configuring a kernel? also please get wlwifi kernel modules this confused me as a beginner
I will do a complete Gentoo installation with the complete kernel configuration at the end of the year on this channel: ua-cam.com/users/igster75
lol of course I'll be stuck with a sudo that won't download or emerge or whatever.
funny distro!
I put the minimum install iso at ventoy and boot it up from my usb stick and it can't find the root. Does anyone know how to make the installer work in usb just like arch linux? i had no luck with google
cant emerge -av x11-base/xorg-server x11-base/xorg-drivers
because of
the following packages are masked
sys-apps/opentmpfiles-0.2
is there any solution for this
u need in make.conf:
ACCEPT_LICENSE="*"
🎉
Hey DT, what is ram usage with dwm from htop?
Can’t be much. I think my system uses 200-300 MB when idle on dwm
@@sigmundfreud4472 Cool but that is not much different to arch. My arch uses less than 340 in htop. I expected even less from gentoo. There is no need for that but I like spending as little as possible
@@oalfodr mental outlaw has got his lower than 75 mb of ram on dwm on gentoo. The thing is that you have to spend a lot of time optimizing, and be willing to do that, otherwise arch is probably the better choice because of package availability and not having to compile stuff. It doesn’t make sense to compile everything if you don’t optimize then with use flags and everything
Gentoo testing branch on my laptop with wifi+virtualization etc. takes 45MB, Mate desktop environment fully booted with network manager takes 199MB. I have fully Ofast optimized (except GentooLTO provides exceptions on packages that require less aggressive optimization) system which makes binaries larger and takes more RAM. So fully tuned Gentoo with DWM might take as little as 50MB in total. I have 32bit Gentoo with DWM on VM and it takes 57MB, but I have not optimized kernel. Though 64bit version takes slightly more and wifi drivers etc. take somewhat. Still under 100MB for certain.
OK I got a chance to check. The dwm process itself uses 14MB for me.
Did you change something in the audio setup? when you say S it hurts my ears. Its too sharp.
9:51
Watching Gentoo instructions is actually funny. Just watch a video like this where he starts with missing one if the million things to do during setup and wasting the better part of a day just getting "basic" setup complete. If you are board enough to use Gentoo, just learn machine code while you have that much free time to kill.
Oh gentoo is awsome if used right. Binary distributions are nice if you only need the standard things. Anything out of the ordinary thats not already provided for and getting that build is a pain and a half. For gentoo: sure just set the flag yourself emerge again and voila.
Gentoo Very chad, get rekt arch (joking)
1st
Congrats!
*ascension*
First comment
Should we tell him?
@@DistroTube no
you can't call your self a linux power user if you didn't compile custom kernel
PS. When you make a video about a specific topic, why do so many ungrateful people in the comments ask questions like "Can you make a video about...?" Do they expect you to provide them with "free knowledge to their specifications" or something? I consider that both rude and ungrateful.
I just finished the install of Gentoo and I am totally sure that I cannot live with this distro. Rolling back to Debian or Arch.
Just imaging upgrading on weekly basis and the amount of wasting time looking clueless at the terminal output of compiled code.
Kernel ~2h30 plasma 3h Firefox more than one hour and meanwhile a lot of debugging and dependencies solving. What`s the interest of showing colored USE which has to be added to the make. lol
emerge is not a magic tool I know, but the idea of wasting the whole day between install and dependency resolving doesn't seem attractive to me, especially that I compile at work and that's enough for me.
Final note: All this effort to not bring any noticeable performance in comparison with Debian, Arch, Fedora and CLEAR
strong and complicated password...
ah yes, forgetting to remove the SUID flag from X.Org
DT 2018: ok what is the copy command for Vim, Serge? Serge: You click edit and you paste
DT 2021: ok we need to open, in Vim /etc/portage/make.conf
xD
A few remarks for this video. Normally one doesn't manually add the X USE flag in make.conf: choosing the right profile gives you that USE flag and many others. In his case the profile is default/linux/amd64/17.1/desktop
One doesn't put elogind in the make.conf either This is obvious if you read (carefully) the messages at 11:42 you need to put it in a file under /etc/portage/package.use/
At 11:42 there was a warning telling to update the config files (either through etc-update or dispatch-conf).
Normally one doesn't launch dwm via startx dwm: there is a dwm Gentoo wiki explaining it in detail !
Thank you for the tutorial.
But get some sleep man, you look very tired, we can see black mark under your eye's
Kalau ada yang mudah, kenapa pilih yang sulit?
Imagine using deprecated software like Xorg........
shut up
@@technomatic6285 zozzle
imagine using beta software like wayland
@@francescovolpini Sway masterrace
@@nissengummihone sorry. i don't want my window manager to suck up 100 megs of my ram