12-04-2004
Why didn't it work?
What error output was there?
The "./configure && make && make install" three-card-trick is a generalisation - did you read the README and/or INSTALL files contained within the tarball?
Were you "cd'd" into the root of the source directory (i.e. the directory containing the configure script) when you issued the commands?
My usual procedure for installing a tarball under linux is...
$ cd /usr/local/src
$ ls
my-src-0.1.tar.gz
$ zcat my-src-0.1.tar.gz | tar xvf -
$ ls
my-src-0.1
my-src-0.1.tar.gz
$ cd my-src-0.1
$ more README
$ more INSTALL
$ ./configure && make && su -c "make install"
Of course, your install routine will no doubt differ. Make sure you read README and INSTALL for the correct installation procedure for your package.
If you can, try somewhere like rpmfind.net to download an rpm file for your distribution - then just use rpm -i to install it - could save you a lot of headaches.
Cheers
ZB
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there!
I one saw a command that allowed to download a file using lynx from an HTTP server without opening lynx itself.
Looked something like this:
$ lynx -xyz http://localhost/foo.bar ~/foo.bar
I looked into lynx manpages and help but didn't find anything.
Thank you in advance (2 Replies)
Discussion started by: D-Lexy
2 Replies
2. UNIX for Dummies Questions & Answers
can you download folders when in ftp or is the only way to download more then one file by mget?? (6 Replies)
Discussion started by: eloquent99
6 Replies
3. UNIX for Dummies Questions & Answers
Kindly help us... Is there a way in linux how we'll be able to check which workstation is downloading files from the internet and what file is it? Please put into consideration that our linux has a firewall.
Thanks (1 Reply)
Discussion started by: eric_hing
1 Replies
4. UNIX for Dummies Questions & Answers
Is it possible using FTP to download a whole directory and all subdirectories at once without having to go through every single file?
Thanks,
Tom (4 Replies)
Discussion started by: Pokeyzx
4 Replies
5. Linux
My class "UNIX using Linux" started today. The software that came with my text book will not download. I am running XP pro .. When I load the "guide to UNIX using Linux" disk the only thing that comes up is E:/ showing some files that are on the disk and then it stops and does nothing. Can anyone... (13 Replies)
Discussion started by: Tammy
13 Replies
6. Shell Programming and Scripting
HI,
I'm downloading one day old files from ftp site.
Below is my script
----------------------------
printf "open $HOST \n" > ftp.cmd
printf "user $USER $PASSWD\n" >> ftp.cmd
printf "bin\n" >> ftp.cmd
#printf "cd /Models/\n" >> ftp.cmd
printf "prompt\n" >> ftp.cmd
printf "for oldfile... (4 Replies)
Discussion started by: shekhar_v4
4 Replies
7. Shell Programming and Scripting
Hello guys,
i'm searching for a solution how to download all files from root-directory of an ftp-server through an ftp proxy
getting through the ftp proxy and download one file with get ist no problem, but mget * does nothing!
ftp -n -i -v <<EOF
open proxyHost proxyPort
user... (19 Replies)
Discussion started by: macProgger23
19 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I've got my own domain, ftp etc.. I'm using cPanel and I want to download a file periodically, every say 24 hours.
I've used this command:
wget -t inf http : / / www . somesite . com / webcam.jpg
ftp : / / i @ MyDomain . net : Password @ ftp . MyDomain . net^no spaces... (24 Replies)
Discussion started by: zYx
24 Replies
9. Shell Programming and Scripting
Hello everyone. I'm new both to the forum and to unix scripting, and this website has been very useful in putting together a script I am working on. However, I have run into a bit of a snag, which is why I have come here seeking help. First I will say what I am trying to do, and then what I have... (2 Replies)
Discussion started by: keltonhalbert
2 Replies
10. Shell Programming and Scripting
Hi every one,
I have the requirement to download the files from FTP and move those files to unix box. Once after coping the files, i need to remove the files in FTP.
I'm a newbie in Unix script. Can you please suggest a script for this.. Thanks in advance.. (2 Replies)
Discussion started by: Murali4u
2 Replies
rpm2cpio(1) User Commands rpm2cpio(1)
NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive
SYNOPSIS
rpm2cpio [file.rpm]
DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu-
ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out-
put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility.
EXAMPLES
Example 1: Converting an rpm file
example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
Example 2: Converting from standard input
example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrpm |
+-----------------------------+-----------------------------+
SEE ALSO
cpio(1), attributes(5)
NOTES
rpm2cpio handles versions 3 and 4 RPMs.
SunOS 5.10 20 Aug 2001 rpm2cpio(1)