1. When installing a software in Ubuntu, there is a prompt that there is no zlib library, so you can search for installation methods online. There are many methods. (1) Search directly in the Software Center and the result is not found. (2) In the terminal input apt-getinsatllzlib1g-dev also failed, appear :( 3) in the terminal input wgethttp: // www.zlib.net/zlib-1.2.3.tar.gz, download first, install (4) directly online download a software package for installation.
1. When installing a software in Ubuntu, there is a prompt that there is no zlib library, so you can search for installation methods online. There are many methods.
(1) Search directly in the Software Center and the result is not found.
(2) In the terminal input apt-get insatll zlib1g-dev also failed, appear:
(3) Enter wget http://www.zlib.net/zlib-1.2.3.tar.gzon on the terminal, download the package, and install
(4) download a software package from the Internet for installation.
2. I first tried the fourth method and directly downloaded a software package. The following line appears when I executed./configure.
Bash:./configure:/bin/sh ^ M: bad interpreter: No such file or directory
Then I searched again and finally did not solve the problem.
3. No way. You can only try other methods. Use the third method above to download an object, as shown below:
But it wasn't long before I was happy, and there was another problem in decompression. See the following:
At first, I thought the command was entered incorrectly and the result was correct. Then, run the file command to view the file and see what the file is. The result is as follows:
File zlib-1.2.3.tar.gz
Zlib-1.2.3.tar.gz: HTML document is not a source code package, but an HTML page, checked to understand.
Original wget requests. This method fails again.
4. No way. I had to find another method. Later I thought it was possible that when I used method (4), there was a problem with the downloaded software package. So I searched and found a new software package, the installation is successful according to the README document.
How can I check whether the installation is successful:
Whereis zlib .*
If the installation is complete, related information is displayed.