Follow the Gentoo Handbook if you want to install Gentoo. If you want to see what Gentoo has to offer, try out the Gentoo LiveDVD.
It's not that hard to become a developer. You just need to have some perseverance. You have to do some reading to fill out some quizzes, in order to show that you understand how Gentoo works as an organization, and how to write and maintain ebuilds. The process is described in more detail here.
But there are many other things you can do to help. For example, you can contribute to the wiki; answer questions on the forums or IRC; report problems (or even simple things like version bumps) on the bugtracker; testing; promotion; and so on.
If anyone has issues trusting Google with their nameresolution there's a swiss based public DNS resolver called quad9 at - who'd have guessed - 9.9.9.9
They even have optional threat blocking: https://www.quad9.net/service/threat-blocking
Use an SSD.
Use distcc to hook it up to 10 64-core Amazon Cloud instances, then run emerge with -j 640.
emerge libreoffice-bin
docker search libreoffice
https://www.libreoffice.org/download/flatpak/
Switch to Debian.
Usually, after the kernel boots up, udev will try to detect any additional hardware present and load the required modules automatically.
You don't have to set anything in /etc/conf.d/modules
unless you know that you explicitly want to load a specific module and/or with some specific parameters.
To learn more: https://stackoverflow.com/questions/10730096/how-to-autoload-a-kernel-module-in-gentoo-linux
You exclude those directories when you do backups, not when you copy the whole filesystem to another partition. Check out this answer for the proper rsync options and what's needed to copy the static content of /dev.
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1 will guide you through the whole installation.
But let it be known that gentoo is very very hard, so it really depends on your outlook on life. Ubuntu is incredibly easy to start with and has a really helpful forum, you'll be up and running in no time. On the other hand, if you're a glutton for punishment and like figuring out shit on your own (with the help of google and forums) then gentoo is right up your alley. Some people prefer a more smooth & easygoing start and then ramp up the difficulty as they go along and others relish the thought of going straight to nightmare difficulty. If you are the latter then welcome to the club :)
> But why is it that AMD64 corresponds to Intel processors?
The 64-bit Intel-compatible architecture was originally invented by AMD in 1999, and by 2004 Intel decided to also start using it. In different places you will see it called x86-64 (the original codename chosen by AMD), amd64 (the name AMD switched to after a few years), em64t or Intel 64 (the names Intel chose because using "amd64" would have been too embarrassing), or x64 (the name picked by Microsoft and Sun, probably to avoid favoring AMD or Intel). But all of these names mean the same thing. See the Wikipedia article for more details.
> When you say "install from a CD" a flash drive works in a CDs place correct?
Yes. You can use UNetbootin, or create a liveUSB the old-fashioned way if UNetbootin fails for some reason.
Per the Gentoo LiveDVD FAQ, the default username and password should both be gentoo
According to the FAQ, you should also be able to login using the KDM autologin process by pressing escape or enter.
gparted has a live image
IIRC gparted does all the stuff below in the background - feels easier (and safer) than moving partitions and resizing the fs manually
after re-reading your post, I'm not sure what you did…
what you should have done: - delete sda2 - recreate sda2 with 16G - mkswap sda2 - move sda3 16G back - move sda4 16G back - expand sda4 by 16G - resize sda4 filesystem
My recommendation, if you feel like you are not making any progress or having fun with one programming language, try another one, like Go ocaml or perl and understand VCS like git (which is helpful independent of programming language). Have your own overlay. [Customize your envrionment](/r/unixporn). Activate compositing and hardware acceleration, if you like adventures, unmerge your g/libc and learn how to break and fix things.
If you are bored, make a backup.
Find the gentoo handbook, install VirtualBox, and get going installing gentoo into a Virtual Machine (VM). Break things, then fix them, and learn.
You could do this on bare hardware, too, but I would wait until you have cut your teeth in a VM to save yourself some hair-pulling. It also has the added benefit of not jeopardizing your existing setup which you will need to search the web for solutions to your problems.
If this proves too frustrating, pick one of the easier distros like Linux Mint or Ubuntu and install those into a VM, and learn to use Linux through the VM. Eventually you will have enough confidence to install your distro of choice to actual hardware. Then install VirtualBox into that system and try a Gentoo VM install again. I suspect that you will have more success the second time around.
What you describe is how I do my Gentoo installs (although from Debian, or an Ubuntu live disc) when I get the urge to toy with it.
You can follow the procedure here in a terminal in your usual distribution, simply leaving out the reboot steps and doing everything in the chroot until your Gentoo system is ready to be booted into. Also, it's an x86 guide, but is easily adapted for x86_64 with some minor changes -- just ask and I, and I'm sure many others, will be happy to offer what assistance we can.
One thing I do differently from the guide is get my partitions ready in Gparted in advance, since it's a little faster to work with than the command line steps.
I have used tarsnap for off-site backups and borg for on-site backups. Both do encryption, compression, and smart incremental backups and are suitable for backing up your whole disk (if you are merely backing up personal documents that rarely change, then they will take essentially zero space to do each incremental backup). Tarsnap is not free and stores data on Amazon S3 servers which come with nice guarantees about (almost) never losing your data. Borg is free but you must arrange a place to store your data.
Anything you can do with a homebrew system using git or dd or rsync can be done better with borg, or various other dedicated tools (e.g. someone mentioned duplicity). Since you already have a place to store your data tarsnap may be less useful to you. (I suspect tarsnap has slightly better de-duplication algorithms though.)
Let me offer a strong recommendation for Duplicity. Pretty straightforward command line tool. It works on top of rsync to create incremental and full backups, can encrypt the backups, and can back up to a variety of locations.
It has worked for me for years, and it has not failed me yet during recovery.
Do you know about Lutris? They say it works. I don't play GTA but I have used Lutris for other games not in Steam. They have food guides and a Discord server to help.
Looking at https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
No controller is enabled by default. Controllers can be enabled and disabled by writing to the “cgroup.subtree_control” file:
You might want to have a look at rEFInd. It is an EFI boot manager created partially with the intent of mitigating some problems caused by bad EFI implementations.
You might find some useful tips in this article too: https://www.rodsbooks.com/gb-hybrid-efi/
For number 3 I can help. i just recently installed gentoo on my machine (chrooted from my main os so didnt use the live installation cd)
I use arch, and I have LVM on LUKS setup. (Complicated from Gentoo Installation Guide pov) I would agree with you that UEFI article was not super helpful. I set up UEFI from reading up http://www.rodsbooks.com/refind/ I definitely recommend that site and boot manager. You need to do some configuring yourself, but after that it is very easy to add boot parameters and whatnot. I can describe my exact setup if you want.
If you want to hibernate or are running long running memory hog programs (such as rendering) I suggest hving at least a swap file. If not, then it isnt really neccessary.
The default installation does not have things like LUKS, LVM, btrfs built in to the kernel so be sure to read each article before using those features.
Regarding the bootloader, try rEFInd. It's painless, done quickly and saves you a ton of trouble with the boot loader. I cannot comment on Gentoo specifically, but for Ubuntu it works magic. You'd need grub with USE=efi-64, I imagine.
The biggest issue with Macs booting Linux is probably the EFI. Distros are getting better at supporting this out of the box, but sometimes it is still necessary to use a custom EFI bootloader, like rEFInd.
(I successfully triple-booted OSX, Windows & Linux on my Macbook Pro for ages using rEFIt, which rEFInd's predecessor.)
https://voidlinux.org/faq/ https://wiki.gentoo.org/wiki/FAQ
Generally, the question 'X vs Y' is meaningless in the world of software without some sort of qualifying condition, as it is simply to broad to answer within acceptable levels of bias. Is mailx better than thunderbird? Depends on your preferences. Is nginx better than apache? Depends on your requirements. Is Emacs better than Vim? Yes.
If you do not have a specific use case in mind, you should just look into the FAQ links for the two options.
MAKEOPTS="-jN -lN"
and EMERGE_DEFAULT_OPTS="--jobs=N --load-average=N"
in your Make.conf
. You can get N
with nproc
. With that you will compile things fast.lsmod > config.txt && LSMOD=config.txt make localmodconfig
help a lot cleaning up the kernel config.Please start with this page: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=1
Then go with http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2#doc_chap3
and you will be well upon your way.
The problem is that the "real" /bin
(and so on) actually live under something like /mnt/live
on that cd, and /bin
itself is just a symlink. When you mounted something directly on /mnt
, it hid the contents of the directory, preventing you from running further commands. The Gentoo Handbook explicitly states to mount under /mnt/gentoo
so as to avoid these kinds of issues (see the instructions from the amd64 version of the handbook)
You can have a master (faster) system build binary packages for the "slaves" should they all have the same USE/FEATURES etc. Build once and distribute.
The script in the comments lost formatting and copy pasting resulted in periods instead of quotes. Below is a working version.
#!/usr/bin/python2 from BeautifulSoup import BeautifulSoup import portage import urllib2
url = 'http://www.gentoo.org/proj/en/qa/treecleaners/maintainer-needed.xml'
# Build a to remove set f = urllib2.urlopen(url) soup = BeautifulSoup(f.read()) table = soup.first('table', {'class': 'ntable'}) toremove = set(row.findChild('a').text for row in table.findChildren('tr')[1:]) f.close()
# Build an installed set vartree = portage.db[portage.root]['vartree'] installed = set(vartree.dbapi.cp_all())
# Print installed, but to be removed packages = sorted(toremove.intersection(installed)) if packages: print "The following %d installed package(s) need a maintainer" % len(packages) for package in packages: print "-", package exit(1) else: print "All installed packages have a maintainer :) " exit(0)
Check the value of CONFIG_CROSS_COMPILE(Cross-compiler tool prefix) in the kernel config. I guess it is set to 'Y' when it should have been something like this. The type of this configuration parameter is string not boolean(Y/N). When you run make, boolean value 'Y' is treated literally as the cross-compiler tool prefix(Y-compiler-foo). This also explains why you see > make: Ygcc: Command not found
Provide appropriate value for CONFIG_CROSS_COMPILE if you are cross-compiling; empty otherwise.
If you chroot from userspace and try to fire up init, you'll have the host init system fighting with the gentoo one - usually it goes rather poorly.
Also, init usually expects to be PID=1, and you'd need to mess with cgroups rather than just chroot to achieve that - which is precisely what systems like LXC do.
You could use the kernel on your USB and tell it to mount root on the hdd if you wanted to - but why?
Alright, the only difference I've seen so far is that you turned on CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT.
Also, are you using Nouveau? Is there anything in your Xorg.log files which might look weird?
I'll try out a few things with your config.. For reference, mine is here (yes, I know it's not perfect, but oh well): https://hastebin.com/oqowuqinaw.ini
How do you start qutebrowser? As a gui applications I assume not through your init system ;). DE autostart? display manager startup files? WM config files?
What if you manually start pulseaudo before your start qutebrowser with pulseaudio --daemonize
? (More details here)
There several types of dependencies:
--no-install-recommends
.Suggested packages
when running apt
, so if some of them pique your interest or you realize that you actually want to install some of them, you can just cancel apt
and include that package name in the command.Those are explained in the Debian Reference a bit more formally.
For me, good battery life is anything over 2 hours (I'm used to using old hardware .... my satellite is roughly 14 years old, the battery lasts about 20 minutes)
:)
This list has a few laptops that claim 10+ hours of battery life.
Would getting an external battery be an option as well?
For kernel module programming, the Linux Device Drivers book (assuming you want to write a driver!) is probably a nice place to start. The 3rd edition is available for free online: http://lwn.net/Kernel/LDD3/
Also, see LWN's big index of kernel articles: http://lwn.net/Kernel/Index/ (e.g. the Releases section lists articles about important API changes in each kernel release).
> Where? The Gentoo forks are even less maintained or focus on things I'm not interested in, like binary packages. The rest of the distros are not even close to the degree of control I'm used to.
Then thats the choice you are making, to persist with what you consider a flexible but poorly maintained distribution.
If total control/customisation is your thing when you could consider Linux From Scratch, but it doesn't have the advantage of Portage, which is what makes Gentoo so great in my view as it simplifies a lot of the awkward fine-grained management of how packages are built. But again that would be a choice you make.
> > complaining about it does little to improve the situation > And finding excuses for the league of incompetents does?
I'm no excusing it, as I wrote very clearly you do not know the personal situation of those you are labelling as 'lazy' and therefore should not be so quick to label them. If you are privy to the personal circumstances of all Gentoo devs and can evidence that they sit around doing nothing in their spare time then the label of 'lazy' would be justified. However, I sync and update daily and there are always a few packages to update, mostly the more important core packages and if resources are limited then its understandable that more obscure, less widely used packages don't see so much attention.
>Does anybody have any experience setting up Gentoo (or just linux for that matter) on a macbook air?
My most used personal laptop is a Macbook Air that runs Gentoo!
>Is it possible or even practical?
It is definitely possible, and for me it has been practical! I cannot comment on the universality of what is practical to me personally.
>Should I give it a try or should I just return the laptop and try to find a windows based variant?
Do it! It has been a pretty reliable laptop.
The only practical difficulty is EFI stuff, I just use Refind. Recently I had to make some minor changes as I upgraded my OS X install to Yosemite. There are special instructions for that.
Edit: I also have not been able to find drivers for the webcam.
Yeah, it's a good idea to check lsmod and lspci before rebooting. I've learned this the hard way several times, in addition to the whole "sudo and networking programs are not included", etc.
Genkernel shouldn't cause any issues, given all the proper modules are selected via menuconfig, but that goes for any kernel compilation method.
And there are usually fallback modules that work as well (eg pcnet32)
It's interesting to see just how much the NICs differ. I have a G751-JY, and I think (laptop's out of commission atm) I have an Intel NIC.
But anyway: TL;DR - consider checking lsmod and lspci -kv (or similar) before reboot on first installs, etc. It's generally a good idea to review what's selected in the default configuration, anyhow.
PS: did not know Screenfetch was a thing (I use Neofetch). Hooray for learning (https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs-Screenfetch#how-does-neofetch-differ-from-screenfetch)
Dunno what mistake you could make that you'd have to recompile... I don't worry about mad compile flags (see above for one reason) - I use gentoo because it lets me control what I want, not for "mad gcc flags".
Mean my make.conf is pretty basic
CFLAGS="-O2 -pipe -march=athlon64"
CXXFLAGS="${CFLAGS}"
# These flags are moved into a seperate symbol (for both x86 & x64)
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4a sse4_1 sse4_2 ssse3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j14"
LINGUAS="en_GB en"
L10N="en-GB en"
LANG="en_GB.utf8"
then most of rest is in USE flags that I accumulate over time, and if you later decide for example that you want to turn off bluetooth support in everything then you add a -bluetooth to USE (or a file in package.use) and then time you "emerge -DuavU world" (that's my standard set of flags) then it'll recompile anything where the use flag has changed (-U), so anything that's already installed with USE bluetooth.
Ha ha, this might be the eleventh time I've seen someone ask "How do I become a developer?" and also the eleventh distinct answer.
I followed the instructions on the official doc, which says something like "Start fixing bugs, we'll notice your contributions!" I jumped in to help with some bugs. I confirmed an existing bug, submitted a patch for it, and seven months later there has been no further activity on the bug. I'm quite sure if I fixed one hundred bugs the devs wouldn't "notice" anything.
It seems bullet #2 (fix more bugs) and bullet #3 (lower dev barrier) form a hilarious circular dependency.
I had a similar issue with my wireless drivers.
Do you have another OS with a working internet connection, or access to another computer connected to the internet?
What I did was I chose not to use the installation CD at all, and instead used the stage3 tarball. Here's a link to the handbook which talks about installation mediums, more information on the stage3 tarballs are listed there, and you will also find a download link.
To skip out on the installation CD you will need to have a linux distribution installed, so that you can create your partitions, mount them, unpack your tarball, and then chroot into the directory. The handbook mentions all of these steps towards the beginning, so I recommend just reading through and making note of what you won't be able to do right away without the CD. (A quick example is that the mirrorselect command isn't included in the tarball, so you'll have to emerge mirrorselect after you get emerge set up later on. This method isn't drastically different from using the CD.)
I'll happily help with any other questions, if you have any.
edit: Changed my link to point to the powerPC version of the handbook. You might want to look at the ppc64 version too, alternatively, if that applies to you.
Something I keep bookmarked, even though I don't use Arch anymore, is this...
https://wiki.archlinux.org/index.php/Pacman/Rosetta
It acts like a "Rosetta Stone" of package management functions between emerge, rpm, pacman, et al. Might give you some help along the way.
It works for me (~amd64, gcc-6.3.0):
$ convert --version Version: ImageMagick 7.0.5-7 Q16 x86_64 2017-06-27 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC Modules OpenCL OpenMP
> You have a lot to learn about programming. Real world software uses algorithms.
Single algorithm speed comparison is not a real world usage test. That is bullshit.
> And it's written mostly in C, to no programmer's surprise
So let me understand your reasoning: if I write Python code using numpy, I'm not really writing Python code but C code with a different syntax. Using the same logic, few languages are real ones, as they translate to ASM.
> It can translate RPython to C which then gets compiled, but who writes RPython besides them?
What are you talking about? Have you ever written a single line in Python, or even use PyPy? OK, do you want some "tests"? Check this out: https://stackoverflow.com/questions/6964392/speed-comparison-with-project-euler-c-vs-python-vs-erlang-vs-haskell
Now you go and tell me that PyPy is a waste of time, or that Python is too slow.
> A whole new world will open to you when you'll discover search engines ;-)
What a moronic answer. Do you think that people usually Google other user's names just because? Are you some kind of rockstar programmer? I highly doubt that. But even if you consider yourself one, idiotic sentences like these:
> I see a single process hogging one CPU core all those minutes, so yes, it's the inefficient programming language. > This whole process of "ask one to become one" is not my idea of open source collaboration. > Your ability to admit your own mistake is junior-grade at best.
Tell me that you would be, more likely, a terrible dev.
Take a minute to think about your ego, man.
installed too
​
* xfce-extra/tumbler
Latest version available: 0.2.0
Latest version installed: 0.2.0
Size of files: 558 KiB
Homepage:
<code>https://docs.xfce.org/xfce/thunar/start</code>
Description: A thumbnail service for Thunar
License: GPL-2
​
Emacs tutorial is C-h t
. That is to say: type the t
key while holding down the Ctrl
key. This invokes the command help-with-tutorial
. The tutorial will teach you the basics you need to get started with Emacs.
The master help menu for emacs is C-h ?
. From this menu you can access all of Emacs built-in help options.
Learn Emacs Lisp aka elisp. Aside from the C core, Emacs is built in elisp. The ~/.emacs
customization file is an elisp program. Learning elisp is the only way to fully master emacs and make it work for you. You'll also want to read the the full elisp tutorial
I ran gentoo with a passively cooled case without any issues, I even had it overclocked a good bit.
My only issue, which I don't really have any explanation for, is that Gentoo felt much much slower on my pi4 than any other distro I've used. I used the raspberry pi official kernel when I ran it.
From reading this discussion, it seems that in general, many people base their evaluation and possibly even change their tools because of the tool's devs behavior. Specifically their rudeness and arrogance.
From my broader perspective, this falls into "the Ego" problem category, which seems to be effecting a lot stuff.
From a personal experience, this effects men a great deal more then women, btw.
I wonder if and how much would a world be a better place, if all people read the book "Ego is the enemy" by Ryan Holiday (amazon link)
The code is, the trademarks aren't covered by the free license. If you build this software for your very own use, it doesn't matter. However, if you want to redistribute the binary you are producing, you can't legally call it Firefox or Thunderbird unless you get permission from Mozilla. Distributions either redistribute Mozilla-produced binaries or have explicit written permission from them to distribute the binaries they themselves build. You can review the terms here. If you're running a Gentoo binhost and don't have permission from Mozilla, you can't provide your own Firefox builds with the Firefox name and logos to your consumers. They need firefox-bin (or build their own again).
The same applies to Libreoffice, for instance.
The binhost
and branding
USE flags are (used to be?) sometimes available to tune these aspects of your builds.
In other cases, such as Rust, the bin package is there to enable the full bootstrap process, for which you already need Rust on your system. The normal build doesn't need it as it uses the pre-bundled binaries to do so. Controlled by the system-bootstrap
USE flag.
There are many others but their existence is always a necessity, not convenience for users. Gentoo is a source distribution after all.
Can't guarantee it works well, but I think there are other similar tools in case not.
I used to use Autokey for one or two things that I couldn't get to work otherwise, but I don't remember if it can be configured per application.
if on Android, try Infinity, it seems to behave a bit better than Sync which I previously used. No ads, and works with post flairing among other things.
Using -bin kernel, firefox, rust etc saves a few cpu cycles.
There's no need to install Gentoo quickly. If you have a decent working environment on Void/Arch I'd create a folder or partition, unpack a stage 3 and chroot in. You can get to know the pace & particulars of Portage for installing & updating on your machine without leaving your current setup. If you want to know more make it bootable but even then it can be nice to retreat to the chroot as sometimes Portage can take a while to do things you are not used to waiting on for more than a minute or two.
Steam on Gentoo worked well for me but seemed a lot of extra work for Portage. I don't have a gaming pc just now but future plans would be the Funtoo approach: no multilib & flatpak, either that or just use Funtoo & flatpak.
One thing worth noting is that Portage's "stable" is not the same as Debian's "stable".
In the context of Portage, a keyword of arch
means the package version and the ebuild have been tested to work without any major issues found (it's "stable"). A keyword of ~arch
means it should work but needs to be tested more before it can be marked as stable (it's "testing"). No keyword means it might not work or that there hasn't been enough testing to be able to mark it as ~arch
. A keyword of -arch
means it won't work.
In the context of Debian, "stable" means unchanging (except for security or usability fixes).
Gentoo team recommends against the suid
if possible as per this news item:
> Users who do not wish to use logind interface or have rare hardware that does not use KMS and because of that, require root privileges to operate, can manually re-enable 'suid' and disable 'elogind' USE flags in order to preserve the previous behavior. However, please note that this is heavily discouraged to run X server as root due to security reasons. The 'suid' USE flag will remain as optional opt-in for the need of legacy hardware.
According to this Debian Security Advisory an xorg-server
running as root can result in a local privilege escalation.
Look what 16 core Threadripper does (1st gen):
https://asciinema.org/a/172656
Yes, that’s real time, that’s 40 packages in 2 minutes.
16 core 3rd gen Threadripper will blow that away. So don’t waste money, get 16c/32t/64G, that’ll be plenty.
So it looks like Warframe dropped support for Direct3D10 and instead requires Direct3D11. Proton does have some flags that let you play around with this. You can for instance try the following launch option, which should force the use of D3D11:
PROTON_NO_D3D11=0 PROTON_NO_D3D10=1 %command%
I would expect PROTON_NO_D3D11
to already be set to 0, but maybe something is weird. You can also try setting PROTON_USE_WINED3D
to use the OpenGL-based WINED3D instead of the Vulkan-based DXVK:
PROTON_USE_WINED3D=1 PROTON_NO_D3D10=1 %command%
This should help you figure out issues that may be caused by DXVK or Vulkan specifically.
What GPU are you running this on? You may want to check if the drivers are fully installed and whether Vulkan is working.
it actually does waaaay more than allowing terminal window splitting and/or rearrangement.
​
it allows running multiple sessions and can keep each or all in the background, then you can open them instantaneously and continue working on what you were working on.
​
imagine you have an IDE and you manage multiple projects. each project has a configuration and the IDE remembers all open files for each project, all linter configurations and whatnot, and opens each project with its open files and configuration.
that's my take at ELI5.
​
Bear in mind that despite the conventional wisdom to create a swap the size of your ram for hibernation, the default size limit is 2/5 of your ram.
This is fantastic advice, and the Docs are excellent. I've hesitated to take it to heart until now because I'd mostly heard about these as a sequence and could never remember the acronym, but I can 100% see myself using this to sync after GUI media-file transfers to USB. Just a few quick taps, like an Emacs macro binding.
I'd love to have a table on a mouse pad, like the old Crunchbang and Bunsen Labs desktops, but a sticky-note ought 'a be enough to make a few familiar, and there will be a opportune issues for others soon enough.
Just be aware that not every keyboard handles the keycode for the Sys-Rq key the same way, and some custom kernels might not have it enabled yet, both of which can be fixed in short order via the aforementioned docs.
Check https://www.kernel.org/doc/Documentation/kbuild/modules.txt
Basically the command makes sure that the to-be-built kernel has modules enabled and contains its own configuration and header files. With that third-party build scripts can build their modules directly with the kernel. That said, at the moment I can't tell whether this actually includes them in the image or just dumps them into /lib/modules/<version>/build
(or both).
This is usually not a big deal in Gentoo as long as /usr/src/linux
always points to your currently running kernel's sources, or in this case the new one.
If I'm reading it right (I never tried) not doing a modules_prepare and deleting the symlink should cause modules to fail compilation.
Update: I have a clue about root cause for my failures:
kernel.org - pNFS block server
specifically:
>To use pNFS block layouts with the Linux NFS server the exported file system needs to support the pNFS block layouts ( currently just XFS ), and the file system must sit on shared storage (typically iSCSI) that is accessible to the clients in addition to the MDS.
So, I'd need to expose my drives as iSCSI units. but then:\
>As of now the file system needs to sit directly on the exported volume, striping or concatenation of volumes on the MDS and clients is not supported yet.
So, I can't expose my individual RAID-5 drives and I don't think I can expose my whole RAID unit as a SCSI device.
> Fedora Rawhide also has the latest and greatest on day 1.
Usually even before day one, because of its unstable nature they track release candidates closely:
$ dnf info kernel Available Packages Name : kernel Version : 5.12.0 Release : 0.rc7.189.fc35 Architecture : x86_64 Size : 242 k Source : kernel-5.12.0-0.rc7.189.fc35.src.rpm Repository : rawhide Summary : The Linux kernel URL : https://www.kernel.org/ License : GPLv2 and Redistributable, no modification permitted Description : The kernel meta package
That is the easy way to do it, but swap files work just fine too. If you're interested, a little more reading about swap suspend.
Thanks. That’s what I thought. I did enable it in the kernel, I’m just looking for next steps/config options. I was just hoping there would be some documentation in the Gentoo handbook. This is my first install with openrc and I’m not super familiar. Under Systemd you can configure it via systemd-swap script. I was hoping openrc has something similar.
Thank for the Arch wiki link. That’ll be helpful.
To anyone else interested or unfamiliar with zswap here is a page from the kernel docs. —> ZSWAP
One of the reasons why external modules and an initramfs are used is because a lot of drivers have to load firmware blobs to actually work. If you absolutely want to build the kernel without external modules or an initramfs, you can use the CONFIG_EXTRA_FIRMWARE
and CONFIG_EXTRA_FIRMWARE_DIR
to include specific blobs into the kernel. Keep in mind that there are number of reasons why this is not recommended:
* Legal issues.
* Firmware may be optional.
* Firmware blobs may be very large.
* Firmware updates require rebuilding the entire kernel.
* Firmware may have device-specific configuration/calibration data (e.g. WiFi chips).
See also: https://www.kernel.org/doc/html/v5.9/driver-api/firmware/built-in-fw.html
https://www.debian.org/releases/jessie/powerpc/ch05s01.html.en
You can probably find an old Debian image to boot and go through all the install steps from there. The NetBoot option might work best if you can do it, otherwise put a stage3 on a Linux boot DVD and see what you can do. You'll still need Network to get some of the initial packages.
Have a look at the objectives section in this repo:
https://github.com/Eloston/ungoogled-chromium#downloads
While I'm not here to argue what's better and whats not, I just want a gentoo specific package config so that I don't have to spend 2 hours compiling just to get a dependency error.
>Thank you for reading my wall of text
Are you kidding? This somehow was a better explanation that the one in the wiki.
I did the same process for a little character annoying me in vis. Managed to do it and make it work, but not sure how. All that patching stuff is rather confusing to me and I still don't know how to make patches or how they're structured. The "just appending .patch to the commit of the workaround generates it automatically" is something I did'nt knew, so thank you for that.
At that point you should just do Linux From Scratch in a Chroot.
And unless your job is testing bleeding-edge software, you won't have to install drivers and desktop environments manually on your job.
Maybe you actually want to try LFS http://www.linuxfromscratch.org/lfs/view/stable/index.html?
In some sense LFS is simpler (and requires less knowledge) than Gentoo because to build and use it, you only need to know how vanilla Linux works. On the other hand, to use Gentoo, you need to know both vanilla Linux and the Portage system (USE flags etc.) The latter is certainly non-trivial.
I do the LFS hobby exercise once in a while, and surprisingly LFS does have its real-world usage. Because you can arbitrarily specify the Filesystem Hierarchy, you can put everything in /home/xxx/root/, which allows you to install softwares like Redis/Nodejs/etc in a shared web hosting account.
I would not use LFS/Gentoo as my daily driver because compiling from source takes way too much time, and the performance gain is minuscule. It also makes my SSDs wear out faster. If you just want a custom kernel, you can stick to Archlinux and use Arch Build System https://wiki.archlinux.org/index.php/Arch_Build_System.
So what you really want might be an LFS exercise, rather than Gentoo.
I have little experience personally to recommend it, but Homebrew (https://brew.sh/) should work, and seems to be just what you are looking for.
It should install easily, but will only help if the packages you want are in their repo :).
Chroot in and load an older kernel, 5.5.19 is working great for me at the moment.
You could report a bug - looks like it's something to do with SMP - and wait for it to blow over
I know how make works. That's why I said at that point you don't need ccache anymore.
Also make is not a build system in itself. What make does depends on the Makefile and that might very well contain the generation of additional header files. If these generated headers are different each time you run make clean
and make (def|menu|old)config
(which genkernel also does each build) you might end up with different inputs to ccache which leads to cache misses. That's not the fault of ccache.
After a quick read it seems that one culprit could be the KBUILD_BUILD_TIMESTAMP
variable that would need to be set to a fixed date in order to get a reproducible build.
Edit: Structure Randomization is another possible suspect. Though as that is a security feature I wouldn't turn it off just to get more cache hits in ccache.
Well, I run the latest on my machines I use to roll kernels for Gentoo, but for my servers that run production code I usually don't bump the major version until somewhere >=X.Y.5. And that's usually the point I even start thinking about it.
I also try keep an on eye on any open CVE's that are pending for the kernel for those same systems.
It's very rare that a brand new kernel has issues, but it has happened. And I would expect it more so in a X.Y.0 release.
If you're wondering, here is the current status of which kernels are LTS.
But don't let that list keep you from 5.5 or any other non-LTS kernel. Non-LTS kernels get updates until they don't. And we'll remove them from the Gentoo tree with a couple of weeks when they get EOL'd.
HTH.
That screenshot shows that you aren't using a cpufreq governor, because you're using the intel pstate driver in its default mode, where it implements its own policies instead. See https://www.kernel.org/doc/Documentation/cpu-freq/intel-pstate.txt
Apparently they're adding swap support in Linux 5.0:
Mainline is up to 5.0-rc6. So expect it to go stable around the end of February 2019.
also on gentoo default service directory is /service
which can be changed by patch or env var
Documentation suggests it should work - might be time for a trip to bugs.gentoo.org.
does ldd
show a dependency on imagemagick (ie libMagick*.so*)?
Starting program: /usr/bin/zsnes
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.
ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.
Use ZSNES -? for command line definitions.
This is a work in progress build. It contains code which
May or may not be complete
If this is supposed to be an official release, you forgot to
run configure with --enable-release, go rebuild.
Starting Mouse detection.
ManyMouse: 2 mice detected.
Using ManyMouse for:
Mouse 0: SynPS/2 Synaptics TouchPad
Mouse 1: Telink Wireless Receiver Mouse
[New Thread 0xf69d6ac0 (LWP 20628)]
[New Thread 0xf5b32ac0 (LWP 20629)]
Audio Opened.
Driver: Simple DirectMedia Layer output
Channels: 2
Rate: 32000
ZSNES could not find any joysticks.
Thread 1 "zsnes" received signal SIGSEGV, Segmentation fault.
0xf7945015 in ?? () from /lib/libc.so.6
> What would you then recommend as opposed to startx and not using any DM?
There are other login managers in portage for WM minimalists. lightdm is one that comes to mind. there are others i'm not immediately recalling names for.
Personal preference being using plamsa DE and having a couple custom gentoo login themes for plasma using sddm has been most adequate. It may be possible to install sddm without a ton of plasma dependencies but i've not checked on a new install in recent history.
https://www.slant.co/topics/2053/~best-linux-display-manager
I don't think it's smart to spend time compiling 32-bit libraries and editing config files to install a proprietary binary. I don't think the "Gentoo way of doing things" restricts this, Gentoo was created to be extremely modular and flexible, so that the user could build a system that fits their needs and that also guaranteed the freedom to do it.
The first problem with Calculate Linux is that most of the documentation is in Russian, which is great if you can read it, but I can't. Who the heck invented backwards letters anyway? LOL Second is that it is a very small project without a lot of resources, but I have never heard anyone say anything about them not being trustworthy. If what you are looking for is an easier way to get into the Gentoo world I would suggest looking into what Sabayon and Funtoo are doing. The projects are working together to create a new distro which will replace Sabayon (They are calling it re-branding) and it has a new installer and a new package manager for binary packages. I ran Sabayon for a while a couple of years ago and I liked it a lot, but there were a few small problems that would probably be best explained by the observation that there just weren't enough people working on the project. You had the choice of binary packages or compiling from source, one or the other, it was recommended not to mix them unless you were a Gentoo expert. With the resources of both teams going into creating this new option I think it is worth looking into even if it is still early days.
This is my best guess based on my previous experience.
I use Gentoo as a VM without a GUI to SSH into so I dodn't have a config to check.
There are different codec options for onboard intel sound.
I remember building the codecs as modules and loading them one at a time to work out which one.
This funtoo page (which is a bramch of gentoo) suggests building them into the kernel but that is hoping that the kernel uses the right one.
https://www.funtoo.org/Intel_HD_Audio
Does the install CD install a codec module? (lsmod)
You should be able to play something from the command line.
Well, I switched to Gentoo from Funtoo around two weeks ago and pretty happy with it.
But, if you would like to stick with Funtoo and play games this is there official solution: https://www.funtoo.org/32-bit_Chroot
Ah okay. Have you made any partitions for your gentoo install? I would suggest that you make up the partitions for your gentoo install. To get it set up in a UI is easier that in a term if you are not used to it by using a live distro like systemrescuecd. The Funtoo install instructions are nice and clear instructions for setting up your partitions. But if you just have to get a base install it is not so bad as you might think.
Actually, I have a question, I'm on https://www.funtoo.org/Install and there are these icons on the left side of the page (google+, facebook, twitter, etc.) and they're covering up some text. Is there a way to remove them from the visuals on that page? I'm using firefox.
> you still can install those dependencies manually, you are the root, and you can do what you want
Sure, but then I'm basically doing LFS while still fighting the package manager :P
Gentoo gives me the same level of control with vastly less work
Unlike systemd, the OpenRC, Runit and other init systems actually works. ;)
I know that some obviously likes systemd, I don't. I don't like the non-UNIX philosophy, I don't like silly things as binary logs and I don't like the fact that is has been unreliable for me over the years.
I have really tried to like it and I still have one machine with systemd, but it's getting replaced soon as well.
Some reading:
The nearest I've seen were solutions along the lines of this, which looks like it could pretty easily have been adapted to have a particular hue; unfortunately as they were discussing in that link, --glx-fshader-win seems to be gone now. That's the most recent discussion I could find of even just plain grayscale, if folks have switched to doing it a different way perhaps that could lead to something?
For the cursor, the gigantic cursor was the first thing I tried, unfortunately it was slow to draw whenever I moved the mouse, showing blocky patches along the lines for a bit until I left the mouse in place for some time. Sorry for the loud video but the way this is working at the start of the video is the best example I could quickly find of what I'm looking to do; it seems to show up in drawing and CAD programs pretty frequently, I'm just looking to do it across the entire screen rather than inside a particular window.
Hey, I searched for it and found this web page.
https://www.chromium.org/chromium-os/packages/portage
Anyway what does that mean? I mean as far as I understand, there's no user facing portage usage on ChromeOS. What does it mean that it is using portage as its package management? What package on ChromeOS?
If you've EFI booted, your efi partition will have been mounted at /boot/efi, otherwise you can mount it there yourself (until you EFI boot).
I find it easiest to keep a /boot (ext2, holds GRUB) and an EFI parttion (fat32 or vfat, holds refind, a /EFI/gentoo folder with the grub64x.efi that can mount the ext2 and boot grub, and any other EFI boot loaders) that'll mount at /boot/efi (ie /boot/efi/EFI/gentoo/grub64x.efi) - you can do without separate grub and efi partitions but I find it simpler this way.
What exactly are you looking to learn?
I haven't used Slackware in ... a long time .... I used Zenwalk until the middle of last year (Slackware based). It probably goes against what you're looking to do though. I liked Zenwalk because it was less hands on for the install, and gave me a usable OS on older hardware.
If you're looking for an educational challenge, you may want to try OpenBSD.
>distcc on windows should not be impossible but if you figure it out post back because I have never heard of it being done.
I would think the easiest way to achieve this (assuming Windows 10) would be to use the WSL to install the default linux distro under Windows (Ubuntu) and then use that to host distcc. More adventurous paths would be to install Gentoo under WSL but ... well.. it may be easier to start with the default distro while you're learning about gentoo.
Agreed tho that's it's not the timesink people think...
https://github.com/dylanaraps/neofetch
Neofetch. It’s super interesting in that it is one long shell script. Check out the dude’s other repositories, including the pure bash bible. Just a wealth of information on bash.
that is not true. just aquiring a key isn't always enough. i.e. keyservers get spammed with fake keys. So you have to somehow find a way to trust the key.
there are different ways of trust into a gpg key. the 2 most common is either you trust them or you trust them indirectly throught the web of trust.
the frist you get with gpg --edit-key [file]
and use the trust
subcommand.
Also you are trusting this key. So verify the fingerprint with different devices and sources. i.e. gentoo.org and your mobile.
In the end, you are trusting the people having access to the key, that they follow the perfect or flawed workflow to prevent malicious intent. (i think this is what /u/unixbhaskar meant)
inside my make.conf
# *** CFLAGS and CXXFLAGS ***
# CFLAGS and CXXFLAGS variables define the optimization flags for gcc C and
C++ compiler.
# See https://wiki.gentoo.org/wiki/GCC_optimization for more information.
CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
#
#
VIDEO_CARDS="i915 radeon"
#
# *** CHOST ***
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before
changing.
# for 64bit Intel PCs
CHOST="x86_64-pc-linux-gnu"
# for 32bit Intel PCs
# CHOST="i686-pc-linux-gnu"
#
# *** USE flags ***
# These are the USE flags that were used in addition to what is provided by
the
# profile used for building.
# See official Gentoo docs for more information.
USE="bindist mmx sse sse2 udev branding dbus startup-notification"
#
# *** MAKEOPTS ***
# With MAKEOPTS you define how many parallel compilations should occur
# when you install a package. A good choice is the number of CPUs (or CPU
cores)
# in your system plus one, but this guideline isn't always perfect.
MAKEOPTS="-j9"
Not sure correct or not. Ohter devices still not include inside make.conf, need to make my display working first.
Oh, that's sweet !
So I tried to set it up (I'm new to layman, I like to run mostly amd64 stable so layman stuff is often out of scope but I'm ok for this time) but emerge cannot found the package :
# layman -l * aegypius Git
Looks up to date though...
# layman -S
* Fetching remote list,... * Remote list already up to date: http://www.gentoo.org/proj/en/overlays/repositories.xml * Last-modified: Sat, 05 Sep 2015 20:00:45 GMT * Fetch Ok
* Syncing selected overlays,... * Running Git... # ( cd /var/lib/layman/aegypius && /usr/bin/git pull ) Already up-to-date. * * Succeeded: * ------ * Successfully synchronized overlay "aegypius". * * * Warnings: * ------ * Overlay "aegypius" could not be found in the remote lists. * Please check if it has been renamed and re-add if necessary. *
But portage fails
# emerge --ask app-editors/atom-bin
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "app-editors/atom-bin".
Would you have any clue what's wrong with my layman setup ?
I could install the ebuild with the ebuild command I guess but it just looks messy to do so.
Thanks for the tip either way :)
Gentoo Prefix is a way of running a gentoo environment within another OS type (OSX, Other linux distro, Windirs, Unix, etc). There is a script that installs and configures automatically.
Looking at it now it seems that you may be running a dual boot system, which this is not.