title: how to install from source code on mac terminal
body: <p>I'm trying to install a software named <a href="https://zlib.net/pigz/" rel="nofollow noreferrer">&quot;pigz&quot;</a> on mac . after downloading the source code, in terminal I go to the folder containing source code then I run <code>make</code>. when I try to install it with <code>sudo make install</code> I get this message</p>
  <pre><code>make: *** No rule to make target `install'.  Stop.
  </code></pre>
  <p>or when I try to install it with <code>brew</code></p>
  <pre><code>brew install pigz 
  </code></pre>
  <p>I get this error</p>
  <pre><code>Updating Homebrew...
  ==&gt; Downloading https://homebrew.bintray.com/bottles/pigz-2.4.catalina.bottle.ta
  Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
  Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.  
  Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.  
  ##O=#  #                                                                      
  curl: (6) Could not resolve host: homebrew.bintray.com
  Error: Failed to download resource &quot;pigz&quot;
  Download failed: https://homebrew.bintray.com/bottles/pigz-2.4.catalina.bottle.tar.gz
  Warning: Bottle installation failed: building from source.
  ==&gt; Downloading https://zlib.net/pigz/pigz-2.4.tar.gz
  ######################################################################## 100.0%
  ==&gt; make CC=clang CFLAGS=
    /usr/local/Cellar/pigz/2.4: 7 files, 154KB, built in 4 seconds
  </code></pre>
  <p>since I'm very new to command line I really don't know what this means and what I should do
  I would appreciate your help</p>