Extract files in tar. xz format

Source: Internet
Author: User


Tar. xz format file decompression method by some software is tar.xzformat, using xz command, download xz-5.0.3.tar.bz2 decompression tool, and then compile and install www.2cto.com tar-xf xz-5.0.3.tar.bz2 cd xz-5.0.3. /configure # Check the environment on which the program is compiled, configure the program compilation and installation, and generate Makefile # make sudo make install so that you can use the xz command to decompress tar. xz Z Format File xz-d fcitx-4.2.4.2.tar.xz tar-xf fcitx-4.2.4.2.tar Note: an error was reported while using the xz command: "error while loading shared libraries: xxx. so. x: cannot open shared object file: No such file or directory "generally, when running some external programs in Linux, the system may prompt that the shared library cannot be found, generally, two (1) operating systems do not contain the Shared Library (lib *. so. * file) or the version of the shared library is incorrect. In this case, download and install it online. the shared library has been installed on www.2cto.com (2), but when you execute the program that needs to call the shared library, the program cannot find the shared library file according to the default shared library path. 1.1 If the shared library file is installed in the/lib or/usr/lib directory, run the ldconfig command, it mainly searches for directories (/lib and/usr/lib) by default and dynamic library configuration files/etc/ld. so. search for the shared dynamic link library (Format: lib *. so *) to create a dynamic loader (ld. so) the required connection and cache file. the default cached file is/etc/ld. so. cache. This file stores the list of Dynamic Linked Library names in the sorted order. 1.2 If the shared library file is installed in/usr/local/lib (many open-source shared libraries are installed in this directory) or other "non-/lib or/usr/lib" directories, add the new Shared Library directory to the shared library configuration file/etc/ld before executing the ldconfig command. so. conf, as follows: # cat/etc/ld. so. confinclude ld. so. conf. d /*. conf # sudo sh-c 'echo "/usr/local/lib">/etc/ld. so. conf '# ldconfig 1.3 if the shared library file is installed in another "non-/lib or/usr/lib" directory, but you do not want to be in/etc/ld. so. add path in conf (or do not have permission to add path ). you can export a global variable LD_LIBRARY_PATH, and then find the shared library in the directory when running the program. LD_LIBRARY_PATH indicates the directories in which the loader can find the shared library. you can set multiple search directories separated by colons. for example, if you have installed a mysql file to the/usr/local/mysql directory, a large number of library files are under/usr/local/mysql/lib. bashrc or. add the following statement to bash_profile or shell: export LD_LIBRARY_PATH =/usr/local/mysql/lib: $ LD_LIBRARY_PATH. Generally, this is only a temporary solution, use it when you do not have the permission or need it temporarily. download xz URL: http://download.chinaunix.net/download/0014000/13078.shtml
 

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.