0 Replies - 1316 Views - Last Post: 16 November 2013 - 02:45 AM

#1 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1439
  • View blog
  • Posts: 3,609
  • Joined: 28-November 09

TarGZ Package Install

Posted 16 November 2013 - 02:45 AM

Description: Put in your .profile or rc files, and call as: pk-install http://www.stuff.com....tar.gzDownload, Untar, Make, and Install .tar.gz from a URL
function pk-install {
  url="$1"
  wget $url
  file_name=`echo $url | sed 's/^.*\/\(.*\)\.tar\.gz$/\1/'`
  tar -zxvf "$file_name.tar.gz"
  cd $file_name
  make && make install
}


Is This A Good Question/Topic? 0
  • +

Page 1 of 1