I want to install libssl.0.9.8
Solution 1
In general you should search for software through the software center or if you like the command line, you can use apt-cache search
.
In this case, the following package showed up (on 11.10): libssl0.9.8
You could try to install it (sudo apt-get install libssl0.9.8
). If this does not help, you might want to tell us, which ubuntu version you are using.
Solution 2
On Ubuntu 12.04 64bit version, it worked to install the 32 bit version:
sudo apt-get install libssl0.9.8:i386
But, of course, when you're on 32 bit Ubuntu, this should just work (without the :i386
):
sudo apt-get install libssl0.9.8
Solution 3
If you are using 11.10 (since you did not mention it) you then have libssl1.0.0
which is higher than 0.9.8. Any program that needs 0.9.8 will also be able to handle versions above that one.
If you do NOT have 11.10 then you have several ways:
Go to the OpenSSL site: http://www.openssl.org/ and follow installations there.
-
Go to Ubuntu Packages and download the .DEB from there: http://packages.ubuntu.com/
- LibSSL 0.9.8 - http://packages.ubuntu.com/natty/libssl0.9.8
- LibSSL 0.9.8 - http://packages.ubuntu.com/oneiric/libssl0.9.8
- LibSSL 1.0.0 - http://packages.ubuntu.com/oneiric/libssl1.0.0
-
Go to Debian Packages and dowload the .DEB from there: http://www.debian.org/distrib/packages
- LibSSL 0.9.8 - http://packages.debian.org/squeeze/libssl0.9.8
-
Install it via
apt-get
oraptitude
:-
sudo apt-get install libssl0.9.8
- For 0.9.8 Version -
sudo aptitude install libssl0.9.8
- For 0.9.8 Version -
sudo apt-get install libssl1.0.0
- For 1.0.0 Version -
sudo aptitude install libssl1.0.0
- For 1.0.0 Version
-
senzacionale
Updated on September 18, 2022Comments
-
senzacionale over 1 year
public enum Question { A= 02, B= 13, C= 04, D= 15, E= 06, }
but when i use
int something = (int)Question.A;
i get 2 instead of 02. How can i get 02?
-
Admin over 12 yearsOh well if you do a 2 == 02 it will equal. 2 and 02, int-wise, are the same.
-
Marco over 12 yearsyou simply can't: it's an integer, so the correct result is 2!! 02 is a string and you can't use it as result for enums
-
-
senzacionale over 12 yearsthx Rana. I found original link: codeproject.com/KB/cs/stringenum.aspx
-
sll over 12 years@senzacionale : sorry, I've updated the answer. Forgot to add first parameter placeholder
-
IgorZ about 5 yearsI'm not sure about that you can apply 1.0.0 when you need 0.9.8 because api/headers are different. Compilation will fail if you replace them without any other changes in your code.
-
Simon Sudler over 4 yearsHave you tried that yourself? Did it break your package system?
-
mustafa candan over 4 yearsYeah i have and it solved my problem. I have not see any side effects yet.