Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Guys please help me install Gentoo with binary packages
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sat Apr 12, 2025 6:17 pm    Post subject: Guys please help me install Gentoo with binary packages Reply with quote

I have installed gentoo different times and many of it just waiting to compile @world and then after i just dont know what to do i readed documentation but dont find how install @world using only binary packages.
Also please guys if you know and have time write tutorial to install Gentoo with KDE and binary packages because AI can write how install Arch but Gentoo he cant (i tried).
Thank you.[/topic]
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1666
Location: Richmond Hill, Canada

PostPosted: Sat Apr 12, 2025 6:29 pm    Post subject: Reply with quote

Which AI you asked?

I just tried with Gemini with "how to install Gentoo KDE with binary", I got pretty clear process flow and commands. So is the "AI" actually gave you an answer you cannot follow or the "AI" actually state it does know how to?

If it just matter of some step(s) you don't know/understand it would be better you ask that specific and if possible share what error(s) you got when following the instruction.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sat Apr 12, 2025 6:32 pm    Post subject: Reply with quote

I dont like Arch community because too many freaks and i want to install gentoo but gentoo is a lot harder and long in time to install then arch[/b]
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sat Apr 12, 2025 6:34 pm    Post subject: Reply with quote

I used Deepseek and ChatGPT both and none of this work.
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1666
Location: Richmond Hill, Canada

PostPosted: Sat Apr 12, 2025 6:45 pm    Post subject: Reply with quote

justguy wrote:
I used Deepseek and ChatGPT both and none of this work.
OK, so give Gemini(google) a try?
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sat Apr 12, 2025 6:53 pm    Post subject: Reply with quote

thank you i give it a try but have you some tips how install easily and avoid frequent mistakes and problems?
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1666
Location: Richmond Hill, Canada

PostPosted: Sat Apr 12, 2025 7:00 pm    Post subject: Reply with quote

justguy wrote:
thank you i give it a try but have you some tips how install easily and avoid frequent mistakes and problems?
Have you seen Gentoo Handbook?

There is no "easy" way because easy is relative term, I don't know what is easy for you compare to what I consider easy. I just tried the same question with deepseek and it provide similar answer to Genmini with a little bit less verbose. So if you find AI's answer is not easy enough then you need to follow Gentoo Handbook and provide detail on where you got stuck and what error(s) you that you don't know how to resolve.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5656
Location: Bavaria

PostPosted: Sat Apr 12, 2025 7:20 pm    Post subject: Re: Guys please help me install Gentoo with binary packages Reply with quote

justguy wrote:
[...] but dont find how install @world using only binary packages. [...]

Have you seen this article?
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart

