LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2013, 04:12 PM   #1
Troop116rules
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Is there an Apt-Offline alternative for use with Yum?


I am interested in finding a package or some source code that would allow me functionality like Apt-Offline, but for Yum.

See here for an explanation of what Apt-Offline does, if you don't know.

Google turned up with results that were irrelevant to my question, so I thought I'd ask.

Thanks in advance.

Last edited by Troop116rules; 01-10-2013 at 04:37 PM.
 
Old 01-11-2013, 02:10 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
What I would do is use the repo definition that uses the Install media.
On Centos its /etc/yum.repos.d/CentOS-Media.repo and the content is
Code:
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-6.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c6-media [command]
#  
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c6-media [command]
 
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Obviously you'd have to set enabled=1

Other yum based systems should have an equivalent, or you can just copy this one & amend as required.
 
  


Reply

Tags
yum-repo


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 use Apt-Offline?? Super TWiT Linux - Software 1 01-07-2012 09:21 AM
apt-offline newbiesforever Linux - Software 5 08-14-2011 06:53 PM
How apt-get update offline? bt101 Linux - Software 5 08-11-2010 02:47 PM
Yum/Apt whis is better? yum or apt repos needed coolguy_iiit Linux - Newbie 1 07-31-2006 08:48 AM
is it possible to use APT offline? marta Debian 9 10-23-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration