{"id":983,"date":"2018-10-20T19:39:36","date_gmt":"2018-10-20T19:39:36","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=983"},"modified":"2018-10-23T01:21:38","modified_gmt":"2018-10-23T01:21:38","slug":"how-to-install-gentoo-linux-cli-and-kde-plasma-also-for-virtualbox-and-vmware-noobslab","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/20\/how-to-install-gentoo-linux-cli-and-kde-plasma-also-for-virtualbox-and-vmware-noobslab\/","title":{"rendered":"How to Install Gentoo Linux CLI and KDE Plasma (Also for VirtualBox and VMware) &#8211; NoobsLab"},"content":{"rendered":"<p>As you may know, most of the Linux distributions are easy to install and you can do by just few clicks. But there are some Linux distributions that first needs to compile then install and Gentoo is one of them. Installing Gentoo on your system or in VirtualBox\/VMware isn&#8217;t easy if you are new to Linux, it is time consuming because it has to compile and there whole lots of things that needs to take care of.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-hE7C75uhao8\/W4aM0ONg15I\/AAAAAAAAJC8\/b8jzyx69hzAVpgjTtpNG72IevQWMRBzpQCLcBGAs\/s1600\/gentoo-install.png\" \/><\/p>\n<p>In this article, we will show you step by step how you can easily install Gentoo on your System HDD or in VirtualBox\/VMware. The instructions will be easy to follow and you also don&#8217;t need deep knowledge of everything, if you are new then with time things will get much clear to you. If you haven&#8217;t tried Gentoo before then first experiment it in VirtualBox or VMware.<\/p>\n<p>&nbsp;<\/p>\n<p>The instructions will be divided into three parts: first part of instructions will show how to install Gentoo command-line (CLI); in second part instructions to get KDE Plasma on Gentoo; and last part is for those who install Gentoo in VirtualBox or VMware and want to install vmware-tools or vitualbox-guest-additions. So Lets start!<\/p>\n<h3><b>Getting Started &#8211; Install CLI<\/b><\/h3>\n<p>First we are going to install Gentoo Command-line-interface (CLI):<\/p>\n<p><a href=\"https:\/\/www.gentoo.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">Download Gentoo<\/a><\/p>\n<p>minimal iso. If you are installing it on your system then write it on USB using unetbootin utility, if you are installing it in VirtualBox or VMware then mount iso in virtual cdrom.<\/p>\n<p>You will be dropped at command line shell, once you boot the iso.<\/p>\n<p><a href=\"https:\/\/2.bp.blogspot.com\/-NrcB9TNSkXo\/W4aPEO_ICqI\/AAAAAAAAJDU\/ZeFHhv3V-Wk1wlJaAS_zu1waCHySIh2zgCLcBGAs\/s1600\/1-gentoo-boot-iso.png\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-NrcB9TNSkXo\/W4aPEO_ICqI\/AAAAAAAAJDU\/ZeFHhv3V-Wk1wlJaAS_zu1waCHySIh2zgCLcBGAs\/s1600\/1-gentoo-boot-iso.png\" \/><\/a><\/p>\n<p>Next step is to configure the network.<\/p>\n<p>Run this command to see the network adapter (Ethernet\/Wireless)<\/p>\n<p>To view processes by the your logged-in user:<\/p>\n<p>ifconfig<\/p>\n<p>Now with this command you can configure your connected internet connection.<\/p>\n<p>To view processes by the your logged-in user:<\/p>\n<p>net-setup <i>your_network_adapter<\/i><\/p>\n<p><a href=\"https:\/\/2.bp.blogspot.com\/-m91z4LCaVSI\/W4aO5XqSVgI\/AAAAAAAAJDQ\/X_F7UTRzEC0c1dQp8iMQLDu9iGKV83fYQCLcBGAs\/s1600\/2-gentoo-net-setup.png\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-m91z4LCaVSI\/W4aO5XqSVgI\/AAAAAAAAJDQ\/X_F7UTRzEC0c1dQp8iMQLDu9iGKV83fYQCLcBGAs\/s1600\/2-gentoo-net-setup.png\" \/><\/a><\/p>\n<h4><b>Partitioning with FDisk<\/b><\/h4>\n<p>There are multiple ways to partition HDD, we chose FDisk because it is very simple to use and pretty much you can find it on most Linux distributions.<\/p>\n<p><b>Warning:<\/b><\/p>\n<p>Be careful! If you are doing partitions on your system HDD. You can lose your data, if you don&#8217;t know what you are going to do!!!<\/p>\n<p>Run this command to see available disk in system:<\/p>\n<p>fdisk -l<\/p>\n<p>We assume output HDD as \/dev\/sda\/ from previous command.<\/p>\n<p>This command will open FDisk to partition \/dev\/sda\/ HDD:<\/p>\n<p>fdisk \/dev\/sda<\/p>\n<p>Press m key to see options for using FDisk.<\/p>\n<p>In the following picture, we created 200GB of primary partition for root. You can create more partitions by yourself using this example.<\/p>\n<p><a href=\"https:\/\/1.bp.blogspot.com\/-jtIIxNTvZFA\/W4aSifAlFJI\/AAAAAAAAJDk\/yeUHhe-RFbcC-FJUOiTTfWDceLDsMfDOACLcBGAs\/s1600\/3-gentoo-partitioning.png\"><img decoding=\"async\" src=\"https:\/\/1.bp.blogspot.com\/-jtIIxNTvZFA\/W4aSifAlFJI\/AAAAAAAAJDk\/yeUHhe-RFbcC-FJUOiTTfWDceLDsMfDOACLcBGAs\/s1600\/3-gentoo-partitioning.png\" \/><\/a><\/p>\n<p>Format partition using EXT4 filesystem:<\/p>\n<p>mkfs.ext4 \/dev\/sda1<\/p>\n<p>For swap partition use this command: (PS: first create swap partition)<\/p>\n<p>mkswap \/dev\/sda2<br \/>\nswapon \/dev\/sda2<\/p>\n<p>PS: You should create your home directory on separate partition! Also if you want you can create separate boot partition.<\/p>\n<h4><b>Installation<\/b><\/h4>\n<p>Create directory to mount root partition, where Gentoo will install:<\/p>\n<p>mkdir -p \/mnt\/gentoo\/<br \/>\nmount \/dev\/sda1 \/mnt\/gentoo\/<\/p>\n<p>Lets download the latest stage to start the installation:<\/p>\n<p>cd \/mnt\/gentoo<br \/>\nlinks http:\/\/www.gentoo.org\/main\/en\/mirrors.xml<\/p>\n<p>Download latest version of stage3 according to your system architecture:<\/p>\n<p><a href=\"https:\/\/1.bp.blogspot.com\/-aPV0ekES5vE\/W4aVlE5xksI\/AAAAAAAAJDw\/8OVJhXjJ-BMAspR08wLJ8FNnwq_Z_SpaACLcBGAs\/s1600\/4-gentoo-stage3.png\"><img decoding=\"async\" src=\"https:\/\/1.bp.blogspot.com\/-aPV0ekES5vE\/W4aVlE5xksI\/AAAAAAAAJDw\/8OVJhXjJ-BMAspR08wLJ8FNnwq_Z_SpaACLcBGAs\/s1600\/4-gentoo-stage3.png\" \/><\/a><\/p>\n<p>Next step to extract the downloaded stage3 archive:<\/p>\n<p>cd \/mnt\/gentoo<br \/>\ntar xf stage3-*.tar.xz<\/p>\n<p>for tar.bz2 use this command:<\/p>\n<p>tar xvjpf stage3-*.tar.bz2<\/p>\n<p>Mount filesystem:<\/p>\n<p>mount -t proc none \/mnt\/gentoo\/proc<br \/>\nmount &#8211;rbind \/sys \/mnt\/gentoo\/sys<br \/>\nmount &#8211;rbind \/dev \/mnt\/gentoo\/dev<\/p>\n<p>Copy DNS info:<\/p>\n<p>cp -L \/etc\/resolv.conf \/mnt\/gentoo\/etc\/<\/p>\n<p>Chroot into installation partition:<\/p>\n<p>chroot \/mnt\/gentoo \/bin\/bash<br \/>\nsource \/etc\/profile<br \/>\nexport PS1=&#8221;(chroot) $PS1&#8243;<\/p>\n<p>Edit make.conf file to add some necessary flags:<\/p>\n<p>nano -w \/etc\/portage\/make.conf<\/p>\n<p>Add following lines in opened file then press<\/p>\n<p><i>CTRL+O<\/i><\/p>\n<p>and<\/p>\n<p><i>CTRL+X<\/i><\/p>\n<p>to save and close: (Don&#8217;t remove anything from file)<\/p>\n<p>USE=&#8221;bindist mmx sse&#8221;<br \/>\nINPUT_DEVICES=&#8221;evdev keyboard mouse synaptics&#8221;<br \/>\nMAKEOPTS=&#8221;-j3&#8243;<br \/>\nConfigure portage:<\/p>\n<p>emerge-webrsync<br \/>\nemerge &#8211;sync<br \/>\nemerge &#8211;oneshot portage<\/p>\n<p>Set timezone:<\/p>\n<p>cp \/usr\/share\/zoneinfo\/America\/New_York \/etc\/localtime<br \/>\necho &#8220;America\/New_York&#8221; &gt; \/etc\/timezone<\/p>\n<p>Set-up the Locale:<\/p>\n<p>nano -w \/etc\/locale.gen<\/p>\n<p>Uncomment following lines in the file or according to your needs:<\/p>\n<p>en_US ISO-8859-1<br \/>\nen_US.UTF-8 UTF-8<\/p>\n<p>Now run these commands:<\/p>\n<p>locale-gen<br \/>\nnano -p \/etc\/env.d\/02locale<\/p>\n<p>Add following lines in the file then press<\/p>\n<p><i>CTRL+O<\/i><\/p>\n<p>and<\/p>\n<p><i>CTRL+X<\/i><\/p>\n<p>to save and close:<\/p>\n<p>LANG=&#8221;en_US.UTF-8&#8243;<br \/>\nLC_COLLATE=&#8221;C&#8221;<\/p>\n<p>Now run this command:<\/p>\n<p>env-update &amp;&amp; source \/etc\/profile<\/p>\n<p>Compile the kernel:<\/p>\n<p>emerge gentoo-sources<br \/>\ncd \/usr\/src\/linux<br \/>\nmake menuconfig<\/p>\n<p>Choose options according to your system hardware. For x86\/i386\/i486\/i686 architecture untick the 64-bit kernel option from menu.<\/p>\n<h4><b>Follow these steps to configure kernel options for <u>VirtualBox and VMware<\/u>:<\/b><\/h4>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>VMware tools configuration<\/td>\n<\/tr>\n<tr>\n<td>Loadable module support &#8212;&gt;<\/p>\n<p>[*] Enable loadable module support &#8212;&gt;<\/p>\n<p>[*] Module unloading<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Intel PCI\/ISA Bridge<\/td>\n<\/tr>\n<tr>\n<td>Bus options (PCI etc.) &#8212;&gt;<\/p>\n<p>[*] PCI Support<\/p>\n<p>[*] ISA Support<\/p>\n<p>[*] EISA support<\/p>\n<p>&lt;*&gt; Support for PCI Hotplug<\/p>\n<p>Support for PCI Hotplug &#8212;&gt;<\/p>\n<p>&lt;*&gt; SHPC PCI Hotplug driver<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>IEEE 1394<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>IEEE 1394 (Firewire) support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Firewire driver stack<\/p>\n<p>&lt;*&gt; OHCI-1394 controllers<\/p>\n<p>&lt;*&gt; Storage devices (SBP-2 protocol)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Parallel port<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>&lt;*&gt; Parallel port support &#8212;&gt;<\/p>\n<p>&lt;*&gt; PC-style hardware<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Parallel ATA<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>&lt;*&gt; Serial ATA and Parallel ATA drivers<\/p>\n<p>&lt;*&gt; PCMCIA PATA support<\/td>\n<td>&#8212;&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>I2C<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>I2C Support &#8212;&gt;<\/p>\n<p>I2C Hardware Bus support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Intel PIIX4 and compatible (ATI\/Serverworks\/Broadcom\/SMSC)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Backplane<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>Sonics Silicon Backplane &#8212;&gt;<\/p>\n<p>&lt;*&gt; Sonics Silicon Backplane support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>LSI Logic SCSI adapter<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>[*] Fusion MPT device support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Fusion MPT ScsiHost drivers for SPI<\/p>\n<p>&lt;*&gt; Fusion MPT ScsiHost drivers for SAS<\/p>\n<p>SCSI device support &#8212;&gt;<\/p>\n<p>&lt;*&gt; SCSI device support<\/p>\n<p>&lt;*&gt; SCSI disk support<\/p>\n<p>SCSI low-level drivers &#8212;&gt;<\/p>\n<p>&lt;*&gt; SYM53C8XX Version 2 SCSI support<\/p>\n<p>&lt;*&gt; BusLogic SCSI Support<\/p>\n<p>[*] USB support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Support for Host-side USB<\/p>\n<p>&lt;*&gt; SL811HS HCD support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>BusLogic<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>SCSI device support &#8212;&gt;<\/p>\n<p>&lt;*&gt; SCSI device support<\/p>\n<p>&lt;*&gt; SCSI disk support<\/p>\n<p>SCSI low-level drivers &#8212;&gt;<\/p>\n<p>&lt;*&gt; BusLogic SCSI support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>HID support<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>[*] HID Devices &#8212;&gt;<\/p>\n<p>&lt;*&gt; USB Human Interface Device (full HID) support<\/p>\n<p>[*] USB support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Support for Host-side USB &lt;*&gt; SL811HS HCD support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>CDROM<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>&lt;*&gt; ATA\/ATAPI\/MFM\/RLL support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Include IDE\/ATAPI CDROM support<\/p>\n<p>PCI IDE chipset support<\/p>\n<p>&lt;*&gt; Intel PIIXn chipsets support<\/p>\n<p>File systems &#8212;&gt;<\/p>\n<p>CD-ROM\/DVD Filesystems &#8212;&gt;<\/p>\n<p>&lt;*&gt; ISO 9660 CDROM file system support<\/p>\n<p>[*] Microsoft Joliet CDROM extensions<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Gameport<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>Input device support &#8212;&gt;<\/p>\n<p>Hardware I\/O ports &#8212;&gt; &lt;*&gt; Gameport support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Device mapper support<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>[*] Multiple devices driver support (RAID and LVM) &#8212;&gt;<\/p>\n<p>&lt;*&gt; Device mapper support<\/p>\n<p>&lt;*&gt; Snapshot target<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Network<\/td>\n<\/tr>\n<tr>\n<td>Networking &#8212;&gt;<\/p>\n<p>[*] Networking support<\/p>\n<p>Networking options &#8212;&gt;<\/p>\n<p>&lt;*&gt; Packet socket<\/p>\n<p>&lt;*&gt; Unix domain sockets<\/p>\n<p>[*] TCP\/IP networking<\/p>\n<p>&lt;*&gt; 802.1d Ethernet Bridging<\/p>\n<p>Device Drivers &#8212;&gt;<\/p>\n<p>Network Device support &#8212;&gt;<\/p>\n<p>[*] Network device support<\/p>\n<p>[*] Ethernet driver support &#8212;&gt;<\/p>\n<p>[*] AMD devices<\/p>\n<p>&lt;M&gt; AMD PCnet32 PCI support<\/p>\n<p>[*] Intel devices<\/p>\n<p>&lt;M&gt; Intel(R) PRO\/1000 Gigabit Ethernet support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Audio<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>Sound Card Support &#8212;&gt;<\/p>\n<p>&lt;*&gt; Advanced Linux Sound Architecture &#8212;&gt;<\/p>\n<p>&lt;M&gt; Sequencer support<\/p>\n<p>&lt; &gt; Sequencer dummy client<\/p>\n<p>&lt;*&gt; OSS Sequencer API<\/p>\n<p>[*] Enable OSS Simulation<\/p>\n<p>&lt;M&gt; OSS Mixer API<\/p>\n<p>&lt;M&gt; OSS PCM (digital audio) API<\/p>\n<p>[*] OSS PCM (digital audio) API<\/p>\n<p>[*] Dynamic device file minor numbers<\/p>\n<p>[*] Support old ALSA API<\/p>\n<p>[*] Verbose procfs contents<\/p>\n<p>[*] Generic sound devices &#8212;&gt;<\/p>\n<p>[*] PCI sound devices &#8212;&gt;<\/p>\n<p>&lt;M&gt; (Creative) Ensoniq AudioPCI 1371\/1373<\/p>\n<p>[*] USB sound devices &#8212;&gt;<\/p>\n<p>[*] PCMCIA sound devices &#8212;&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><b>Linux Kernel Configuration: <\/b>Graphics<\/td>\n<\/tr>\n<tr>\n<td>Device Drivers &#8212;&gt;<\/p>\n<p>Graphics support &#8212;&gt;<\/p>\n<p>&lt;*&gt; \/dev\/agpgart (AGP Support) &#8212;&gt;<\/p>\n<p>&lt;*&gt; Intel 440LX\/BX\/GX, I8xx and E7x05 chipset support<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Save and exit the kernel configuration menu.<\/p>\n<p>Now run these commands to compile the kernel with options you have selected:<\/p>\n<p>make -j2 &amp;&amp; make modules_install<br \/>\ncp arch\/x86_64\/boot\/bzImage \/boot\/<i>kernel-kernel_version-gentoo<\/i><\/p>\n<p><a href=\"https:\/\/2.bp.blogspot.com\/-3k3Nbga5fvI\/W4afqgbhXkI\/AAAAAAAAJEE\/xlTszCVMsucGyw-ESpV6RiU0wEvriUfEgCEwYBhgL\/s1600\/5-gentoo-copy-compiles-kernel.png\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-3k3Nbga5fvI\/W4afqgbhXkI\/AAAAAAAAJEE\/xlTszCVMsucGyw-ESpV6RiU0wEvriUfEgCEwYBhgL\/s1600\/5-gentoo-copy-compiles-kernel.png\" \/><\/a><\/p>\n<p>Configure initramfs:<\/p>\n<p>emerge genkernel<\/p>\n<p>If you get the similar output with above command:<\/p>\n<p><a href=\"https:\/\/1.bp.blogspot.com\/-aOG_yD10_A4\/W4agZ3QJiyI\/AAAAAAAAJEQ\/oAOuPzVpqMs4tfabE_tbjeP27hEDyqtPwCLcBGAs\/s1600\/6-gentoo-genkernel-issue.png\"><img decoding=\"async\" src=\"https:\/\/1.bp.blogspot.com\/-aOG_yD10_A4\/W4agZ3QJiyI\/AAAAAAAAJEQ\/oAOuPzVpqMs4tfabE_tbjeP27hEDyqtPwCLcBGAs\/s1600\/6-gentoo-genkernel-issue.png\" \/><\/a><\/p>\n<p>Then run this command:<\/p>\n<p>dispatch-conf<\/p>\n<p>At genkernel screen press &#8220;<b>u<\/b>&#8221;<\/p>\n<p><a href=\"https:\/\/4.bp.blogspot.com\/-NTcERQDmN6Y\/W4ahxRpbzrI\/AAAAAAAAJEc\/N2Y5X4s3h88No-qGHjLjsZdzs00ijyajgCLcBGAs\/s1600\/7-gentoo-dispatch-package-use.png\"><img decoding=\"async\" src=\"https:\/\/4.bp.blogspot.com\/-NTcERQDmN6Y\/W4ahxRpbzrI\/AAAAAAAAJEc\/N2Y5X4s3h88No-qGHjLjsZdzs00ijyajgCLcBGAs\/s1600\/7-gentoo-dispatch-package-use.png\" \/><\/a><\/p>\n<p>Now try to install it again:<\/p>\n<p>genkernel -install initramfs<\/p>\n<p>Set the hostname:<\/p>\n<p>nano -w \/etc\/conf.d\/hostname<\/p>\n<p>Change hostname as you like.<\/p>\n<p>Now create symbolic link for network adapter. Run this command to see the adapter:<\/p>\n<p>ifconfig<\/p>\n<p>Replace your network adapter name with &#8220;your_network_adapter&#8221; in the following command:<\/p>\n<p>cd \/etc\/init.d\/ &amp;&amp; ln -s net.lo net.<i>your_network_adapter<\/i><\/p>\n<p><a href=\"https:\/\/4.bp.blogspot.com\/-7yyCC3rfE0E\/W4akDyD-uZI\/AAAAAAAAJEo\/gvObzue1cK8tIXcUC27rKNdPVasog4wigCLcBGAs\/s1600\/8-gentoo-symbolic-network.png\"><img decoding=\"async\" src=\"https:\/\/4.bp.blogspot.com\/-7yyCC3rfE0E\/W4akDyD-uZI\/AAAAAAAAJEo\/gvObzue1cK8tIXcUC27rKNdPVasog4wigCLcBGAs\/s1600\/8-gentoo-symbolic-network.png\" \/><\/a><\/p>\n<p>Install and setup DHCP client:<\/p>\n<p>emerge -av dhcpcd<br \/>\nrc-update add dhcpcd default<\/p>\n<p>Set password for root:<\/p>\n<p>passwd root<\/p>\n<p>Install syslog-ng: it is powerful, massively configurable monitoring and logging daemon:<\/p>\n<p>emerge syslog-ng<br \/>\nrc-update add syslog-ng default<\/p>\n<p>In this step, install grub bootloader:<\/p>\n<p>emerge &#8211;ask sys-boot\/grub<br \/>\ngrub-install \/dev\/sda<br \/>\ngrub-mkconfig -o \/boot\/grub\/grub.cfg<\/p>\n<p>Add an non-root user:<\/p>\n<p>useradd -m -G wheel,audio,video,usb,cdrom -s \/bin\/bash <b><i>username<\/i><\/b><br \/>\npasswd <b><i>username<\/i><\/b><\/p>\n<p>Install sudo and add user to sudo:<\/p>\n<p>emerge -av sudo<br \/>\nnano -w \/etc\/sudoers<\/p>\n<p>Add this line in the file then press<\/p>\n<p><i>CTRL+O<\/i><\/p>\n<p>and<\/p>\n<p><i>CTRL+X<\/i><\/p>\n<p>to save and close:<\/p>\n<p>Update packages:<\/p>\n<p>emerge -avuND world<\/p>\n<p>Cleanup:<\/p>\n<p>rm \/usr\/portage\/distfiles\/*<\/p>\n<p>Finally, unmount everything and reboot to your minimal Gentoo CLI system:<\/p>\n<p>exit &amp;&amp; cd ~<br \/>\numount -l \/mnt\/gentoo\/<br \/>\numount \/mnt\/gentoo<br \/>\nreboot<\/p>\n<p>At this point you got Gentoo minimal CLI installed on your system. If you want to install KDE Plasma on Gentoo then proceed!<\/p>\n<h3><b>Install KDE Plasma Desktop in Gentoo<\/b><\/h3>\n<p>Boot into your system and login as root.<\/p>\n<p>You need to add some flags for KDE Plasma desktop in make.conf file:<\/p>\n<p>nano -w \/etc\/portage\/make.conf<\/p>\n<p>Add following lines in the file then press <i>CTRL+O<\/i> and <i>CTRL+X<\/i> to save and close:<\/p>\n<p>USE=&#8221;bindist mmx sse sse2 mmxext dbus udev branding icu python X acpi display-manager sddm gtk handbook libkms wallpapers pulseaudio legacy-systray gtk2 gtk3&#8243;<br \/>\nINPUT_DEVICES=&#8221;evdev keyboard mouse synaptics&#8221;<br \/>\nChoose the profile:<\/p>\n<p>eselect profile list<br \/>\neselect profile set 19<\/p>\n<p>Select KDE Plasma profile (with or without systemd)<\/p>\n<p><a href=\"https:\/\/2.bp.blogspot.com\/-LQjmoznaeLU\/W4arkLdlrNI\/AAAAAAAAJE0\/orodbD4QczIkgAf7iHd-YWnpbTZmL1G6wCLcBGAs\/s1600\/9-gentoo-kde-plasma-profile.png\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-LQjmoznaeLU\/W4arkLdlrNI\/AAAAAAAAJE0\/orodbD4QczIkgAf7iHd-YWnpbTZmL1G6wCLcBGAs\/s1600\/9-gentoo-kde-plasma-profile.png\" \/><\/a><\/p>\n<p>Install any available update and dbus:<\/p>\n<p>emerge -avuND world<br \/>\nemerge -av dbus<br \/>\n\/etc\/init.d\/dbus start<br \/>\nrc-update add dbus default<br \/>\nrc-update add udev sysinit<\/p>\n<p>Install Xorg Drivers:<\/p>\n<p>emerge -av x11-base\/xorg-drivers<br \/>\nemerge -av x11-base\/xorg-x11<\/p>\n<p>Allow users to video access:<\/p>\n<p>gpasswd -a root video<br \/>\ngpasswd -a <b><i>username<\/i><\/b> video<\/p>\n<p>Start installing KDE Plasma. The following command will install all required KDE Plasma packages:<\/p>\n<p>emerge -av kde-plasma\/plasma-meta<\/p>\n<p>If you want to install basic KDE Plasma and want to install packages separately then use this command:<\/p>\n<p>emerge -av kde-plasma\/plasma-desktop<\/p>\n<p>Install some necessary packages:<\/p>\n<p>emerge -av kde-plasma\/kdeplasma-addons kde-apps\/kwalletmanager kde-apps\/dolphin x11-misc\/sddm kde-plasma\/systemsettings kde-plasma\/kscreen kde-plasma\/console<\/p>\n<p>If you want to get KDE full applications bundle then run this command:<\/p>\n<p>emerge -av kde-apps\/kde-apps-meta<\/p>\n<p>Configure the display manager:<\/p>\n<p>nano -w \/etc\/conf.d\/xdm<\/p>\n<p>Change displaymanager line to the following one:<\/p>\n<p>Now run these commands:<\/p>\n<p>rc-update add xdm default<br \/>\nusermod -a -G video sddm<\/p>\n<h4><b>Install VirtualBox Guest Additions in Gentoo<\/b><\/h4>\n<p>Use following commands to get installed virtualbox-guest-additions in Gentoo:<\/p>\n<p>emerge -av app-emulation\/virtualbox-guest-additions<br \/>\ngpasswd -a root vboxguest<br \/>\ngpasswd -a <b><i>username<\/i><\/b> vboxguest<\/p>\n<h4><b>Install VMware Tools in Gentoo<\/b><\/h4>\n<p>Use following commands to get installed VMware Tools (open-vm-tools) in Gentoo:<\/p>\n<p>emerge -av app-emulation\/open-vm-tools<\/p>\n<p>If above command don&#8217;t install open-vm-tools then do following:<\/p>\n<p>emerge &#8211;ask &#8211;autounmask-write app-emulation\/open-vm-tools<br \/>\ndispatch-conf #<b>(Press <u>u<\/u> at open-vm-tools menu)<\/b><br \/>\nemerge -av app-emulation\/open-vm-tools<\/p>\n<p>If above command don&#8217;t install open-vm-tools then do following:<\/p>\n<p>rc-update add vmware-tools default<br \/>\nusermod -a -G vmware <b><i>username<\/i><\/b><br \/>\nusermod -a -G vmware root<\/p>\n<p>Cleanup and reboot:<\/p>\n<p>rm \/usr\/portage\/distfiles\/*<br \/>\nreboot<\/p>\n<p>That&#8217;s it. Hope you had fun installing Gentoo.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-hE7C75uhao8\/W4aM0ONg15I\/AAAAAAAAJC8\/b8jzyx69hzAVpgjTtpNG72IevQWMRBzpQCLcBGAs\/s1600\/gentoo-install.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/\/2.bp.blogspot.com\/-Pnf0jwJPpEg\/VzJxbWzYgCI\/AAAAAAAAHhA\/5WJys7XD_1QFHF-CfEp6Bo7VrVaubN3sgCK4B\/s1600\/nl-logo-1.gif\" \/><\/p>\n<p><a href=\"https:\/\/www.noobslab.com\/2018\/08\/how-to-install-gentoo-linux-cli-and-kde.html\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you may know, most of the Linux distributions are easy to install and you can do by just few clicks. But there are some Linux distributions that first needs to compile then install and Gentoo is one of them. Installing Gentoo on your system or in VirtualBox\/VMware isn&#8217;t easy if you are new to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/20\/how-to-install-gentoo-linux-cli-and-kde-plasma-also-for-virtualbox-and-vmware-noobslab\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Gentoo Linux CLI and KDE Plasma (Also for VirtualBox and VMware) &#8211; NoobsLab&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-983","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=983"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/983\/revisions"}],"predecessor-version":[{"id":1403,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/983\/revisions\/1403"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}