I want to install ZLIB in the Linux server. My server account is: /home/myname . I download and extract ZLIB on my account properly. Then, I enter to ZLIB1.2.6 folder and run the command:
./configure --prefix=/home/myname/zlib
But, it gives error:
-bash: ./configure: Permission denied
Can anybody help me why is this happening ?
1 Answer. Show activity on this post. On Ubuntu if you install Python 3 using apt, e.g. sudo apt install python3. 8 , zlib will be installed as a dependency.
Ok, if you are using Debian, you should do:
su
to become root
apt-get update
to refresh the package lists, then
apt-cache search zlib
to check the relevant packages in the lists you have just updated, then
apt-get install <whatever_package_you_found_earlier>
I suggest using regular expression as search strings for apt-cache, since they are more accurate, as in
apt-cache search ^zlib
to return only package names starting with zlib
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With