LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-20-2011, 09:30 AM   #1
kawaikx15
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Rep: Reputation: Disabled
make install


I am very new to unix and fedora.

I want to know what exactly this command do:

make install

thanks in advance
 
Old 11-20-2011, 10:01 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kawaikx15 View Post
I am very new to unix and fedora.

I want to know what exactly this command do:
make install
thanks in advance
"make install" usually runs the makefile rules related to the install procedure. This will vary from program to program, so we can't tell you 'exactly' what it does, since you don't tell us what software you're talking about, where you got it, what version it is, or give any details.
 
Old 11-20-2011, 02:24 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
RTFM !!!

please read the manual !!!
Code:
man make
 
1 members found this post helpful.
Old 11-20-2011, 08:59 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Here's a good overview of the process of compiling software from sources:

http://www.tuxfiles.org/linuxhelp/softinstall.html
 
1 members found this post helpful.
Old 11-21-2011, 02:14 AM   #5
kawaikx15
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
moving from windows to linux, I am unable to understand the process of installing a software in linux. in windows, when we run an installation file, it asks where you wish to install the program, most probably in program files folder only. later it edits the registry. This is called installation in windows. What is 'installing a software' in linux exactly means. Suppose I downloaded a source code, configure it, and build the binary using make. Now it is just a binary, not a usable program yet. how is it going get 'installed' ? by make install ?
 
Old 11-21-2011, 04:11 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it means that you do one of a few things
you install a prebuilt *.rpm or *.deb
or
you build the software from the source code

THE SAME as on windows
you install a prebuilt *.exe
or you build the source code in VisualStudio
 
Old 11-21-2011, 04:16 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Fedora has a package manager. Find the program you want to install, and let the system install it for you.

I'd suggest going to the Fedora forum on this site. There is a sticky post on top, that indicates a repository you may want to add for media programs and codecs. These versions will be able to play formats such as MP3s and DVDs.
 
Old 11-21-2011, 12:23 PM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,138

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
You should get software from the Fedora repository whenever possible, because it's been tested to work with your system.

If you do need to compile a program from source, the usual procedure is to use the commands

./configure — runs a script provided with the program that sets up the source to fit your computer, creating a "makefile"

make — compiles the source code and links it to libraries to make a working program, using the instructions in the makefile

make install — follows the instructions in the makefile to place each part in the correct place; unlike Windows, Linux puts the different parts of a program (executable, libraries, documents, etc) in different places.

If you install from source, it's a good idea to keep the makefile. Then, if you want to remove the program, "make uninstall" will do the job.
 
Old 11-21-2011, 08:35 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Quote:
Originally Posted by kawaikx15 View Post
moving from windows to linux, I am unable to understand the process of installing a software in linux.
That is indeed one of the biggest differences between Windows and Linux from the standpoint of day-to-day usage.

http://www.youtube.com/watch?v=3yC69Krqn2I

There's a nice video on Youtube about it. It's based on Kubuntu (Ubuntu with KDE instead of Gnome or Unity) so some of the terms might be slightly different, and it package managers he demonstrates are KPackage and apt-get, not Fedora's Add/Remove Software and yum.

However, it give a good overview of what using software repositories. Fedora implements similar concepts, but uses different programs to do so.

It does not address compiling from sources.

Last edited by frankbell; 11-21-2011 at 08:37 PM.
 
1 members found this post helpful.
  


Reply



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
libogg not installing, make and make install don't give errors, but fail lilmike Linux - Newbie 6 11-14-2009 07:33 PM
Unable to install Tarball on Fedora 8 and make/make install DLinkd2 Linux - Software 12 08-14-2009 03:34 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 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
Open Source Consulting | Domain Registration