Install System Libraries - Linux
Hello,
I am new to Linux and specifically running it on a Rasberry Pi 3 with Raspbian (Jessie) distro. I am looking to install an open source PBX called Asterisk. I was reviewing the requirements before installing the main application. I came across this page: https://wiki.asterisk.org/wiki/displ...stem+Libraries It refers to the need for installing a number of system libraries using the Package Management System. After a bit of research, I think the Package Management System is APT (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool) but did not know how to really install these libraries.I found this page (http://raspberrypi.stackexchange.com...l-new-software) which said: to install use: sudo apt-get install <what you want to install> however when I type in 'sudo apt-get install ncurses' - it gives me a message I dont really understand and for the ones that do something like 'sudo apt-get install openssl' I am not sure what it is doing. Could someone give me some more information to help me understand this? Thanks, Harry |
In order to install the necessary libraries and or the dependencies that "Asterisk" requires you will have to pretty much install what the terminal is telling you.:)
APT will continue to complain until you have satisfied all dependencies. First install all of the dependencies/libraries that Asterisk requires than you can install Asterisk. In an effort to help you we would need to see and read the output of the command you are executing. -::-Please post that output so we can look at it and advise you.-::- Copy and paste what's in the terminal and put it in {CODE TAGS}. The [code tags] are made possible by clicking the # (pound sign) above the message box that you type us your message. To paste the output place your cursor in between the tags, right click and paste. |
This is a good tutorial for installing Asterisk:-
https://www.howtoforge.com/tutorial/...isk-on-debian/ Here's the actual pkg Asterisk: https://packages.debian.org/jessie/asterisk |
Hi Ztcoracat - thanks for the reply, links and info. I will look at the links and also try to continue with the install of the libraries. I'll post back as your suggest any errors I get. Is there a way to confirm if an installation of a library was successful?
|
You're Welcome:-
Quote:
Code:
dpkg -L bluezip |
Hi Ztcoracat,
Thanks for the above - I tried to install a library (required by Asterisk) and check it was installed using the approach mentioned - this is what I see. Code:
pi@raspberrypi:~ $ sudo apt-get install DAHDI |
I also tried libspeex and see this - I think this has a problem too with the install, but it did find it?
[CODE] pi@raspberrypi:~ $ sudo apt-get install libspeex Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libspeex [\CODE] |
Quote:
|
Have you seen this? You can download a complete image for the Pi.
http://www.raspberry-asterisk.org/ |
Hi michaelk - thanks for the link, I did know about the Project, however I was trying to use this Project to learn more about Linux and the basics.
Hi yancek - I understand DADHI and dadhi are not the same. Asterisk say the correct library needed is DADHI - why would dpkg -l DAHDI not confirm it is install/there? |
Quote:
Anytime that the shell returns: Code:
already the newest version |
Hi Ztcoracat - thanks; I will try with -L instead ;)
thanks for the confirmation that when it says already the latest version, it means it is installed and there are no updates - what got me is I had not installed the library so was not expecting it to be already installed; must have been included in the distribution I used. Were you able to help with this too - was not sure what it means [CODE] pi@raspberrypi:~ $ sudo apt-get install libspeex Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libspeex [\CODE] |
Quote:
This: Code:
Unable to locate package libspeex Opus is better than Speex in all aspects, users are encouraged to switch— https://speex.org/ Look here: https://packages.debian.org/search?s...keywords=speex It's the second one in the list "speex_1.2~rc1.2.orig.tar.gz" https://packages.debian.org/source/jessie/speex |
Raspian is a distribution based upon debian optimized for the Raspberry Pi hardware which is an ARM device. Which makes installing Asterisk from source more difficult then a regular PC. The Ubuntu armhf is compatible with the Pi but can not say if the Ubuntu packages are compatible with Raspian.
|
Quote:
If you don't mind me asking what is it that would make installing Asterisk from src more difficult? |
All times are GMT -5. The time now is 03:11 PM. |