
Installing Xorg And DWM On Gentoo DistroTube
video description
Date: 2022-03-30
Related videos
Comments and reviews: 10
John
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.
reply
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.
reply
Terry
One of the first tools to emerge when installing Gentoo is -app-portage/eix-. (Note that in most cases, you don't need the part before the -/- because Gentoo will tell you if two packages exist with the same root name.)
So once you've done -emerge eix-, follow it up with -eix-update- to build a package database - then you can do searches to find the package you want, rather than going online to look it up - so, for example, you can do -eix firefox- to find all packages containing the word -firefox-.
The first two packages that I install in the chroot-ed environment once I have set up my CPU and MAKEOPT in /etc/portage/make.conf are vim and eix.
reply
One of the first tools to emerge when installing Gentoo is -app-portage/eix-. (Note that in most cases, you don't need the part before the -/- because Gentoo will tell you if two packages exist with the same root name.)
So once you've done -emerge eix-, follow it up with -eix-update- to build a package database - then you can do searches to find the package you want, rather than going online to look it up - so, for example, you can do -eix firefox- to find all packages containing the word -firefox-.
The first two packages that I install in the chroot-ed environment once I have set up my CPU and MAKEOPT in /etc/portage/make.conf are vim and eix.
reply
Aleksandr
I see a few comments people talking that gentoo is hard, but I-ve changed my mind recently
Last week I-ve built LFS on real hardware, and it wasn-t that hard, just takes whole night to install 88 packages manually and configure kernel a bit to support tp-link WiFi and amd gpu.
After that you think about gentoo emerge tool as your friend, that does all that configuration job for you.
System profiles choose valid flags for you, it really start to look similar to next next done in Ubuntu install.
So guys if you want max performance, welcome to the source based distros!
Btw I-ve been using arch and it was good time
reply
I see a few comments people talking that gentoo is hard, but I-ve changed my mind recently
Last week I-ve built LFS on real hardware, and it wasn-t that hard, just takes whole night to install 88 packages manually and configure kernel a bit to support tp-link WiFi and amd gpu.
After that you think about gentoo emerge tool as your friend, that does all that configuration job for you.
System profiles choose valid flags for you, it really start to look similar to next next done in Ubuntu install.
So guys if you want max performance, welcome to the source based distros!
Btw I-ve been using arch and it was good time
reply
Brian
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.
reply
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.
reply
axl
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.
reply
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.
reply
breadpirateroberts
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 -
reply
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 -
reply
knpstrr
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
reply
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
reply
Steen
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 -)
reply
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 -)
reply
Christopher
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.
reply
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.
reply
Terry
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.
reply
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.
reply
Add a review, comment
Other channel videos















