Today, I encountered a problem. After running the python 2.7 installed in the/opt directory, I found that an error occurred while using the zlib library. After searching online, I got the answer,
You need to install the alib1g-dev before compiling python2.7, and then compile python2.7 so that zlib can be compiled into python together.
Zlib1g-dev
Error message:
Zipimport. ZipImportError: can't decompress data; zlib not available
You need to
For details about how to use the linux tar command to compress, view, decompress, and use the tar command
Command prototype:
Tar [Option…] [FILE]…
New
-C,--create creates a new compressed file
View
-T,-list: list archived content
Extract
-X,-extract,-get to extract files from the archive
Auxiliary options
-F filename: file name followed by file
-Z use bzip2 for compression and decompression. The suffix is commonly used * .tar.bz2
-J. Commo
How to decompress the iso image file in linux. the iso file format is iso9660, and iso9660 is a file system on cd, that is, www.2cto.com is the form of Data Organization on cd. Some of its restrictions are: 1. A maximum of 8 sub-directories (you can use RockRidge Extension to increase the limit) 2. A file name with a maximum of 32 characters 3. After copying the iso file to a linux machine, we can decompress
Sometimes we need a file in the RPM package. How can we decompress the RPM package?
Rpm is packaged in the cpio format, so you can convert it to cpio and decompress it, as shown below:Rpm2cpio XXX. RPM | cpio-Div
For example:
[Root @ localhost Oracle] # rpm2cpi oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm | cpio-Div./Usr/lib/Oracle/11.2/client/bin/adrci./Usr/lib/Oracle/11.2/client/bin/genezi./Usr
Tags: Android style blog color Io ar file SP DivTarXaf cmakelists.Tar. Bz2-C heroThese cmake files are previously written.Here is a rough summary, and then I will study it and make a detailed summary.
Orchestrate cmake files based on the principle of minimal relevance
Library is a third-party Lib. Only lzmalib needs to write the cmake file. This is easy to rewrite. You can refer to the makefile of Android in the jni directory.
There are two parts under dev_head, HP and new3d, which a
Previously, I wrote a script to automatically decompress the compressed file to the folder where the compressed file is located.
And then write the other two according to your needs. Same principle
Both use WinRAR commands
The first script is not considerate. You can only decompress the rarfile.
Improved support for various files supported by WinRAR
Save the files in the specified folder to the specified
page, then compile and install [[email protected] arrix] # tar-XF xz-5.0.3.tar [[email protected] arrix] # cd xz-5.0.3 [[email protected] arrix] #. /configure [[email protected] arrix] # Make [[email protected] arrix] # make install can also be installed using the yum source in fedora, [email protected] arrix] # Yum search xz [[email protected] arrix] # Yum install xz. i686 Sometimes there is no need to reinstall the system, and the system will use commands directly. In this way, you can use th
bunzip2 command to decompress the filename. TBZ file, the filename. TBZ file will be deleted, followed by the filename.tar file.
You can also use a command to expand and release the archive bzip tar file:Tar-xjvf filename. TBZ
To create a file archived and compressed with tar and gzip, use the-Z option:Tar-czvf filename. tgz File
This command creates an archive file filename.tar and compresses it into a filename. tgz file (the file filename.tar
Use PHPZip to decompress the file
#
# PHPZip v1.2 by Sext (sext@neud.net) 2002-11-18
# (Changed: 2003-001)
#
# Makes zip archive
#
# Based on "Zip file creation class", uses zLib
#
#
Class PHPZip
{
Function Zip ($ dir, $ zipfilename)
{
If (@ function_exists ('gzcompress '))
{
$ Curdir = getcwd ();
If (is_array ($ dir ))
{
$ Fileli
Example of how to decompress a file or string using gzip in php
/**
* Php custom gzdecode decompress the gzip file
* Edit bbs.it-home.org
*/
If (! Function_exists ('gzdemo ')){
Function gzdecode ($ data ){
$ Flags = ord (substr ($ data, 3, 1 ));
$ Headerlen = 10;
$ Extralen = 0;
$ Filenamelen = 0;
If ($ flags 4 ){
$ Ext
After downloading the compressed package on the Internet, you cannot decompress the package on the terminal-General Linux technology-Linux technology and application information. For more information, see the following. I used ubuntu12.04 and 32bit. I recently found that I used the terminal to decompress the file after I downloaded the compressed package on the Internet. there will always be No such file or
Decompress IMG and unyaffs files
For more information, see the following website:Http://blog.chinaunix.net/space.php? Uid = 25832818 Do = Blog id = 3039340Android image compression and decompression)In the Android-SDK folder, platform stores the corresponding Android platform.The term platform represents the Android platform, including all binary files,CodeLibraries and tools. The emulator provided in the SDK is only one of the many com
Use ZipArchive to decompress the ZIP file in the project. the Test environment is in the WINDOWS platform and passes the test, changing to a LINUX + nginx environment causes a problem (the ZIP package contains more than 3 hundred files and folders, most of which are file names with Chinese characters ), the problem is that ZipArchive is used to decompress the ZIP file in the project. at first, the test envi
Generate a zip file and decompress it. if the file is damaged, I use the compression class to compress some images and xml files into a zip file, but if the transfer type is binary during ftp download, the zip file is opened normally. if it is ascii, the zip file is damaged. In addition, Firefox and Google browsers are used to directly download the zip file, generate a zip file, and decompress the file with
Files suffixed with *. zip.001 cannot be decompressed with WinRAR
The solution is to open the command line interface in windows.
Input: copy/B xx.zip.001+xx.zip. 002 xx.zip
Then, use winrarto decompress xx.zip.
On a Linux terminal:
Cat xx.zip. 001 xx.zip. 002 xx.zip
Unzip xx.zip
During the execution, you need to complete the following image before using the new folder, which is a zip suffix, and then deco
Installation text tutorial for mysql5.7.14 decompress version, text for mysql5.7.14
MySQL is divided into the Community edition (Community Server) and the Enterprise Edition (Enterprise). The difference is that the Community edition can be freely downloaded and free of charge, but the official Community Edition does not provide technical support, suitable for common users; the Enterprise Edition is charged and cannot be downloaded online. It provides
Decompress the uploaded ZIP file using PHP (for conversion)Caoli was published on 10:48:20 PHP programming Forum return pageNot long ago, when I browsed the webpage, I accidentally found that the home page bus www.chinaren.com was able to automatically decompress the uploaded ZIP file, more interesting to me is that its function is to use PHP. Considering that I will also use some PHP, I decided to try it.A
Install and delete mysql by decompression, and decompress mysql
1. Install mysql
(1) decompress the downloaded mysql compressed file to the directory where mysql needs to be installed.
(2) Open the decompressed folder, copy the default. ini file, and rename it my. ini. The configuration of this file is as follows:
(3) Add the mysql installation Path to the Path variable in the system environment variabl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.