Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-20-2013, 03:42 AM   #1
Eagle Eye
LQ Newbie
Registered: Nov 2013
Location: India
Distribution: Debian
Posts: 24

Rep: Reputation: Disabled
package installation

I want to install the make-4.0 package in
my fedora 18.On which there is already make-3.82 is installed
and please tell me through command line.

and I want to manually install it on my system not through yum or another
thing.And please tell me where we have to install it.

./configure --prefix=? //tell me about this destination point.I have make-4.0 tarball and extracted and cd make-4.0.
Old 11-20-2013, 04:02 AM   #2
LQ Newbie
Registered: Nov 2013
Posts: 24

Rep: Reputation: Disabled
Typing ./configure --help you can get all the info you need. Anyhow, if you type simply ./configure, it will configure the package for being installed in /usr/local.
1 members found this post helpful.
Old 12-03-2013, 03:12 AM   #3
Registered: Aug 2013
Posts: 58

Rep: Reputation: Disabled
Hello Eagle Eye,

If you have make-3.82 installed on your system from an rpm file or from the original installation, and, you want to install make-4.0 from a tarball, then it might be a good idea to uninstall the older make with the rpm command after you have installed the new make but before you use the new make. I would do that so that when you install the newer make there are no conflicts between the two programs. Something like:
rpm -e make
should take the older one out. But, you should do this only after you have installed the new make because you will need the older make to make the newer make.

With the newer one, it will almost certainly by default install in the /usr/local/... directories such as /usr/local/bin rather than /usr/bin. This should be made clear in the INSTALL file or the README file of the tarball. You can change this default by using the prefix variable you mentioned, but it is unnecessary unless you have a particular special reason to do so. After you run:
you usually run:
and then become root and run:
make install
This should be described in the tarball files but sometimes it isn't. Anyway, what I have described is the common way to go to the best of my knowledge. It's worked for me.
1 members found this post helpful.
Old 12-03-2013, 02:24 PM   #4
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
I would have to disagree with tomwest about removing the old version of make. There will not be conflicts as long as you install the new version in /usr/local. Your $PATH statement will take care of executing the new version and not the old.

When working with packages it is better to use yum than rpm directly so that dependencies are observed and maintained. This also maintains the integrity of the Fedora release. If you install a tarball, the rpm/yum database has no clue that that package is on the system. If you try to remove the old version of make both rpm and yum will most likely complain that there is a dependency you need to consider.

$ rpm -q --whatrequires make
Old 12-03-2013, 03:54 PM   #5
Registered: Aug 2013
Posts: 58

Rep: Reputation: Disabled
wmakowski wrote:
When working with packages it is better to use yum than rpm directly so that dependencies are observed and maintained.
As I read the OP he specifically wanted to install "not through yum". I guess he had his reasons which he did not state, so my reply was targeted to his question as he put it.

The advantages of yum as stated above in relation to taking care of dependencies is the case as I understand it.

In relation to the $PATH variable taking care to execute /usr/local/bin before /usr/bin, that would the be case if the executable directories are in that order in the $PATH variable, which is the default in f19. However, $PATH is configurable and the order can be changed. The OP was silent on that score, so I made no assumptions.

In relation to conflicts between the two versions of make, I take the point that it is possible to keep both versions and that they may not conflict if the $PATH variable is set at the default. However, I can't see the point of keeping a redundant program. The logic of doing that escapes me. But I suppose that my reference to conflicts comes from my experience with not deleting redundant programs in just such a case as the OP describes, where one is in the packaged system and the other is in the /usr/local system. The conflicts I had did not occur with the executables in /usr/bin and /usr/local/bin but with the libraries associated with those executables based on the differences between /usr/lib and /usr/local/lib. These were subtle problems that I had trouble working through at the time, hence my reference to conflicts and my suggestion to remove the redundant program.

As suggested above, the new make may need updated versions of its dependencies installed, so that would need to be attended to.

A further point about yum and rpm is this: if one is not on broadband, yum is not a viable option for many users of a large distribution like fedora because to keep up to date with yum involves downloading hundreds of megabytes of data at times to update programs and dependencies and this is not realistic on dial-up or other slow internet connections. For example downloading at 5 minutes a megabyte on a dial-up connection would mean about a 16 hour download for 200 megabytes, and most dial-up providers in these parts allow 4, 5 or 6 hour windows to the internet, so it's very problematical and very painful. My point is that the conventional advice of "use yum" may not actually hit the mark for all cases. In fact there are ways of dealing with "dependency hell" using rpm, but that's a different topic.

Last edited by tomwest; 12-03-2013 at 04:02 PM.
Old 12-03-2013, 05:14 PM   #6
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
# 1 .

I guess you want make-4.0 for the unstable development version of LFS ?

If you really want make-4, the best choice is to try with an rpm package for Fedora 18.
> make-4.0-1.src.rpm : Unpack the source SRC RPM with $ rpm -i make-4.0-1.src.rpm,
.. and build the new package : $ rpmbuild -bb make-4.0_fc18.spec

Example build result, 32bits (i686) : make-4.0-1.fc18.i686.rpm
Attached Files
File Type: txt make-4.0_fc18.spec.txt (1.6 KB, 5 views)

Last edited by knudfl; 12-03-2013 at 05:37 PM.
Old 12-06-2013, 06:21 AM   #7
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Originally Posted by knudfl View Post
I guess you want make-4.0 for the unstable development version of LFS ?
Currently, both stable and unstable LFS do not need make 4.0 to be installed on the host.

Host requirements for both are: Make-3.81


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
Package needs re-installation, but package cannot be found woodbase Debian 4 09-26-2006 01:07 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
FC3 installation freezes at package installation tmussche Fedora - Installation 1 04-19-2005 07:56 PM
package installation irongiant Mandriva 9 01-24-2004 05:33 PM
slackware installation, or package installation?? mipia Slackware - Installation 1 12-15-2003 06:54 PM

All times are GMT -5. The time now is 05:04 PM.

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