November 24, 2024, 03:11:06 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to .tar.gz and .tar.bz and .src.rpms in fedora core2  (Read 6118 times)

Offline gadekishore

  • Linux Noob !
  • *
  • Posts: 13
how to .tar.gz and .tar.bz and .src.rpms in fedora core2
« on: October 13, 2005, 06:10:35 AM »
Hello

can any body help me how to install .tar.bz and .tar.gz and .src.rpms to  convert to rpms..
please give reply by step by step.

tnx

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
how to .tar.gz and .tar.bz and .src.rpms in fedora core2
« Reply #1 on: October 13, 2005, 08:09:43 AM »
Hello

To install .tar.gz package give this cmd
#tar -xvzf s1.tar.gz
 { where s1.tar.gz is ur package name)

for bz2 package give this cmd
#tar -xvjf s1.tar.bz2
    { where s1.tar.gz is ur package name)

for src.rpm
cmd is
#rpm -ivh s1.src.rpm
  { where s1.tar.gz is ur package name)

Gaurav

Offline gadekishore

  • Linux Noob !
  • *
  • Posts: 13
how to .tar.gz and .tar.bz and .src.rpms in fedora core2
« Reply #2 on: October 13, 2005, 08:39:49 AM »
hi gaurav

tnx for giving me reply.. up to that point iam ok. there was a directory called /usr/src/redhat in this directory there are many directories i.e., RPMS,SRPMS,BUILD,SOURCES  and SPECS what is the necessary of this directory any link is there for source rpms  to the above directories.

if you can send your email..