LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2002, 01:34 PM   #1
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
Compiling from source tarballs (ex.: WINE)


To date, I have been a RPM user, as I'm still a newbie to Linux. But, I wanted WINE and winehq.com was pretty insistent about compiling source instead of using packages.

WINE was the first tar I have downloaded that didn't produce an error at the end of ./configure. It's happily compiling as I write this. (I'm still keeping my fingers crossed, though.)

My question: as updates to WINE come out, I'm going to want to install and use those changes. Does one usually have to "uninstall" to install new versions of software compiled from source files (tar)? How is that done? (I ask because the README and INSTALL files that were in the source directory didn't mention uninstall procedures...)

If anyone could refer me to a good tutorial on the general principles and steps for installing and removing software from tarballs, I will RTFM. (I like to know the "how" and "why" of these things...)

Many thanks!


Last edited by lhoff; 04-07-2002 at 01:36 PM.
 
Old 04-07-2002, 01:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you *should* uninstall software (with "make uninstall") before installign a newer version, but it is seldom essential as the old files will just get overwritten by the new. but ther'es always a chance the developers have change the setup somewhere.
 
Old 04-08-2002, 08:38 AM   #3
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Original Poster
Rep: Reputation: 30
Thanks!

...What does "make clean" do?

Would I be unable to do a make uninstall if I had previously done a make clean?
 
Old 04-08-2002, 09:04 AM   #4
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Make clean erases the Makefile and other stuff that is created when you do ./configure. You use this when you get a error at ./configure and want to try installing it again.

And yes you still will be able to uninstall. Make clean only effects the files inside the source folder.
 
Old 04-09-2002, 01:54 PM   #5
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
do you have to do the "make uninstall" from inside the source where you compiled it?
 
  


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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 08:32 AM
difference between source rpm's and tarballs saipraveen Linux - Newbie 3 10-17-2005 10:21 PM
Compiling Source ripmaster Linux - Newbie 5 08-19-2004 02:02 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
Compiling/Installing Tarballs on Redhat vinaypai Linux - General 2 11-17-2001 11:19 AM


All times are GMT -5. The time now is 01:29 AM.

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