{"id":3057,"date":"2016-01-14T14:26:54","date_gmt":"2016-01-14T10:26:54","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=3057"},"modified":"2017-04-16T21:56:35","modified_gmt":"2017-04-16T17:56:35","slug":"arch-linux-with-kde","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2016\/arch-linux-with-kde\/","title":{"rendered":"Arch Linux with KDE"},"content":{"rendered":"<p>It was a long time dream to set up Arch Linux. After 5 years of using Ubuntu, Kubuntu, Debian Servers that I managed to learn enough to be able to try Arch Linux. As the rumours say, the latter is not for the faint heart. Just copy pasting Arch Linux beginner&#8217;s installation guide won&#8217;t make it happen.<\/p>\n<h2>The beginner&#8217;s installation guide<\/h2>\n<p>Arch has a <a href=\"https:\/\/wiki.archlinux.org\/index.php\/beginners'_guide\">beginner&#8217;s guide<\/a> which I tried to follow. It all seemed to work perfectly until I rebooted the laptop. The UEFI bootloader was loaded but Arch was not starting.<\/p>\n<p>I retried but this time following a YouTube tutorial. And it worked with some minor modifications. As I said, you need to understand what you&#8217;re doing. Following any guide blindly will not guarantee success.<\/p>\n<p><iframe loading=\"lazy\" title=\"2015 Arch Linux EFI Install Guide Part 2 - Installing Arch and Making it Boot\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/joStuQmvHmE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2>WiFi<\/h2>\n<p>I was very much surprised at how easy it was to connect the Live Distro from USB to WiFi.<\/p>\n<blockquote><p># wifi-menu<\/p><\/blockquote>\n<p><a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080132.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080132.png\" alt=\"wifi-menu\" width=\"384\" height=\"323\" class=\"aligncenter size-full wp-image-3063\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080132.png 384w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080132-300x252.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/a><\/p>\n<p>And just followed the dialogue box. Entered the WiFi password and there you go! But once you installed the OS on your drive, you gotta install<br \/>\n&#8220;dialog&#8221;  and &#8220;wpa_supplicant&#8221; package. To do so, I live booted with the Arch USB. Once the command prompt opened<\/p>\n<blockquote><p># wifi-menu \/\/ Connect to wifi<br \/>\n# mount \/dev\/sda2 \/mnt<br \/>\n# arch-chroot \/mnt \/bin\/bash<br \/>\n# pacman -S dialog wpa_supplicant<br \/>\n# exit<br \/>\n# reboot<\/p><\/blockquote>\n<p>When you reboot, you&#8217;ll be able to run wifi-menu locally. What I did above was use the Live USB as OS, connect to WiFi then make it believe that the filesystem it is currently working on has changed to \/mnt which is pointing to \/dev\/sda2. Might seem confusing at first but with experience, it&#8217;ll become natural \ud83d\ude09<\/p>\n<p>&nbsp;<\/p>\n<h2>Pacman<\/h2>\n<p><a href=\"https:\/\/wiki.archlinux.org\/index.php\/pacman\">pacman<\/a> is the package manager. On Ubuntu and Debian, we know the famous apt-get and openSUSE&#8217;s <a href=\"http:\/\/doc.opensuse.org\/documentation\/html\/openSUSE_114\/opensuse-reference\/cha.sw_cl.html\">zypper<\/a>.<\/p>\n<blockquote><p># apt-get install package<br \/>\n# pacman -S package<\/p>\n<p># apt-get remove package<br \/>\n# pacman -R package<\/p>\n<p># apt-get autoremove package<br \/>\n# pacman -Rs package<\/p>\n<p># apt-get update &amp;&amp; apt-get dist-upgrade<br \/>\n# pacman -Syu<\/p><\/blockquote>\n<p>apt-get is much easier and verbose for the newcomers.<\/p>\n<h2>GUI<\/h2>\n<p>By default, you get only a command prompt when installed. I forgot which commands I ran to get KDE up and running.<\/p>\n<p><a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535-1024x576.png\" alt=\"Screenshot_20160114_080535\" width=\"640\" height=\"360\" class=\"aligncenter size-large wp-image-3064\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535-1024x576.png 1024w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535-300x169.png 300w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535-1272x715.png 1272w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2016\/01\/Screenshot_20160114_080535.png 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<blockquote><p># pacman -S xorg sddm plasma<\/p><\/blockquote>\n<p>That&#8217;s it for this blog post. Do try Arch in a VM or a test laptop ONLY if you&#8217;re beginner like me. Partitioning is done in CLI and can result is screwing your whole Hard Drive.<\/p>\n<p>Happy learning \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It was a long time dream to set up Arch Linux. After 5 years of using Ubuntu, Kubuntu, Debian Servers that I managed to learn enough to be able to try Arch Linux. As the rumours say, the latter is not for the faint heart. Just copy pasting Arch Linux beginner&#8217;s installation guide won&#8217;t make &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2016\/arch-linux-with-kde\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">Arch Linux with KDE<\/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":[210],"tags":[61],"class_list":["post-3057","post","type-post","status-publish","format-standard","hentry","category-technology","tag-linux"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/3057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=3057"}],"version-history":[{"count":13,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/3057\/revisions"}],"predecessor-version":[{"id":3073,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/3057\/revisions\/3073"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=3057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=3057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=3057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}