LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 09-05-2008, 11:44 AM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Rep: Reputation: 30
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 ?
 
Old 09-06-2008, 05:29 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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
 
Old 09-07-2008, 07:09 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Simon Bridge View Post
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
 
Old 09-07-2008, 07:11 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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.

Last edited by r3sistance; 09-07-2008 at 07:13 AM.
 
Old 09-11-2008, 01:05 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
@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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum vs. apt-get SlowCoder Linux - Newbie 4 05-21-2007 01:24 AM
Yum/Apt whis is better? yum or apt repos needed coolguy_iiit Linux - Newbie 1 07-31-2006 08:48 AM
yum vs apt-get eranb2 Red Hat 1 02-25-2005 01:11 PM
YUM vs APT-GET prismra Linux - Newbie 12 06-30-2004 03:00 PM
apt -yum ronss Fedora 6 11-11-2003 07:14 AM


All times are GMT -5. The time now is 04:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration