apt-get installation for Redhat based Linux

apt-get installation for Redhat based Linux

Introduction –  apt-get  is the  APT package handling utility. I am using  apt-get command for  my day to day activities, which is very handy tool on Debian/Ubuntu Linux. Which can be used for installing/updating or removing Debian package (.deb), updating system etc.  So I was thinking  about using  apt-get on Redhat (RPM) based Linux.  is there any way to use it? the answer is Yes!! there is way  to use  apt-get  on Redhat (RPM) based Linux.

root@localhost:~#rpm -ivh http://apt.sw.be/redhat/el4/en/x86_64/dag/RPMS/apt-0.5.15lorg3.2-1.el4.rf.x86_64.rpm

Add following mirror –

root@localhost:~# vi /etc/apt/sorces.list.d/os.list

repomd http://apt.sw.be redhat/el4/en/x86_64/dag/


How to use apt-get –

root@localhost:~# apt-get upgrade

root@localhost:~# apt-get update

root@localhost:~#apt-cache  search  pkg_name

root@localhost:~#apt-get  install  pkg_name

root@localhost:~#apt-get  remove  pkg_name

Ravi Bhure

Similar Posts:

One Reply to “apt-get installation for Redhat based Linux”

Leave a Reply

Your email address will not be published. Required fields are marked *