LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-12-2010, 01:42 AM   #1
chipperfield
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Question How to create a local repository?


hi..im very newbie in linux. i need your help. how to make a local repository from dvd.?
 
Old 04-12-2010, 01:49 AM   #2
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Welcome to LQ !!

A meaningful subject line will help you get more answers!!
 
Old 04-12-2010, 01:50 AM   #3
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,562

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
As the name of the website is Linux Questions, then it would be obvious that everyone is seeking help,
therefore "help me" as a question is rather pointless, try to be more specific.

As to your actual question:
Quote:
how to make a local repository from dvd
What have you tried?
What searching have you done?
What tool are you using?
When you say "local repository" are you referring to a copy on your hard drive, a svn repository, rsync, other???
 
Old 04-12-2010, 03:33 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,939

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
Suggest : May be tell, which Linux you are using, like
Slackware 13 , CentOS 5.4 , Ubuntu 9.10 , etc. etc.

http://www.linuxquestions.org/linux/...Ask_a_Question

.....
 
Old 04-12-2010, 03:39 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
For knowing the Linux distribution you are using, type the following in your terminal (Mind the spaces in the following command) and post the output here:
Code:
uname -a && cat /etc/*release
 
Old 04-12-2010, 11:13 AM   #6
omfgitsbk
LQ Newbie
 
Registered: Apr 2010
Distribution: rhel, fedora, ubuntu
Posts: 6

Rep: Reputation: 1
i had to recently do this, you can probably change these instructions to fit your needs.
if you are using something rhel based, else some quick googlin usually gives me instructions for what i need.

http://www.howtoforge.com/setting-up...sitory-fedora8
 
Old 04-14-2010, 12:04 AM   #7
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
Quote:
Originally Posted by chipperfield View Post
hi..im very newbie in linux. i need your help. how to make a local repository from dvd.?
Hi Chipperfield.Create a repo file under /etc/yum.repos.d/your_repo_name.repo and make the following entry.


[My_RPM]
name=CENTOS 5.3
baseurl=file:///PATH_TO_YOUR_PACKAGE_IN_DVD/
enabled=1
gpgchk=no

Make sure that repodata folder exists in the media.(It should be there,If at all you want to create a a local repository go through this link

http://www.linuxquestions.org/questi...centos-744721/


Cheers,
Fizeen
 
  


Reply

Tags
repository


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
How to create Local YUM Repository? your_shadow03 Linux - Server 9 04-01-2012 10:25 AM
LXer: Create Your Own Local Ubuntu Repository LXer Syndicated Linux News 0 01-21-2010 09:30 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
Faluire to create local repository JackieBrown Debian 1 08-22-2006 06:39 PM
how to create a local apt repository bakwas_internet Fedora 3 01-19-2004 02:14 AM


All times are GMT -5. The time now is 03:11 AM.

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