Differences between Ubuntu and Redhat Linux

magnet December 3rd, 2008

The following Blog is a short summary on Redhat and ubuntu and some differences between them, we have also provided a some commands and file names on how to configure network in RedHat PCs and in Ubuntu PCs, so you could understand that configuring network in both of them is different.


 

Red Hat Enterprise Linux is not free, and its also used for business.Red Hat Linux, assembled by the company Red Hat, was a popular Linux based operating system.
Red Hat Linux 1.0 was released on November 3, 1994. It was originally called “Red Hat Commercial Linux”[2] It is the first Linux distribution to use the packaging system, the RPM Package Manager as its packaging format, and over time has served as the starting point for several other distributions, such as Mandriva Linux and Yellow Dog Linux.


Red Hat’s Features:
Red Hat Linux introduced a graphical installer called Anaconda, intended to be easy to use for novices, and which has since been adopted by some other Linux distributions. It also introduced a built-in tool called Lokkit for configuring the firewall capabilities.

 It uses .rpm package called Red Hat Package Manager.

Definition rpm: The RPM Package Manager (RPM) is a powerful command linedriven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package like its version, a description, etc.

 

Now What is yum? yum, also called Yellow dog Updater Modified, is a Linux utility which is use to install RPM packages/Binary Files (.rpm files). You can use yum with the following options.

 

Installing packages(.rpm):- To install any .rpm packages follow these command.

# yum install packagename

  # rpm -ivh packagename.rpm

 

Networking

etworking Files are that files by which system get connected in the Network.

By editing these files system will be get connected in Network.

 To set IP Address

# system-config-network

  or in the below file:

# cat /etc/sysconfig/network-scipts/ifcfg-eth0

To set gateway

# system-config-network

or in the below file:

# cat /etc/sysconfig/network

To set DNS

 #cat /etc/resolv.conf

To set hostname

# hostname yourcomputerName

# cat /etc/sysconfig/network

 

Booting Files

 

# cat /boot/grub/grub.confAbout grub.conf :- Grub Conf is a Gnome2 based GRUB configuration editor. It provides an easy to use interface allowing effortless modification of OS’s and the flexibility to configure the most obscure options. Designed to require minimal user interaction while providing tools for the most adventurous user.

To see the version of Operating System:

# cat /etc/redhat-release

To on services permanently:

# chkconfig servicename on

                                                                 Ubuntu Ubuntu is an operating system, like windows.Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular releases (every six months), a clear focus on the user and usability (it should “Just Work”, TM) and a commitment to security updates with 18 months of support for every release. Ubuntu ships with the latest Gnome release as well as a selection of server and desktop software that makes for a comfortable desktop experience off a single installation CD.

Ubuntu uses the.deb apt package:- Ubuntu uses .deb package for package installation as like .rpm of Red Hat.

Ubuntu also uses apt-get package installer to install packages by using command mode.
To install package Graphically, synaptic package manager.

Installing Packages (.deb)

# apt-get install packagename

# dpkg -i packagename.deb

To install packages Graphically by synaptic:

System -> Administrator -> Synaptic Package Manager

Networking

Some files to get connected system in Network.To set IP Address & Gatway

# cat /etc/network/interfaces

To set DNS

# cat /etc/resolv.conf

To set hostname

# cat /etc/hostname

Powered by ScribeFire.

4 Responses to “Differences between Ubuntu and Redhat Linux”

  1. JPon 04 Dec 2008 at 7:19 am

    Short, in this case, is a misnomer. This entry talks of one difference only and not very well either.

    You see RPM is lacking a lot of the advanced features that the DEB format requires. For starters, there are no specific repositories that are all inclusive in the RPM world as their is in Ubuntu. MOST of the packages that are in use are packaged in one of the 3 primary repositories, Main, Universe, and Multiverse.

    RH users do not enjoy this capability. In order to satisfy dependencies you have to add 3rd party repositories.

    Also the DEB packaging has a much better dependency satisfaction layout compared with RPM. I have yet to come across a package that required a dependency that could not be satisfied using Ubuntu.

    IMHO, the DEB packaging format is far superior and far easier to manage than that of RPM, but this is only ONE of MANY differences that set Ubuntu well ahead of RH in a number of areas. That is why Ubuntu enjoys being the top-rated distribution and has enjoyed that distinction for well over four years now.

  2. Thomas Cameronon 05 Dec 2008 at 9:01 am

    Hey -

    Just a couple of FYIs:

    It’s “Red Hat” (two words) not “Redhat.”

    Red Hat Enterprise Linux is Free as in Free Software - 100% of the software in Red Hat Enterprise Linux is Open Source. Red Hat does charge for support, updates and the like, but please don’t confuse cost with freedom. There are restrictions on some of the copyrighted materials in the distro, but this is because under US law if you don’t protect your copyright you can lose it.

    Red Hat has not included lokkit since about 2001. Modern versions of Red Hat Enterprise Linux use system-config-securitylevel and future versions will likely use system-config-firewall.

    Comparing Red Hat Enterprise Linux to Ubuntu is really an apples and oranges comparison. Red Hat Enterprise Linux is designed for large enterprise customers who want a very stable distribution with a low rate of change. It is not realistic for enterprise customers to upgrade systems every 6 months. For a more accurate comparison, you might include information about Red Hat’s cutting-edge community distribution, Fedora. It’s a very cool distro, very rapid rate of innovation, tons of very cool features, etc. http://fedoraproject.org

    Thanks!
    Thomas

  3. magneton 06 Dec 2008 at 11:36 pm

    Hi JP,

    Thanks for your comments. :)

    This entry is meant towards beginners who don’t know what’s the difference between both Ubuntu & Red hat. We haven’t really covered much, after all, it’s a blog & not a book :)

    And yes, DEB is far more superior than RPM for sure. The sheer flexibility & ease which DEB packages allow, is not there in RPM. I have myself been through the experience of RPMs first & then DEB. :)

    :Vishal

  4. magneton 06 Dec 2008 at 11:43 pm

    Hi Thomas,

    You are right, next post could be about Fedora & Ubuntu rather than Red hat. :)

    :Vishal

Trackback URI | Comments RSS

Leave a Reply