Find the answer to your Linux question:
Results 1 to 3 of 3
hi, what the different comand "make" and "make && make install"?? plzz help...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    12

    different command 'make'

    hi,

    what the different comand "make" and "make && make install"??

    plzz help
    Last edited by loba09; 05-14-2009 at 03:52 PM. Reason: wrong type

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Quote Originally Posted by loba09 View Post
    hi,

    what the different comand "make" and "make && make install"??

    plzz help
    Make is the command that compiles and builds a program. Each module is compiled and then they are linked together to form an executable program. Make install copies the program and any other installable files (such as documentation, icons, etc) to the directories where they should go.

    The double ampersand && means: do make first and, if it completes without error, do make install. It's just a slightly quicker alternative to doing make first and make install afterwards.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    385
    Hazel has pretty much answered this, but I wanted to add that 'make' on its own does the same job as 'make all'. In both cases of 'make' and 'make install' make is accepting a desired option to perform.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...