Sponsored Content
Operating Systems Linux Red Hat Can I copy an RPM from one machine to another? Post 302382017 by fpmurphy on Monday 21st of December 2009 08:19:59 PM
Old 12-21-2009
If you want yum to keep a copy of the rpms it downloads set keepcache to 1 in yum.conf.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how can I copy a file from unix to window machine?

how can I copy a file from unix to window machine (and vice versa), if ftp is not available? please tell me what else is convenient? Thanks! (6 Replies)
Discussion started by: fredao
6 Replies

2. AIX

copy printer configuration to another machine

All, I have just entered over 70 printers in my AIX 5.3 machine. I have to get those same printers onto another machine and I really don't want to do it manually again. Is there a way to copy the information over to that machine? Thanks in advance. (1 Reply)
Discussion started by: kjbaumann
1 Replies

3. UNIX for Advanced & Expert Users

how can i copy data in LINUX Machine to windows XP

Can anyone tell me how can i copy data in LINUX Machine to windows XP Thanks, Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies

4. Solaris

How to Copy Folder from one solaris machine to another?

Hi All, Can any body help for below query...... How to Copy Folder from one solaris machine to another? Thanks, (8 Replies)
Discussion started by: vaibhavvd
8 Replies

5. UNIX for Dummies Questions & Answers

Copy file from local machine to server?

I am logged into a server via SSH. There is a file on my desktop of my Windows PC I would like to put on that server. How do I do it? SCP looks the likely method but how does the server know where the file is on the local machine? Thanks. (2 Replies)
Discussion started by: Sepia
2 Replies

6. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

7. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

8. UNIX for Dummies Questions & Answers

ftp to copy file within target machine

I have ftp'd to a machine and have to copy a file from one directory to other. I thought once I am logged in using ftp, cp command would do it. But when I run the cp command, I get the following: ftp> cp * ../../../../maint/ usage: cp Is using cp the only/right option? Thanks in advance! (2 Replies)
Discussion started by: sunny8107
2 Replies

9. Solaris

I can't copy any file to any machine | abort problem | freezing

I want to copy tar file to another machine. tar size is 4gb. Firstly I tried copy to windows machine with ftp client but copy operation didn't start. Now I have tryied to copy to solaris machine command with scp but copy was freezed. Picture is attached.... (1 Reply)
Discussion started by: getrue
1 Replies

10. AIX

Cpio: copy failed - No space left on device when I use rpm

Hello, I want to install GCC gcc-4.8.1-2.src.rpm for AIX 6.1 when I lance my command rpm -i gcc-4.8.1-2.src.rpm I have this error unpacking of archive failed on file gcc-4.8.1.tar.bz2: cpio: copy failed - No space left on device I checked the free space and I am surpise becouse I have... (7 Replies)
Discussion started by: tatab355
7 Replies
yumdownloader(1)														  yumdownloader(1)

NAME
yumdownloader - download RPM packages from Yum repositories SYNOPSIS
yumdownloader [options] package1 [package2...] DESCRIPTION
yumdownloader is a program for downloading RPMs from Yum repositories. GENERAL OPTIONS
-h, --help Help; display a help message and then quit. --destdir DIR Specify a destination directory for the download. Defaults to the current directory. --urls Instead of downloading RPMs, list the URLs that would be downloaded. --resolve When downloading RPMs, resolve dependencies and also download the required packages. --source Instead of downloading the binary RPMs, download the source RPMs. --archlist=ARCH1[,ARCH2...] Limit the query to packages of given architecture(s). Valid values are all architectures known to rpm/yum such as 'i386' and 'src' for source RPMS. Note that repoquery will now change yum's "arch" to the first value in the archlist. So "--archlist=i386,i686" will change yum's canonical arch to i386, but allow packages of i386 and i686. ADDITIONAL OPTIONS
Yumdownloader inherits all other options from yum. See the yum(8) man page for more information EXAMPLES
Download the kernel RPM to /var/tmp: yumdownloader --destdir /var/tmp kernel List the URL for the kernel and kernel-smp RPMs: yumdownloader --urls kernel kernel-smp FILES
As yumdownloader uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. Gijs Hollestelle 28 November 2005 yumdownloader(1)
All times are GMT -4. The time now is 05:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy