 Hello, I'm Denshi. Now, if you watch my channel, you probably know about Manjaro Linux. It's essentially just Arch Linux, but with more stable repositories and such. And many people who don't like Manjaro go out there and say, Oh, it's bloated. The only reason they say that is because the Calamari's installer, which comes with the graphical versions like the versions of Manjaro, the ISOs that come with desktop environments, basically just installs a bunch of stuff that they decide. If you've ever installed Arch, you know the benefits of custom installing everything. Of sitting there and choosing what packages you want, you know, base, all that stuff and doing all that. And essentially, Manjaro being Arch has that option. People don't know about it. I don't know why people rarely mention this. Mostly because when people become Manjaro power users, they just switch to Arch. But the thing is you can install Manjaro the command line interface way if you wish to. Which is what I'm going over in this video. How to install Manjaro like Arch. So you get a minimal install. It's slightly more bloated than like Arch, but only a little bit. Not too bloated. It's basically the same thing. And you get the more stable repositories and just get all the benefits of running Manjaro, but with all the benefits of running Arch. So the minimalist system and the custom install using this method, the command line interface. I'm not talking about art architect. Although we'll be using the architect ISO, which lets you access the command line by default. We're not going to be using the setup program, which actually is like a little text user interface. So like as you move your hours up and down, press enter and like select all the stuff in like a little interface as if it was a graphical interface. But that's not what we're doing. We're typing everything in and we're doing it the Arch way. There's a great guide over here. This one, how to install Manjaro using CLI only written by Linux Arhaz or Arhaz. A computer veteran coders is having DevSecOps. So that's great. And we'll be using this guide to essentially do all of this. Anyway, we'll be looking at this later. But the first thing you want to do is go here and scroll down on the download page. So here's XFCE, KDE and GTK like GNOME desktop environments of Manjaro. And you can find the architect installer, which comes with the text, the TUI. But you only access that by typing in a command. This is essentially, think of this as the Arch ISO. You get a command line interface. The only thing is that when it boots up, it asks you to log in instead of automatically logging in. And then it has this little like NeoFetch icon thingy. So that's kind of cute. But anyway, that's literally all it really is. Get architect and you download it, you'll flash it onto USB and you boot it to your system and boom, you end up with this. You boot up your system and you're here. So this is a UEFI virtual machine. I'll be setting my driver to non-free just to be sure. I'll be, if you've ever installed Manjaro, you know to do that. If you have some weird hardware, if you have weird hardware, then do that as well. But you shouldn't really have to worry about this because I'll be basically doing everything here. Everything I'm doing here is going to be for people who installed Arch before. You got to understand this kind of stuff before you get into command line interface install. So press enter on here, boot. And as you can see, it's going to boot you into the actual Manjaro architect ISO. There's the virtual box logo, little UEFI thing. And there you go. It's booting up into the actual system and we're almost there. There we are. And there's the interface. Just fine. Just a couple of seconds away. There we are. Anyway, so the log in, you're going to have to type in Manjaro and then Manjaro is the password. We're going to do sudo su. So we're in the super user control L to clear the screen. And we're now basically, basically have a Manjaro system up and running like as if it was an Arch ISO. So a command line interface system. So we'll be basically referencing this guide throughout the entire video because it's a great guide. Although it will be altering various things of it. Like for example, the first thing it asks you to do is to change your keyboard and stuff. That might be important actually. Load keys and that will do IT because I have the Italian keyboards. If you have something else, type in something else. System CDL enable. So this is just a little daemon called system D time sync D, which essentially just this little daemon essentially just makes your time sync. You're going to need that if you're going to install packages or do anything internet, which is kind of a part to this install. In terms of mirrors, we might want to go to the Manjaro mirrors pack man mirrors guide, which is this one. And the pack man mirrors guide will have to verify everything we do. But this pack man mirror guide essentially just lets you gives you these commands that you can run to help manage your mirrors. And the pack man mirrors command in of it itself is exclusive to Manjaro pack man mirrors. And I'll do minus minus fast track five run that and it will essentially go to five different countries to five main countries that I think I think it's I think it's five random country. I'm not sure. I think there is some kind of list that it uses, but it's essentially going to go through those countries and choose the fastest ones just basically just make a database of the mirrors to use. We can test this out by doing pack man minus s. For example, let's say we want to install Vim or something. I don't know. S, Y, well, we're going to have to update a couple of things later, but an example would be I don't want to install like Vim. For example, there I go Vim. It's going to download the database to see it's pretty quick and we're going to cancel. As you can see it downloaded the database is quite quick. I mean, look at the community one. That's 20 megabytes per second. We can basically be assured that these mirrors are quite fast. So noted both of these because we'll be doing a different thing now. We're going to update our key rings. The reason we have to update our key rings is because we need updated key rings. The other pack man will automatically ask you to do that. But we're going to have to, it's better to actually do it manually so you actually understand. If you're having issues installing packages, it's probably because you're going to do this and you're running on an old ISO. As I did before, I was kind of confused the first time and then I remembered, you know, I've got to update the key rings. But that was an arch install that I'm going to install. Anyway, so as you can see we're updating the key rings. You know, it will just update them. There we are. Sailing keys, automatic press enter. Every time it prompts you or it's type wire better, but enter is sufficient. Control L to clear all this stuff on the screen. And now we can skip the trust database. We don't really need that because this is a relatively new ISO. We don't have to worry about all that kind of stuff. And now it's partitioning time. CF disk. And as you can see, we're already, we have no partitions here, free space. 8 gigabytes of free space is just a little drive to demonstrate how small things can really get in Manjaro. So I'm going to create a new partition. It's going to be 300, well actually, yeah, 300 megabytes, right? And a primary partition. And then I'm going to go here and create a new partition, 7.7 gigabytes, primary partition. And then I'm going to write all of this. We'll make this bootable. Go to bootable flag. And then write all of this. Yes. There we are. Now we'll quit this. Control L. And now what we want to do is format everything. So by default, when you make those partitions, they're formatted to EXT4. But we'll be doing that again anyway. MKFS.FAT, that's the Microsoft one. Minus F32. Dev SDA1. Because if we do LSPLK, you'll notice Dev SDA1 is the 300 megabyte one. So that's .FAT minus F32 turns it to FAT32, which is required for a UEFI system. MKFS.EXT4, we're going to do that to Dev SDA2. That's our root. I was already messing around with that. You won't get that prompt when you do it. Or you might, I don't know if you already have something on it. Anyway, so that's formatted now. We can basically go through here and we're going to have to create a directory. So we'll have to mount, first of all, Dev SDA2 slash MNT, that will be our mount point. MK directory, so make a directory MNTboot and EFI. So wait a second, first I'll make MNTboot and then MNTboot EFI. Whoops. And then we'll mount Dev SDA1 to MNTboot EFI. Enter. There we go. That's done. So we've essentially LSPLK, we've mounted our SDA2 to slash MNT, that's our root. And we've mounted SDA1, so that would be our bootloader to slash MNTboot EFI. So now we have that bootloader loaded there. Not the bootloader, like the bootloader partition, the UEFI partition. Anyway, base installation. This is the big boy part. This is where we actually install things. So base strat, that's the command to install packages to Manjaro from Europe. So it actually installed a base system from a remote ISO, from an ISO like through a USB stick or a DVD or something. Base strat, not pack strat. We're going to be installing base. I want base devil because that comes with commands like sudo and stuff. I could install sudo individually for less bloated system, but base devil, you kind of need everything in base devil to actually use the AUR. So yeah, we're going to keep that. Linux, whatever the latest kernel, sorry, I didn't put a space. Linux 5.6 is currently the latest, quote-unquote, sort of like stable kernel at the moment. So I'll be installing that. Obviously, if you're watching this game in the future, use, I don't know, 5.7 or 5.8 or 5.9 or I don't know, 60 or whatever you have in the future. But 5.7, sorry, 5.6 is the one that I'm going to be installing today. Network manager, I'll go over what network manager does later. But basically, we're not going to be installing DHCP DHCPCD because DHCPCD is only really for wired connections. And network manager makes that stuff much easier. We're going to need grub, making it CPIO. I'm installing this, but I'm also going to be making an FSTAP as well. If I boot MGR, and I'm also going to be installing VIM. I'm going to need that. And that's it. Now, if you want to install a graphical user interface, you might want to install like XORG and that XORG and XORG server and all that kind of stuff. But I'm not going to be installing that here, mostly because I'll go over desktop environments and stuff later at a different part of the installation. So press Enter now and it will install all that stuff. So now we basically just wait for it to install. It will take a little bit of time. It will download them and then it will install them. And it's just going to take a little bit of time. Okay. So as you can see, this is now complete and all the everything is just downloaded and everything. All that's done. We've basically installed our actual system. So now we have to move to our system. So menjaro chroot. So access that system slash mnt slash bin bash. That's because we're going to be using bash to access our system. There you go. And we're now in menjaro, the actual, you know, what we actually installed. We're in our root directory. We're going to want to edit a couple of things. So for example, console keyboard to set the keyboard in the console. We can do that. That's not necessary. And everything's already like set. We can, we can set that later once we actually get to the install system, but I'll run through it anyway. So I'll be using Vim for this. Vim at cvconsole.conf enter and I'll set our key map to Italy because that's what I use. Right quit. Control L. And now we'll go to etsylocal.gen. So vim etsylocal.gen. We'll scroll down all the way. And then you'll reach and, well, I'm going to be using NUS because the United States is what I use as a language, but you can choose any of these. That one. Sorry, that's the wrong one. Whoops. Wait a second. That's, this is the right, this is the right one. I was supposed to, there you go. That one. Right quit. Now we'll generate it. Locale will actually generate the locale and it's going to generate. There we go. It's done. So now we'll go to locale.conf. So vim etsylocal.conf. And as you can see, it's already set our language and everything. So we don't really have to worry about that. Okay. So now this is all time zone and stuff. So for me in my case, so lnsf user share zone info. And then for me, it's Iran. And that's going to go to etsylocaltime, which is the file that contains that. Control L. Now we'll set our hardware clock. This is the same as you would do on Arch. I'm going to say this is UTC if you want, I don't know. Oh, sorry, HWD clock. Whoops, HWD clock. Wait a second. I rolled that command wrong. Whoops. Enter. There we go. That's done. Now we have to set our actual system. So echo, I'll set my name to like Denshi Linux. There we go. Same as system. And I'll essentially pipe that. I'll pipe it, but send it over to etsyhostname. So that file will contain the word Denshi Linux, essentially telling everybody that. Our system's name is Denshi Linux. Now host configuration. We don't have to worry about this because we're going to system CTL enable, which we installed before. Net with a capital and remember network manager. Network manager does everything for us in terms of networks. Now editor equals VIM because I'm using VIM V sudo. This is the sudoers file. This essentially controls the permissions for sudoers. And we're going to edit here is there's this wheel thing. Wheel all equals all no password colon all. Uncommenting this essentially makes it so. Sorry, that's sorry. Whoops. That's the wrong one. Sorry. This one. Uncommenting that makes it so we can run the sudo command as a regular user part of the wheel group and essentially be able to execute commands as a super user and not have it reported basically. So actually, actually make the sudo command work instead of not work. Anyway, network stuff. We already done that. You might want to actually enable that though. System CTL enable. System D time sync. There you go. So you've enabled that daemon that syncs our time. Now we'll set our root password and then we'll go over creating a user as well, which isn't detailed in this guide. But password, I'll set that to like, I don't know, just the number one. There you go. That's the password for our root account, not exactly secure. Not what I would use, but you know, it's just an example. Set it to whatever you want. Now we'll create a user. So user add minus M minus G. So that's groups wheel. Remember that. That's important because the wheel group lets us actually want commands and our shell is going to be set to bin bash. Want our shell to be bin bash. So that's bash. Let's enter. Oh, whoops. I think that's the incorrect. Yeah, create home. Yeah, I wrote, I forgot to write a name. Sorry. Alex. That's the name of a person user. Actually, you know, Denchi. There you go. Enter. There you go. Now that worked. I just forgot to put a name at the end of the command and it failed. So Denchi. That's the correct user. Anyway, now we'll do password Denchi. So that's the name of my user. I'll set my password to something very secure. Anyway, so that's done now. Now we'll generate our grub. So grub and so we'll actually or all we'll make in it. CPIO minus P Linux five, six, or we could just do capital P. If you wish that will automatically do stuff. There we go. And that essentially is like sort of like an fstab. We'll make an fstab anyway. So yeah, it's doing all this stuff. I'll make an fstab as well just because I feel like it. So the command isn't gen fstab in Majaro. It's fstab gen actually, which is weird fstab gen. And we set our, we basically make sure it's u slash mnt. So that's actually what we're making the fstab for. And that's going to go to slash mnt slash fc fstab. Oh, wait, whoops. We're doing this from the outer system. Oh, we can worry about that later. We have to exit and do that command. I'm so dumb. Sorry. I messed that up. Grub install minus minus target equals an x86 processor 64 bit. Sorry, no 64 bit. EFI because we're using EFI. Sorry. EFI minus minus EFI directory is boot EFI who made that before. And boot loader ID is equal to grub. It will show that. No, Manjaro. Okay. Well, I could always call it grub if I wanted to. I'll call it Manjaro because I feel like it. Anyway, it's going to install. No errors reported. There we go. It worked. Anyway, now we have to actually configure grub. So grub.mkconfig minus o slash boot grub grub.cfgfoom. So that's going to do that. Now we can exit. We can always make our fstab. So fstab gen minus u slash mnt slash mnt at c fstab. Sorry. We have to pipe it to that. I have to send it to that. Not pipe it. Did you get the idea? We generated our fstab basically. It's not gen fstab. Just a reminder, gen fstab isn't a command in Manjaro. It's fstab gen. Anyway, now that we're done with that, we've basically installed our system. But we might want to actually go back into the system that we installed because you might want to add some things. So assuming you're kind of new to this whole custom install thing, like you might have installed Arch a couple of times, then you might not know how to handle things once you've installed stuff. Now all we've basically done here is installed the command line interface. If I restart, we'll essentially be greeted with the same thing that we're seeing now, but we're going to be in our system. And we're not going to have any kind of UI or anything. So if I, let's give the example of, I don't know, I want to install XFC or no, KDE, KDE, my favorite desktop environment, KDE. I want to install KDE. Now this gets, we can just do this from here. We're going to run Pacman minus SYU. Well actually minus, we've already done that. So minus S, we're going to want to install SDDM. So that's our display desktop manager. Basically that says like login into our desktop environment. We're going to install Plasma desktop, which is the bare minimum desktop. We're going to install console, which is the actual console, you know, the terminal, the terminal emulator that you get in KDE. And you might actually want to install some other things, like for example, I don't know, Firefox, but we won't install it. We don't really need that. So that's all we really need to run Plasma. You might want to install something like, I don't know, some extra stuff like Dolphin. That's the file manager. That's kind of useful. You might want to install something like, I don't know, anything, anything else, but all of this can be done from console. As long as you have Plasma desktop, SDDM and console, you should be fine. And that's all we're really going to need. Okay. Anyway, you can just press enter on all of these default one and it's going to install its 1.4 gigabytes. It's sort of big, but we're just going to let this run and it's going to install KDE. And then I'll run you through enabling SDDM and showing you how to do all that stuff. So this will automatically install XORC and stuff. So you don't have to worry about installing XORC. So that's always great. Okay. So as you can see, that's done installing now all system, CTL, enable, SDDM, you're going to have to do that. So you actually get the desktop manager enabled when you reboot and now we're going to exit from our change route and we're going to reboot. And I'm also going to unplug the actual ISO as soon as we do that. So reboot and go to devices and unplug the ISO. There we go. For some amount. There we are. It's loading up. And so you'll notice that it's slowly loading things. So that's the F-stab right there. Dev SDA2, all that stuff. And here we are in our SDDM. So that was essentially a Manjarra. So I'll just prove that it's Manjarra by running a Neo Fetch command. It's loading up Plasma right there. I can set up a bunch of virtual box stuff to make it no big. But anyway, I'll open up a console real quick here, which we installed before, if you remember. And I'll just pseudo pack man minus S. Sorry, we haven't set the keyboard correctly. Neo Fetch. Insert my password. As you can see, my super user privileges work because I set that up. And we run Neo Fetch. And as you can see, we're on Manjarra Linux. How much space are we taking up? I think, wait a second, I think Dolphin got pre-installed so we can check that. We're 3.2 gigabytes free of 7.7 gigabytes. So that's sort of, we're looking at around, with those 3.2 gigabytes free, around 4.5 gigabytes of install size, which is kind of really crazy small when you think about it. Now, obviously you're going to get crazy large when you try to install other things. But this is a bare Manjarra install. 4.5 gigabytes, everything. So thanks for watching my video. This was quite a long one obviously. I hope you enjoyed. And if you feel like it, go through this. I know there's a couple of issues with this stuff because people forget to install packages and they mess things up and such. But it's a very, very, it's a perfectly respectable way of installing Manjarra and it gets you a really bare bone system. It's a really good way to install Manjarra. And so yeah, thanks for watching this video and goodbye.