(In deep: https://wiki.gentoo.org/wiki/Binary_package_guide )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 8:07 am    Post subject: Reply with quote

I gived it a try i now stuck on that i cannot do emerge --ask --verbose --update --deep --newuse @world
this is error output: dev-db /sqlite-3.49.1::gentoo failed emake failed
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 8:09 am    Post subject: Reply with quote

then i want to compile @world with binary packages gentoo saying its not supported
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 502

PostPosted: Sun Apr 13, 2025 8:17 am    Post subject: Reply with quote

You'll need to provide us with a lot more details if you want us to help properly.
When you encounter an error that you don't understand, you should post the command itself and the entire output, so that we can actually understand what's going wrong.

My suspicion is that you might have set up the binhost config correctly, but differences in USE flags are making portage skip the binaries.
As for sqlite, no one knows without the build log.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 8:30 am    Post subject: Reply with quote

this is full log and by the way i typed it manually because i doing this in VM and i cannot access clipboard.
If you need support post the output emerge --info '=dev-db/sqlite-3.49.1::gentoo'
the complete log and output emerge --pqv '=dev-db/sqlite-3.49.1::gentoo'
the complete build is located at 'var/tmp/portage/dev-db/sqlite-3.49.1/temp/build.log
the ebuild environment file is located at '/var/tmp/portage/dev-db/sqlite-3.49.1/temp/environment'
working directory '/var/tmp/portage/dev-db/sqlite-3.49.1/work/sqlite-src-3490100-abi_x86_64.amd64
S: '/var/tmp/portage/dev-db/sqlite-3.49.1/work/sqlite-src-3490100'
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 8:43 am    Post subject: Reply with quote

This is what guide i following it is written by Gemini:
Step 2: Download from the Minimal Installation CD and configure the network

Start the VM.
Select download from CD/DVD.
Log in as root (no password required).
Set up the network:
Determine the name of the network interface: Run the ip addr command. Usually it's something like eth0, enp0s3, wlan0. Remember him.
Configure the network via DHCP (recommended):
dhcpcd <network interface name>
Example: dhcpcd enp0s3
Check your internet connection: Run the ping command google.com . If everything is working, you will see responses from Google.
Set up the time:
ntpd -q -g
Step 3: Marking up the disk

Define the disk name: Run the lsblk command. This is usually /dev/sda or /dev/vda.
Run cfdisk to mark up the disk (BE CAREFUL, data will be lost!):
cfdisk /dev/<disk name>
Example: cfdisk /dev/sda
Create the following partitions (example):
/dev/sda1 (BIOS boot partition): Type: BIOS boot. Size: 2M.
/dev/sda2 (swap): Type: Linux swap. Size: Twice as much RAM is recommended (for example, 4 GB if you have 2 GB of RAM).
/dev/sda3 (root partition /): Type: Linux filesystem. Size: The rest of the space.
Write the changes to disk and exit cfdisk.
Step 4: Formatting the sections

Format the partitions:
mkfs.ext4 /dev/<root partition> # Formatting the root partition (/)
mkswap /dev/<section_swap> # Creating
a swap partition swapon /dev/<partition_swap> # Activating the swap partition
Example:
mkfs.ext4 /dev/sda3
mkswap /dev/sda2
swapon /dev/sda2
Step 5: Mounting Partitions

Create a mount point:
mkdir /mnt/gentoo
Mount the root partition:
mount /dev/<root partition> /mnt/gentoo
Example: mount /dev/sda3 /mnt/gentoo
Step 6: Install Stage 3 (using binary packages)

Download Stage 3 tarball: Gentoo provides binary Stage 3 tarballs that significantly speed up the installation process. Find the link to the binary Stage 3 tarball for x86_64 on the official Gentoo website. It is usually located in the “Binary Packages" section. It has a name similar to stage3-amd64-*.tar.xz.
Go to the mount directory:
cd /mnt/gentoo
Download Stage 3 tarball (using wget or curl):
wget <link_stage3_tarball>
Example: wget https://mirror .yandex.ru/gentoo-distfiles/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20230101T000000Z.tar.xz
Unpack the Stage 3 tarball:
tar xpvf <stage3_tarball name> --xattrs --numeric-owner
Example: tar xpvf stage3-amd64-20230101T000000Z.tar.xz --xattrs --numeric-owner
Step 7: Configure compilation options (make.conf)

Create a make.conf:

nano /mnt/gentoo/etc/portage/make.conf
Insert the following text (adapt it to your needs):

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j$(nproc)" # Use all processor cores
ACCEPT_KEYWORDS="amd64" # Or "~amd64" for unstable packages
INPUT_DEVICES="libinput"
USE="kde plasma systemd elogind"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles /" #Replace it with the one closest to you
CFLAGS and CXXFLAGS: Define compilation parameters. march=native uses instructions supported by your processor to improve performance. -O2 enables optimization. -pipe uses pipelining to speed up compilation.
MAKEOPTS: Determines the number of parallel tasks during compilation. -j$(nproc) uses all processor cores.
ACCEPT_KEYWORDS: Defines the branch of packages that you will use. amd64 is a stable branch, ~amd64 is a test branch (unstable). For a start, it's better to use amd64.
INPUT_DEVICES: Specifies the drivers used for the input devices. libinput is a modern driver.
USE: Defines the compilation parameters for each package. kde plasma systemd elogind includes support for KDE Plasma, systemd and elogind (Session Manager). It is important to add systemd so that the system uses systemd instead of OpenRC.
GENTOO_MIRRORS: The Gentoo mirror from where packages will be downloaded. Replace it with the one closest to you.
Step 8: Copying DNS Information

Copy the DNS information:
cp -L /etc/resolv.conf /mnt/gentoo/etc/
Step 9: Chroot

Mount the necessary file systems:
mount -t proc proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/dev
Log in to the chroot:
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot)${PS1}"
Step 10: Configure Portage

