Fedora Linux Support Community & Resources Center
  #1  
Old 10th January 2010, 11:41 AM
marinello12 Offline
Registered User
 
Join Date: Jan 2010
Posts: 1
linuxfedorafirefox
tar.gz

Ok been looking at tuts all wekk kbut still cant get my head roud this directory stuff, all i want to do is insatll a tar.gz package

it downloads to "downloads folder" can anyone give me codes to install it?

would love the help
Reply With Quote
  #2  
Old 10th January 2010, 11:58 AM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxopera
cd downloads
tar zxvf <filename>
This will create a directory that usually has the same name as the tarball, but without the tar.gz suffix.

cd <that_new_directory>

Look for a file named README and/or a file named INSTALL

less INSTALL

less README

These will usually have instructions on how to install the package. Note that to install on Fedora, you will need at least a few extra programs that aren't installed by default.

yum install gcc gcc-c++ make kernel-devel

(If you have a PAE kernel, use kernel-PAE-devel instead.)

Note that is the bare minimum of what is needed. There is an entire group of packages called Development Tools which will definitely have everything you need.

To install that instead of the minimum mentioned above

yum install @development-tools

or

yum groupinstall "Development Tools"

(either command will work.)

Most of the time, the README or INSTALL file will tell you to run

./configure
make
su -c 'make install'

(You usually have to be root to install a package)

but sometimes the instructions will differ. Also, most third party tarballs will, by default, install into /usr/local/bin rather than /usr/bin (which is where most Fedora packages are installed.) In practice, this doesn't matter that much but it can be handy to keep tarballs separate from rpm installed programs.

Lastly, are you sure there is no rpm for the program you want? If there is, you're almost always better off using yum, as it will take care of dependencies for you. Many third party tarballs are written for Ubuntu/Debian and will look for dependencies that use Ubuntu or Debian naming conventions.
Reply With Quote
  #3  
Old 10th January 2010, 12:22 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,213
linuxfedorafirefox
smr54's right. Look for a .rpm before bothering with the older method. "rpm.pbone.net" is a good resource to check. Also, for reference: http://www.tuxfiles.org/linuxhelp/softinstall.html
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
Reply

Tags
targz

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Current GMT-time: 13:22 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat