Hello and welcome to AryaLinux...
In this video I am going to show you how to build AryaLinux from Source code...
You need to download the AryaLinux Builder ISO first from aryalinux.org/downloads and burn it to a DVD or write to a pen-drive using dd or unetbotin and boot into it..
One you boot into the Builder DVD/pen drive. This is the desktop you are going to see...
So let's get started... :-)
Keep the version as 2016.04 - This is because the alps package manager uses this version to get build scripts from online sources...
Say yes when asked if you want to build using multiple processors. It helps speed the whole process almost x2... In case you have a slow machine and less ram, type n here...
If I say y here, the process of formatting would start and the partitions I mentioned earlier would be formatted. You cannot recover the data back from those partitions. Say y here if you are absolutely sure. In case you are not, Enter Ctrl + C and end the script here...
This would build the toolchain. The toolchain is a set of tools that is used to build the rest of the system. Let's note the start time in a separate tab ...
You can get the list of the items that would be built in this process by going to:
linuxfromscratch.org/lfs and reading the LFS systemd book
See.. The script would pause in between to untar the source tarballs, That is when you can notice which component got built. In case you want to have a better look at things as they are built.. Open another terminal and type:
tail -f /sources/build-log
This would only work after the first component is built. So wait for about 4-5 mins before you enter this command...
Let's leave it to itself. Would get back when the toolchain is built...
Welcome back...
Toolchain is done...
Enter exit to continue...
Now enter resume...
Now enter ./3.sh...
This would take a while.. Lets Wait...
Oops got a bit late. Lets note the time...
Enter exit once..
And then exit again...
Now run ./4.sh...
Hold on first do
cd /sources
and then run ./4.sh :-)
Let's wait...
Oops! Kernel is still building... Not too long though...
This kernel is building on a generic config. Which has a lot of drivers enabled mostly as modules. This is so that most systems would run without hardware problems on this kernel.
In case you want a lighter kernel, you need to rebuild the kernel with the following make command:
make defconfig
make
Let's wait till the kernel compilation ends...
Kernel build and install just got over..
That's dracut running to create the initrd..
Few more things to enable grub-mkconfig to find other OSs on this computer...
That is grub-mkconfig running...
Now a few more things and we would be done with the basic desktop...
This is busybox.. Needed in case you want to create Live DVD/CDs of your Linux..
This is openssl.. Wget would need it when alps calls wget to download tarballs from https websites...
Then the Certificate Authority files.. p11-kit, libtasn, wget and finally alps..
Once alps is done, We would be asked for the root and user password...
Let's wait... :-)
Oh I forgot, even python would be thrown in.. and gnutls as well.. Dependencies of wget :-(
Tada!!! and we are done...
Lets note the time..
Now lets enter the passwords. Need to be careful.. They are not visible ;-)
And we are done.. I'm gonna reboot to log into my brand new AryaLinux :-D
But that would stop the video :-( Anyways I would create another one to show you how to get X-Server and Mate Desktop Environment up....
Till then.. Bye...
And go shoot some wallpapers, we would need some once Mate Desktop is up....
C Ya!!
Toolchain:
-------------------
Start Time: 19:24
End Time: 20:17
-------------------
53 mins
Base System:
-------------------
Start time: 20:18
End time: 21:23
-------------------
65 mins
Kernel and other packages
-------------------
Start time: 21:25
End time: 22:21
-------------------
56 mins
total: 174 mins (2 hours 54 mins), 3 hrs approx..
This is 32 bit.. Building 64 bit takes lesser time...