Get yourself acquainted with mock to build rpm

Package management is one the key areas in the world of GNU/Linux system administration. Not only for system administrators but also for normal linux users it is an inevitable part that they need to be aware of in their day to day job. Even though hundreds of linux distros exist around us, number package management systems are very limited (in numbers). dpkg used by Debian with .deb format, RPM created by Red Hat with .rpm format, pacman used in Arch linux, portage by Gentoo etc are some of the popular ones among them. Considering the most used RPM and DEB packages, they both have proven to work flawless. It’s just a matter of personal taste to select one from the other. Here we discuss on how to build RPM based packages for different distros which makes you of .rpm to install softwares. Here is how a rpm package would like:

such as:


where <name> is samba, <version> is 4.2.3, <release> is 1.fc23 and <architecture> is x86_64. <release> part is often a combination of a positive integer with a distribution tag appended at its end. See here for more details.

Read More »

Set up internet connection using PPPoE on Fedora

I don’t know how many of you have heard about this term called “PPPoE” which stands for Point-to-Point-Protocol over Ethernet. Even though this article is not intended to explain in detail about this protocol, in order to have a general understanding let’s go through the common concepts of PPP and PPPoE briefly.

PPPoE as a derivate of PPP
Point-to-Point Protocol (PPP) is a data link protocol used to establish a direct connection between two nodes. It can provide connection authentication, transmission encryption and compression. PPP is also used over internet access connections. Two derivatives of PPP, Point-to-Point Protocol over Ethernet (PPPoE) and Point-to-Point Protocol over ATM (PPPoA) are most commonly used by Internet Service Providers (ISPs) to establish a Digital Subscriber Line (DSL) internet service connection with customers. The Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside ethernet frames.

Establish a PPPoE connection
This would normally require a authenticated DSL connection via phone line, trunk line, optical fibre etc. So I would assume that you have Read More »

Fedora 22 released with GCC5, Kernel 4.0 and more


Now that Fedora 22(f22) has been released officially, we can all run the latest kernel version i.e, v4.0.4 which is present there by default. This particular post is intended to spread some light over the changes during the transition from fedora 21(f21) to 22. The following points are explained from my experience with the latest version after up-gradation. When version 21 was released, I followed the fedup procedure. Since the up-gradation was successful, I decided to do fedup for version 22 too and it doesn’t disappoint me in any aspect. In fact at first attempt it complained about the lack of disk space on my laptop and I had to do a massive clean-up to recover some free space. I wonder why it requires too much of disk space. Post installation steps were really helpful in building the rpm database so that future errors can be avoided.

DNF or YUM: Do they differ?
I would say no for this question because I couldn’t find any major difference. They could have announced that we are renaming yum to dnf. Instead they made dnf as an advanced yum and for an end-user its pretty much the same thing. One important thing to notice here is that its super fast in resolving the dependencies and parallel downloading of packages. I really loved this improvement as it took more time for yum previously. Being said that, dnf is not Read More »