LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Yum vs Apt (https://www.linuxquestions.org/questions/linux-distributions-5/yum-vs-apt-667793/)

sunils1973 09-05-2008 11:44 AM

Yum vs Apt
 
For installing packages Yum repository is to be made on the server
{ createrepo <directory containing rpm files> )

and also client for Yum has to be configured on the client computer

( baseurl )

How these steps are done in debian for apt-get ?

Simon Bridge 09-06-2008 05:29 AM

You install apt-get to the client, and point the sources.list file to the server. There are plenty of tutorials on how to set up a repo in various configurations. eg.

http://www.debian-administration.org/articles/286

sunils1973 09-07-2008 07:09 AM

Quote:

Originally Posted by Simon Bridge (Post 3271349)
You install apt-get to the client, and point the sources.list file to the server. There are plenty of tutorials on how to set up a repo in various configurations. eg.

http://www.debian-administration.org/articles/286

I have gone through the above site.

But it appears it is a very complex process in debian

in redhat very very simple

r3sistance 09-07-2008 07:11 AM

I have had to install debian etch a couple of times on servers and apt-get comes in a pre-configured way when I have done it I believe. The commands are slightly different between apt-get and yum but then Red Hat is different to Debian so not really a surprise. From my experience both applications aren't too different and pretty much do the same things, I wouldn't really say one is harder then the other. Personally I mainly use CentOS tho and as such am much more use to yum.

Simon Bridge 09-11-2008 01:05 AM

@r3sistance: but OP is talking about the repository setup.
@sunils1973: in general, this is true. Deb packages are also more rigidly defined etc. The repos are more flexable than yum repos with many more configuration options. The howto I sent was for a repo with upload support. If you want an automatic repo, then try this. A trivial repo? - try this.

The process you describe sets up a trivial yum repo.

So... what, exactly, do you want to do?


All times are GMT -5. The time now is 01:28 PM.