Solved

How can I install these in ubuntu

Posted on 2009-05-16
9
500 Views
Last Modified: 2013-11-15
How can I install these in ubuntu
    * ncurses, and associated -devel
    * openssl, and associated -devel
    * zlib, and associated -devel
    * bison, and associated -devel (1.0.X only)

in order to have Asterisk installed successfully
0
Comment
Question by:1030071002
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24403879
Hi,

Ncurses : sudo apt-get install libncurses5 libncurses5-dev
Openssl: sudo apt-get install openssl opsnssl-dev
I think zlib should be there already but you might need : sudo apt-get install zlib-dev
Bison: sudo apt-get install bison bison-devel

Cheers,
K.

0
 
LVL 11

Expert Comment

by:climbgunks
ID: 24403881
from the command line:

sudo apt-get install asterisk

should resolve all the dependencies

0
 
LVL 4

Expert Comment

by:amrox
ID: 24404039
To find the right package to install you can simply type

apt-cache install <part_of_package_name>
as any user

This allows you to search for packages available in your listed repositories.
You can then do a apt-get install <package_name> as root to install

or, if you want a graphical method with a search facility, start synaptic
It shoud be in the menu either in System=>Administration=>Synaptic Package Manager
or
Applications=>Accessories/System Tools, depending on which ubuntu release you have.
You can then start typing what you are looking for in the search box which will filter the results in the box below
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24404429
@climbgunks:

> sudo apt-get install asterisk

> should resolve all the dependencies

There are packages that Asterisk installs and still others that Asterisk only suggests to be installed.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:1030071002
ID: 24404485
root@remote:/home/remotedesktop# sudo apt-get install zlib-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package zlib-dev
root@remote:/home/remotedesktop# sudo apt-get install bison bison-devel
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package bison-devel
root@remote:/home/remotedesktop#
0
 

Author Comment

by:1030071002
ID: 24404488
getting error
E: Couldn't find package zlib-dev

0
 
LVL 11

Expert Comment

by:climbgunks
ID: 24404536

that's because it doesn't exist....   try the other suggestion...

and no, the optional/suggested  packages don't get installed... just the necessary ones... see below:

root@namib:~/puzzle# sudo apt-get install asterisk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-config asterisk-sounds-main libc-client2007 libct3 libgsm1
  libiksemel3 libpri1.0 libradiusclient-ng2 libtonezone1 libvpb0 mlock
  odbcinst1debian1 unixodbc
Suggested packages:
  asterisk-dev asterisk-doc asterisk-h323 kphone ohphone twinkle
  uw-mailutils vpb-utils libct1 libmyodbc odbc-postgresql
Recommended packages:
  vpb-driver-source
The following NEW packages will be installed:
  asterisk asterisk-config asterisk-sounds-main libc-client2007 libct3
  libgsm1 libiksemel3 libpri1.0 libradiusclient-ng2 libtonezone1 libvpb0
  mlock odbcinst1debian1 unixodbc
0 upgraded, 14 newly installed, 0 to remove and 208 not upgraded.
Need to get 6506kB of archives.
After this operation, 15.2MB of additional disk space will be used.
Do you want to continue [Y/n]?


0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24404595
getting error
E: Couldn't find package zlib-dev

sorry the package name is zlib1g-dev.

Also you'll need thse packages:
-  libssl-dev
-  ncurses-dev
-  libnewt-dev
-  gcc-3.4
-  subversion
-  openssh-server
-  build-essential linux-source-2.6.12

0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 500 total points
ID: 24404605
@ climbgunks:

> that's because it doesn't exist....   try the other suggestion...
> and no, the optional/suggested  packages don't get installed... just the necessary ones... see below:

Dear climgunks, what you don't get is these packages are required for compiling the Asterisk. They are not required for binary install.

Since the asker has initially asked these modules it is sure that he needs to compile his asterisk not just install the binary package.

Please try to fully understand the nature of the question before speculating. Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Automating a script for user accounts LINUX 14 70
cannot connect to openvpn server 9 60
Linux hostname change 2 56
Failing ALG SIP test for new VoIP phone system 4 50
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

861 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

24 Experts available now in Live!

Get 1:1 Help Now