LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-27-2007, 04:03 PM   #1
nmansour
Member
 
Registered: Sep 2006
Location: Chicago
Distribution: Ubuntu 8.04 - Fedora 9 on an AMD 64bit Machine
Posts: 101

Rep: Reputation: 15
making a repo file for Yum


Hi,

I use Fedora on my ADM Athlon Machine (x86_64).
to be able to ssh to my work, I use a kerberozied version of ssh from "Scientific Linux Fermi" which is Basically RHEL5.
On usual 32bit machines, I have the .repo files with which I can add the files I need (openssh, open-clients, open-askpass, krb5-libs, krbafs, and some others) It is easy to do it because dependency is checked automatically.
On the new machine, I can not do that as I do not have the .repo file. I want to write it, so I can add the packages I want to my machine.
How may I do that (in steps if possible)?
The URLs for the SLF is:
ftp://linux1.fnal.gov/linux/slf5rolling/x86_64, and
ftp://linux.fnal.gov/linux/slf5rolling/x86_64

Thanks,

Noha
 
Old 08-29-2007, 04:06 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Install the yum-conf-5x-1-3.SL.noarch.rpm package;
Code:
$ rpm -qlip yum-conf-5x-1-3.SL.noarch.rpm
Name        : yum-conf-5x                  Relocations: (not relocatable)
Version     : 1                                 Vendor: Scientific Linux
Release     : 3.SL                          Build Date: Fri 27 Apr 2007 02:53:29 PM EDT
Install Date: (not installed)               Build Host: norob.fnal.gov
Group       : System Environment/Base       Source RPM: yum-conf-5x-1-3.SL.src.rpm
Size        : 3493                             License: GPL
Signature   : DSA/SHA1, Fri 27 Apr 2007 02:53:55 PM EDT, Key ID da6ad00882fd17b2
URL         : http://www.dulug.duke.edu/yum/
Summary     : RPM installer/updater config files
Description :
Configuration files to setup yum.conf and various repositories
Yum-conf-45 will only point to the release in 4x, which is always the
current stable release.
/etc/yum.conf
/etc/yum.repos.d
/etc/yum.repos.d/atrpms.repo
/etc/yum.repos.d/dag.repo
/etc/yum.repos.d/flash.repo
/etc/yum.repos.d/sl-debuginfo.repo
/etc/yum.repos.d/sl-srpms.repo
/etc/yum.repos.d/sl-testing.repo
/etc/yum.repos.d/sl5x-contrib.repo
/etc/yum.repos.d/sl5x-fastbugs.repo
/etc/yum.repos.d/sl5x-security.repo
/etc/yum.repos.d/sl5x.repo
If you do not want to install the package but want the files (or just some of them) then use rpm2cpio and cpio to extract the contents, for example;

rpm2cpio < sl-release-5.0-4.x86_64.rpm > sl.cpio
cpio -i -d < sl.cpio

See the man pages for both commands for the details.
 
  


Reply



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.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM
Yum cant seem to connect to any repo Zut50 Fedora 12 03-30-2006 02:44 PM
Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping dr_zayus69 Linux - Software 1 07-12-2005 11:56 PM
Gnome 2.10 yum repo nsk078 Fedora 1 04-01-2005 10:11 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:33 PM.

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