Posted on 2006-05-30
Last Modified: 2010-04-20
Hi Im new to linux and was wondering where to use the "make" command from

For instace at the moment i download to my home directory as a tar file then extract to home/me/installs

Them run make

and make install

from there, is this correct or should i do it somewhere else?

Should i delete this folder once the make install has finished

Can someone explain please??
Question by:bryanchellen
    LVL 11

    Accepted Solution

    you would always use make from the top level directory for whichever code you
    wish to compile. For example, if you've decompressed (with tar-zxvf or whatever format) your code into /usr/local/somedir then you would type
    'cd /usr/local/somedir' and then most likely that's where your "Makefile" is in which case you would run 'make'.

    Notable is that many code trees come with a 'configure' script to adapt the code to your version of Linux/Unix, so you'll sometimes have to run './configure' from that same directory as discussed above, and then type your typical 'make' ; 'make clean' ; 'make install'

    Also you might wish to use 'man' when in need, such as 'man make'

    Highest regards,

    ~K Black
    LVL 48

    Assisted Solution

    Once you've installed your software, you can remove the source directory you used to build it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Title # Comments Views Activity
    Excel file "Document not saved" 8 84
    MySQL going to sleep 4 56
    Backing Up Ipset 9 48
    snmp error in packet. reason noaccess 30 33
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now