Question:
Linux and Tarball installation?
arsenalwegner
2010-08-02 08:36:42 UTC
I need to downloaded an app for for my asterisk system..I see loads of help with how to extract but how to get it downloaded to the linux box ?..is there a command 'download http:cestarl.com/app.tar.gz' or something ..thanks new to this!
Three answers:
Pyros
2010-08-02 08:50:10 UTC
it depends on what you're using and what the package actually is, a tarball is a compressed archive sort of like a zip file on windows. you'll need to extract it using something like ark (look at your package manager and find ark and install it if you don't already have it) then if it's source code you'll have to compile it, if it's installable using something like make then check out this guide to learn a bit about make: http://tldp.org/LDP/LG/current/smith.html



here's another one if that confuses you and you need more information: http://www.tldp.org/HOWTO/Software-Building-HOWTO-3.html



Sorry if it's a bit cryptic, That's sort of the nature of the beast in linux when you want to install something that's not in a repository. If you need any more help or want me to clarify anything for you please update your additional details or just e-mail me and I'll be happy to help.



~Pyros~
Toby
2010-08-02 15:45:51 UTC
Hmmm... I have never heard of Asterisk before, but after some research, I see that it's a derivative or Red Hat. So the primary way to get software is via the GUI. I have Ubuntu, but if I recall, Red Hat has a similar option: Applications > Software Center. Then find the software you want. It then magically downloads it, installs it, and keeps it up to date.



Now if the software isn't available in your Software Center (or whatever Asterisk calls it), you may need to use the tarball. Once you download the tarball, installation usually works like this:



tar -xvfz tarball.tar.gz

cd tarball

./configure

make

make install



You'll typically want to be "root" to do that process. Also, it won't work unless you've installed the developer tools (compilers and such). Again, I don't know what the package name is in Asterisk, but in Ubuntu it's called "build-essential".
ELfaGeek
2010-08-02 15:51:11 UTC
This is the hard way to install apps on any version of Linux, your version of Linux should have better ways to install apps, but read this:



For more info, Google search for:



Asterisk PBX



And here's just one example:


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...