PDA

View Full Version : [SOLVED] how to install libgcrypt libgcrypt-devel gcc-c++



msm25
December 1st, 2012, 10:04 PM
Hello,

This command is for centos, how can I install this on a ubuntu server?

yum install libgcrypt libgcrypt-devel gcc-c++

Thank you

Cheesemill
December 1st, 2012, 10:36 PM
Try

sudo apt-get install libgcrypt libgcrypt-devel gcc-c++

msm25
December 1st, 2012, 10:40 PM
this was the result:

# sudo apt-get install libgcrypt libgcrypt-devel gcc-c++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgcrypt
E: Unable to locate package libgcrypt-devel
E: Unable to locate package gcc-c+
E: Couldn't find any package by regex 'gcc-c+'
#

Cheesemill
December 1st, 2012, 10:53 PM
You will have to search for the names of the equivalent packages in Ubuntu.

msm25
December 1st, 2012, 10:57 PM
You will have to search for the names of the equivalent packages in Ubuntu.

Yes I did tried before I made this post, but I ended up to install the wrong packages, that is why I have made this post, to try to see if someone with more experience can help me.

Cheesemill
December 1st, 2012, 11:03 PM
How about:

sudo apt-get install libgcrypt11 libgcrypt11-dev gcc

What software are you trying to compile? There may be an easier way to install all of the dependencies.

msm25
December 2nd, 2012, 12:44 AM
Cheesemill,

Thank you so much for your help, your solution solved my problem. I did google for almost all combinations possible to get the solution but I wasn't able to find it.

Can I ask you, what did you made the search of the names of the package, did you used google? How did you find that gcc-c++ was the gcc only?

Thank you again!

msm25
December 2nd, 2012, 12:48 AM
How about:

sudo apt-get install libgcrypt11 libgcrypt11-dev gcc

What software are you trying to compile? There may be an easier way to install all of the dependencies.

Hi,

it was the FreeRADIUS Plugin to generate the radiusplugin.so file , your solution did work :)

Cheesemill
December 2nd, 2012, 01:24 AM
Can I ask you, what did you made the search of the names of the package, did you used google? How did you find that gcc-c++ was the gcc only?

No, I didn't use Google.

For the first 2 I searched the Ubuntu package database (http://packages.ubuntu.com/) for libgcrypt.
Gcc is a common package that I already knew about.

msm25
December 2nd, 2012, 10:31 AM
No, I didn't use Google.

For the first 2 I searched the Ubuntu package database (http://packages.ubuntu.com/) for libgcrypt.
Gcc is a common paackage that I already knew about.


Thank you Cheesemill !!!