Fedora Linux Support Community & Resources Center
Old 7th May 2005, 10:05 PM
ntrsfrml Offline
Registered User
Join Date: May 2005
Location: Vancouver, BC Canada
Posts: 4
How to install programs and building from source?

hey guys..i'm a total noob when it comes to Linux I installed Fedora C3 yesterday and can't get to play MP3 or install java/bit torrent clients etc. How do you install programs in Fedora? For example I downloaded Amarok-1.2.3 source and can't compile it .. Read the install file in the .tar which mentions something about typing something in the Base directory of Amarok distribution.. WTH that means? WHy can't it be simple as installing and double clicking programs in Windows XP?

Can anybody please help me linux noob with few installing program tips?

any help is much appreciated.
Reply With Quote
Old 7th May 2005, 10:59 PM
dwisianto Offline
Registered User
Join Date: Mar 2005
Posts: 91
Reply With Quote
Old 8th May 2005, 03:02 AM
jonest Offline
Registered User
Join Date: Sep 2004
Location: Sydney, Australia
Posts: 162
The link given by the previous poster is good. I use apt instead of yum which is also covered in the doc. To give you a quick start approach, go to http://dag.wieers.com/packages/ and download the rpm files for apt and synaptic which correspond to your version of Fedora. Then install as root with 'rpm -Uhv *.rpm' if these are the only RPM files in the directory. Next, as root, issue the 'apt-get update' command which will get a listing of packages available. Next, run synaptic and the rest will hopefully be explanatory. Run the update regularly.
Reply With Quote
Old 8th May 2005, 03:04 AM
jonest Offline
Registered User
Join Date: Sep 2004
Location: Sydney, Australia
Posts: 162
BTW, most source installs are quite simple. download the file and unpack it. If it is a tarball (ends in .tar.gz) issue 'tar -xzvf whatever.tar.gz' to get a directory named whatever. Change into the whatever directory and issue the following three commands.
make install (need to be root)
This is typical, but you should read the README or INSTALL file prior to compiling.
Reply With Quote
Old 8th May 2005, 03:07 AM
jonest Offline
Registered User
Join Date: Sep 2004
Location: Sydney, Australia
Posts: 162
One more thing, the reason why it is not as simple as windows (although I think apt and rpm in general are a lot better) is that programs are written for a lot of different platforms. Somebody may write a program which he or she wants to work on AIX, HP-UX, Solaris, Linux, and BSD. It is simpler to supply the source code instead of spending all his or her time creating packages. Also, I generally find that there can be a boost in performance when the program is comiled locally on my computer.
Reply With Quote
Old 8th May 2005, 05:19 AM
tashirosgt Offline
Registered User
Join Date: Aug 2004
Posts: 4,032
This is how I would classify the program installation methods:

1) The I-will-do-it-all-for-you kind like yum, apt, up2date. They try to fetch whatever application you want from the web and get whatever else it needs and install it. The problems? They can be hard to configure and you can get in trouble if you use more than one of these methods on the same machine. Sometimes you find that you can't install something since what it wants conflicts with another application you have installed.

2) The you-get-it-yourself-and-I-will-install-it methods. You can install things from the command line with an appropriate *.rpm file and the command rpm. It is up to you search the web and find the rpms for anything else that may be needed to support the applicaiton. And it is up to you to keep track of whether updated versions of your applications are available. A "software manager" type of gui is often a graphical interface to the rpm command.

You can download *.tar or *.tar.gz files which untar to produce a script that is usually called "configure" . You run this and it tries to determine whether you have everything the application needs. If you do, then it creates a file to compile the application. You run a script that is usally called "make" to compile and install the application. If you are missing some pieces the configure script gives errors and it is up to you to hunt down the applications that you need.

3) The you-are-totally-on-your-own applications are the kind that someone has setup to install on a "typical" computer. These often come in *.tar and *.tar.gz files, but they have no "configure" script. If you do "make" and there is an error, you have to know enough about programming and compiling to edit the "Makefile" by hand and fix it.

As far as I know, none of these methods has a graphical interface like the Windows installers.
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
Old 8th May 2005, 06:05 AM
Sammy Offline
Registered User
Join Date: Mar 2005
Posts: 105
maybe someone can say...
RPMs also can be relatively simple to uninstall, and a good package manager will point out anything else that needs whatever is being uninstalled. Is there a way to do this with one compiled from source?
Reply With Quote
Old 8th May 2005, 12:58 PM
markkuk Offline
Registered User
Join Date: Apr 2005
Location: Finland
Posts: 5,072
Build RPM packages from your sources before installing, then you get the advantages of package management.
Reply With Quote

building, install, programs, source

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building pidgin from source daviddoria Using Fedora 4 10th July 2009 10:17 PM
building programs xXxz3r0xXx Using Fedora 6 20th July 2006 02:50 AM
building from source.... jon bryan Mac Chat 2 16th July 2005 08:53 PM
Building Source RPM's?? jbarby Using Fedora 2 28th March 2004 06:01 PM

Current GMT-time: 15:29 (Wednesday, 16-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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