Update the Portage tree:
emerge --sync
Step 11: Installing the profile

Select the Systemd profile:
eselect profile list
Find the profile with systemd in the name. This is usually something like default/linux/amd64/17.1/systemd.
Select a profile:
eselect profile set <profile number>
Example: eselect profile set 5
Update the environment variables:
env-update && source /etc/profile
Step 12: Install the necessary packages (using binary packages)

Update the system:
emerge --ask --verbose --update --deep --newuse @world
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55215
Location: 56N 3W

PostPosted: Sun Apr 13, 2025 9:11 am    Post subject: Reply with quote

justguy,

AI is certainly Artificial and just as certainly, not Intelligent. AI is a sales term.
We have a wonderful topic here where someone asked one of the AI engines how to install Gentoo.
It did a reasonable job too ... but the instructions were two years out of date so would not have worked with the then current Gentoo.
I suspect you will fall foul of something similar. Gentoo, indeed all Open Source, keeps changing. The AI cannot keep up and certainly cannot predict the changes.

If you want to install from binaries, you cannot set USE flags at all.
You must follow the binhost.

Code:
USE="kde plasma systemd elogind"

Nobody can have both systemd and elogind. PIck exactly one.

USE="kde plasma systemd/elogind" will be set by your choice of profile anyway, so if you choose the correct profile your USE setting is redundant.

Having said
Quote:
If you want to install from binaries, you cannot set USE flags at all.
it's not strictly true.
If you want to use mostly binaries and don't mind building some packages yourself you can stray from the binhost.

Code:
-march=native
will only be used by things you build yourself. Its harmless.

No
Code:
CPU_FLAGS_X86=
setting?

Code:
GENTOO_MIRRORS: The Gentoo mirror from where packages will be downloaded. Replace it with the one closest to you.

GENTOO_MIRRORS should be a list of at least three mirrors. Mirrors come and go, go faullty. Only having one mirror is a problem waiting to happen.
Again, its only used for things you build yourself.

Code:
Select the Systemd profile:

Not exactly ...
Code:
default/linux/amd64/23.0/desktop/plasma/systemd (stable)
will set the USE flags for you.
There is also a /no-multilib/ version of the profile. Be sure to choose the right. one.

Make friends with wgetpaste to post file content and command output. It's a small bash script.
It puts things onto pastebin sites, You post the link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 9:24 am    Post subject: Reply with quote

About mirrors, i done it myself with this command: mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
i can sent you code that AI give me after: emerge --ask --verbose --update --deep --newuse @world
Theres code if needed in case AI did something wrong:

Install gentoo-sources (Linux kernel):
emerge --ask gentoo-sources
Compile and install the kernel:
emerge --ask sys-kernel/gentoo-kernel-bin
This is a very important difference: gentoo-kernel-bin installs a precompiled kernel. If you want to compile the kernel yourself (which is a more “traditional” way in Gentoo), use emerge --ask gentoo-kernel. However, for simplicity and speed, the use of a binary kernel is recommended.
Install important system tools:
emerge --ask sys-kernel/linux-firmware sys-apps/kmod sys-process/procps
Generate an fstab:
genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab
Check /mnt/gentoo/etc/fstab and make sure that the partitions are mounted correctly!
Step 13: System Setup

Set the time zone:
tzselect
cp /usr/share/zoneinfo/<your_watch time> /etc/localtime
echo "<your_watch>" > /etc/timezone
Example:
tzselect
cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime
echo "Europe/Moscow" > /etc/timezone
Configure the locale:
Uncomment the desired locale in /etc/locale.gen:
nano /etc/locale.gen
For example, uncomment en_US.UTF-8 UTF-8 and ru_EN.UTF-8 UTF-8.
Generate the locales:
locale-gen
Set the default locale to /etc/env.d/02locale:
nano /etc/env.d/02locale
Add a string:
LC_ALL="en_US.UTF-8" # Or your preferred locale
Update the environment variables:
env-update && source /etc/profile
Configure the hostname:
echo "<hostname>" > /etc/hostname
Example: echo "gentoo" > /etc/hostname
Configure network settings in /etc/hosts:
nano /etc/hosts
Add the lines:
127.0.0.1 localhost
::1 localhost
127.0.1.1 <hostname>.localdomain <hostname>
Example:
127.0.0.1 localhost
::1 localhost
127.0.1.1 gentoo.localdomain gentoo
Configure systemd:
systemctl enable dhcpcd@<network interface name>.service
Example:

