Sponsored Content
Operating Systems Linux How to install *.pkg.tar.tar on Linux? Post 302905564 by Akshay Hegde on Thursday 12th of June 2014 07:06:37 AM
Old 06-12-2014
This is one way to install source tarballs,

Code:
[akshay@nio test]$ pwd
/home/akshay/Desktop/test

Code:
[akshay@nio test]$ ls -1
openssl-1.0.0a.tar.gz

Code:
[akshay@nio test]$ tar -xf openssl-1.0.0a.tar.gz; ls -1 
openssl-1.0.0a
openssl-1.0.0a.tar.gz

Code:
[akshay@nio test]$ cd openssl-1.0.0a

Code:
[akshay@nio openssl-1.0.0a]$  ./config --prefix=/home/akshay/Desktop/test/ssl --openssldir=/home/akshay/Desktop/test/ssl/openssl
...
...
make[1]: Leaving directory `/home/akshay/Desktop/test/openssl-1.0.0a/test'

Configured for linux-x86_64.


Code:
[akshay@nio openssl-1.0.0a]$ make ; make install
...
...
cp openssl.pc /home/akshay/Desktop/test/ssl/lib64/pkgconfig
chmod 644 /home/akshay/Desktop/test/ssl/lib64/pkgconfig/openssl.pc

Code:
[akshay@nio openssl-1.0.0a]$ cd ../ssl/; ls -1
bin
include
lib64
openssl

Code:
[akshay@nio ssl]$ cd bin; ls -1
c_rehash
openssl

Code:
[akshay@nio bin]$ ./openssl 
OpenSSL> version
OpenSSL 1.0.0a 1 Jun 2010
OpenSSL>

Tested on
Code:
$ uname -a
Linux  2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

---------- Post updated at 05:36 PM ---------- Previous update was at 05:32 PM ----------

if you do not specify prefix then default location /usr/local will be used
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

From HPUX tar to Linux tar

Dear sirs, I have some 4mm dat cartridges (4GB) made in a HP-UX 11.00 with a standard tar command (tar -cv files_to_backup) made with a scsi dat drive HP 35470A. After more than one year I need to restore some data on a linux system (Red Hat 7.2) which has the same dat drive. Now I tried... (4 Replies)
Discussion started by: iarot
4 Replies

2. UNIX for Dummies Questions & Answers

how to install a tar file?

how can i install a *.tar file? and if the file is dirver is it the same? (3 Replies)
Discussion started by: user666
3 Replies

3. UNIX for Advanced & Expert Users

Does tar do crc checking on a tape or tar file?

Trying to answer a question about whether tar table-of-contents is a good tool for verifying tape data. (1 Reply)
Discussion started by: tjlst15
1 Replies

4. UNIX for Advanced & Expert Users

Tar utility (untar a .tar file) on VxWorks

Hi All Can someone pls guide me if there any utility to compress file on windows & uncompress on vxworks I tried as - - compressed some folders on windows ... i created .tar ( to maintain directory structure ) and compressed to .gz format. - on VxWorks i have uncompressed it to .tar... (1 Reply)
Discussion started by: uday_01
1 Replies

5. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. Shell Programming and Scripting

tar command dont tar to original directory

HI, if I have a tarfile called pmapdata.tar that contains tar -tvf pmapdata.tar -rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt -rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt -rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies

8. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

9. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

10. UNIX for Dummies Questions & Answers

Do I need to extract the entire tar file to confirm the tar folder is fine?

I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it. Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem? tar tvf file1.tar ... (1 Reply)
Discussion started by: vivien_chu
1 Replies
All times are GMT -4. The time now is 02:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy