12-11-2009
Can I copy an RPM from one machine to another?
Hello there,
I have an RPM installed on a Fedora 8 Linux machine which was installed via yum. That version of the RPM is no longer available in the repo, instead there is a newer beta version. Can I copy an RPM from one machine to another Linux machine and install it there? If not, how do I save an RPM (for future use) before installing it?
I did do several searches, both here and in Google, but I have been unable to find any documentation.
Thank you for any help you can offer!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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?
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
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
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 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
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
LEARN ABOUT CENTOS
scap-as-rpm
scap-as-rpm(8) System Administration Utilities scap-as-rpm(8)
NAME
scap-as-rpm - manual page for scap-as-rpm
DESCRIPTION
usage: scap-as-rpm [-h] [--pkg-name PKG_NAME] [--pkg-version PKG_VERSION]
[--pkg-release PKG_RELEASE] [--pkg-summary PKG_SUMMARY] [--pkg-license PKG_LICENSE] [--pkg-scap-location PKG_SCAP_LOCATION]
[--rpm-destination RPM_DESTINATION] [--srpm-destination SRPM_DESTINATION] FILE [FILE ...]
Takes given SCAP input(s) and makes an RPM package that contains them. The result RPM can be installed using # yum install ./pack-
age-name-1-1.rpm which will put the contents into /usr/share/xml/scap. No dependency on openscap or scapworkbench is enforced in the output
package so you can use any SCAP-capable scanner to evaluate the content.
positional arguments:
FILE List of files that should be put into the result package. These should be SCAP XML files but such requirement is not enforced.
optional arguments:
-h, --help
show this help message and exit
--pkg-name PKG_NAME
Name of the RPM package, if none is provided the basename of the first SCAP input is used. Ex.: xyzsecurity-guide
--pkg-version PKG_VERSION
--pkg-release PKG_RELEASE
--pkg-summary PKG_SUMMARY
Optional short description of the package.
--pkg-license PKG_LICENSE
Short name of the license that you want to publish the package under. Ex.: GPLv2+, BSD, ...
--pkg-scap-location PKG_SCAP_LOCATION
Folder where SCAP files are supposed to be installed. Each package will have its own folder inside this folder. RPM variables can
be used and will be expanded as usual. It is recommended to keep the default settings.
--rpm-destination RPM_DESTINATION
The folder (absolute or relative to CWD) where the result RPM shall be saved.
--srpm-destination SRPM_DESTINATION
The folder (absolute or relative to CWD) where the result SRPM shall be saved.
scap-as-rpm November 2013 scap-as-rpm(8)