systemctl enable dhcpcd@enp0s3.service
Step 14: Configuring the Bootloader (GRUB)

Install GRUB:
emerge --ask grub
Configure GRUB:
grub-install --target=i386-pc /dev/<disk name>
grub-mkconfig -o /boot/grub/grub.cfg
Example:
grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Step 15: Install KDE Plasma

Install Xorg:
emerge --ask xorg-server
Install Plasma:
emerge --ask kde-plasma/plasma-meta
Enable sddm (KDE Display Manager):
systemctl enable sddm
Step 16: User Setup

Install sudo:
emerge --ask sudo
Add a user:
useradd -m -G users,wheel,audio,video <username>
passwd <username>
Example:
useradd -m -G users,wheel,audio,video vasya
passwd vasya
Configure sudo:
EDITOR=nano visudo
Find the line %wheel ALL=(ALL) ALL and uncomment it.
Step 17: Completing the installation

Exit the chroot:
exit
Unmount the partitions:
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo/sys
umount /mnt/gentoo/proc
umount /mnt/gentoo
Restart the VM:
reboot
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55215
Location: 56N 3W

PostPosted: Sun Apr 13, 2025 9:32 am    Post subject: Reply with quote

justguy,

Code:
...
Restart the VM:
reboot

Did that work ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 9:35 am    Post subject: Reply with quote

if i just do reboot and restart pc if losing all progress.
if i install grub and will log in system i dont lose progress.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55215
Location: 56N 3W

PostPosted: Sun Apr 13, 2025 10:17 am    Post subject: Reply with quote

justguy,

You don't lose progress.
Your install is still there.
Do not partition your vda
Do not make filesystems on vda
Go straight to the mount steps in the handbook.

When you mount your filesystem at /mnt/gentoo again everything is still there.
Once you are back in the chroot, its as if you have have never left. You can continue or fix your install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5656
Location: Bavaria

PostPosted: Sun Apr 13, 2025 10:31 am    Post subject: Reply with quote

justguy,

you can always go back by Chrooting into your Gentoo system ->

NeddySeagoon wrote:
Once you are back in the chroot, its as if you have have never left. You can continue or fix your install.


with these steps:

https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation

(of course you must use your partitions instead of /dev/sda3 and /dev/sda1)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 10:41 am    Post subject: Reply with quote

then exit and then log in again i lose all mounted disks and then i chroot in system all broken, system cant even do emerge --sync
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55215
Location: 56N 3W

PostPosted: Sun Apr 13, 2025 11:10 am    Post subject: Reply with quote

justguy,

Quote:
... cant even do emerge --sync


Tell us what you did.
Tell us what happened with verbatim messages. Recollections or something like ... are not useful.
Tell us what you expected to happen and why.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 2:08 pm    Post subject: Reply with quote

Can someone give url to video? that detailed describes how install gentoo.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23403

PostPosted: Sun Apr 13, 2025 2:48 pm    Post subject: Reply with quote

There are multiple videos that purport to describe how to install Gentoo, and I am not aware of even one of them that we recommend people use. The videos are often out of date (much like the AI output), or gloss over important details. If you have a particular video in mind, you are welcome to link to it, but some people (including me) will not watch it, so posting the video is not an effective way to convey questions.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55215
Location: 56N 3W

PostPosted: Sun Apr 13, 2025 3:52 pm    Post subject: Reply with quote

justguy,

There are lots of videos of various ages. They all have one thing in common. They are incomplete.
Follow the Gentoo Handbook.

Throwing away your install will not fix it. Gentoo is not like Window or a binary distro. Reinstalling will not fix it.
You will only find different way for it to not work.

Tell us what happens when you boot your VM.
Post verbatim error messages
Posting screen photos on igmur is tolerated but not encouraged.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
justguy
n00b
n00b


Joined: 12 Apr 2025
Posts: 26

PostPosted: Sun Apr 13, 2025 6:04 pm    Post subject: Reply with quote

Is it normal practise to install system from source and after installation, other packages install binary way?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum