Jun
30
Posted on 30-06-2008
Filed Under (UNIX/Linux) by Ravi Bhure

Introductionapt-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/

root@localhost:~#

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

Thanks
Ravi Bhure

    Read More   

Comments

Riyas on 2 July, 2008 at 6:48 pm #

Good thing ,,,, Keep updating….


Post a Comment
Name:
Email:
Website:
Comments:

www.flickr.com
arunbagul's photos More of arunbagul's photos