LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2006, 04:17 PM   #1
JamesNewbie
LQ Newbie
 
Registered: Jan 2006
Location: Sarasota, FL
Distribution: Fedora
Posts: 27

Rep: Reputation: 15
How to Intall stuff with Linux


Okay, I searched and could not find an answer to my question so I am probably asking the wrong question or too broad a question...but here goes anyway.

How do you install stuff with Linux? FC5?
Let me narrow that down...

I am trying to install unshield to extract some stuff from a .cab file (partly for wifi, partly because I want to learn). The problem is that I don't know how to install the program from the unshield-0.5.tar.gz that I downloaded. I googled the heck out of it and all I can find is links to download it off several sites, but no install instructions. I was able to unpack it both by command line (tar -zxvf [filename]) and with the GUI. I ran some random things by double clicking in the GUI and typed make [stuff] with the command line, but still nothing. So now that I probably dirtied up my FC5 install I will keep experimenting and just reinstall when I know what is going on.

That being said, how does installing stuff with linux work anyway? There is no x:\Program Files. What do executable files look like (do they end with .exe)?

I am sure this question is avery large, but I can hopefully find smaller questions and answers from your replies.

Thanks!!
 
Old 10-25-2006, 04:35 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Don't use tar.gz files unless you have to. Fedora Uses a package manager called YUM that will download and install most programs for you.

yum install unshield

Check out the Fedora FAQ and look up some yum HOW-TO's
http://www.fedorafaq.org/
 
Old 10-25-2006, 05:34 PM   #3
JamesNewbie
LQ Newbie
 
Registered: Jan 2006
Location: Sarasota, FL
Distribution: Fedora
Posts: 27

Original Poster
Rep: Reputation: 15
I have heard of yum, but I have no Internet connection yet (trouble with wifi).
Even with yum, I would still like to learn how to extract and build and make and that sort of thing.
 
Old 10-25-2006, 06:01 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Compiling Programs from Source -
http://www.linuxquestions.org/linux/...ms_from_Source

The Unofficial Fedora FAQ
http://www.fedorafaq.org/
 
Old 10-26-2006, 12:48 PM   #5
Deviathan
Member
 
Registered: Dec 2005
Posts: 46

Rep: Reputation: 16
I do compiling from source and installing all the time at work. Generally what I do is this:

Keep all of your source tarballs in a standard location, ie. /usr/src/packages/tarballs something to that effect. You'll have go into /usr/src and do a "mkdir -p packages/tarballs". cp your gzipped tarball into the tarball directory.

The next thing you want to do is go back into the /usr/src/packages dir and do "tar -zxlf tarballs/$PACKAGE.gz" where $PACKAGE is the name of the source tarball you downloaded. This will usually create a folder for the unpacked source right there in /usr/src/packages.

cd into that directory and get a good look at the contents. Generally, most source can compile with automake tools so there is generally a script in there called configure which you use to create a makefile to compile the source with appropriate parameters. You'll want to read anything that says INSTALL or README* whatever and if those tell you to go to docs/* follow the advice and go read that stuff. Generally these provide you with extra guidance and will show you how to compile in features that are alot of times disabled by default. You may also run into configure or compile time errors and for this google can be your best friend.

Generally the routine way is to do the following: ./configure;make;make install. "make" compiles the source into binary files and the "make install" will put them in the appropriate spots. The default location to install stuff like this is /usr/local although you can specify anywhere you want using the --prefix= during the ./configure part. I recommend staying with /usr/local as default though if you're only doing it for the local machine.
 
Old 10-26-2006, 04:49 PM   #6
JamesNewbie
LQ Newbie
 
Registered: Jan 2006
Location: Sarasota, FL
Distribution: Fedora
Posts: 27

Original Poster
Rep: Reputation: 15
Question Answered

Thanks. My question has been answered for now. I was able to install unshield and it preformed properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it posible to intall FC5 with just 3 intall CD's ponky2x Fedora - Installation 1 07-26-2006 11:08 AM
Help me intall Mysql in Linux tzpow2k2 Linux - Software 6 06-13-2006 07:42 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 05:37 PM
How to intall / to NFS ??? liutom Slackware 4 09-27-2004 11:22 AM
How to intall a new kernel ( 2.6 ) on my linux machine wesleywest Linux - Newbie 5 08-29-2004 05:08 PM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration