It is designed for computers based on i686 and x86-64 architectures.Common Filenames ![]() NOTE: Arch Linux is a Linux distribution first released in 2002. files are created when the makepkg utility is run, which compiles software installation files into a file. ![]() Pacman includes tools such as makepkg, pactree, checkupdates, and vercmp. The PKG file contains software that is installed in the Arch Linux distribution using Pacman, a package manager that assists in the installation, upgrading, configuring, and removing of computer software. XZ compression, which allows the software package file to be more easily distributed. TAR archive that has been compressed using. The file consists of a software package stored in a. It contains binary files and installation instructions used by pacman for installing software. For more information about everything we can do, you can go to the page man xz.A file is a package file used by pacman, a package manager included with Arch Linux and Arch Linux based operating systems (OS). In this article, we only look at some examples for compressing and decompressing. This is a good tool for compressing files. Using -l we can see the information about a compressed file. We can test the integrity of the compressed files using the -t option. Tar -cJf *.txt Check the integrity of compressed files To achieve this same end, we can also use: The following is an example of the use to get a file with the extension tar.xz. Xz -k -qv android-x86_ Create a tar.xz file We can also enable the verbose mode with -v, as it's shown in the following: xz -k -q android-x86_ If we are interested in executing the compression in silent mode, we will only have to add the -q option. In case of having a small amount of system memory and wanting to compress a huge file, we will have the possibility of using the -memory option = limit ( the limit value can be in MB or as a percentage of RAM) to set a memory usage limit for compression: xz -k -best -memlimit-compress=10% android-x86_ Enable silent mode Some examples of how to set these levels are the following: xz -k -8 android-x86_ We will also be able to use aliases as –fast ( it will be fast, but with less compression) to set as value 0 and –best to set as value 9 ( slow but higher compression). This tool supports different preset levels of compression ( 0 to 9. If an operation fails, for example if there is a compressed file with the same name, we will use the -f option to force the process: xz -kf android-x86_ Set compression levels We can also achieve the same with the option unxz: unxz android-x86_ Force compression To decompress a file, we will be able to use the -d option: xz -d android-x86_ Yes we do not seek to delete the source files, we will use the -k option As follows: These commands will compress the file, but will delete the source file. You can also use the -z option to perform compression: xz -z android-x86_ In the terminal (Ctrl + Alt + T) we write: 1.8 Check the integrity of compressed filesĮl simplest example Compressing a file with xz is as follows.In conclusion, if we want compress a file looking to occupy as little space as possible, we have the option to compress it with xz. xz files are used to compress and decompress data, so that the transfer of files over the Internet or the storage of information on hard drives occupies less. However, when we use the default compression settings, it will require more memory to decompress. An example of this would be jpeg, MP3, MPG, etc.Ĭompared to "gz" files, "xz" has a better compression ratio and shorter decompression time. These omit some information seeking to considerably reduce the size of the original file. Unlike compressors that use algorithms of the type lossy. They are known by that name because they do not omit information from the file when compressing it. The LZ77 compression algorithm belongs to the family of lossless compressors, also known as text compressors. ![]() It uses a compression dictionary scheme similar to LZ77. This algorithm began to be developed in the late 90s. The compression method used by these files is based on the algorithm of Lzma/ LZMA2. The use of this tool is similar to gzip and bzip2.Ĭan be used for compress or decompress files according to the selected operating mode. A colleague told us about her some time ago in an article about how to zip and unzip files in Ubuntu. In the next article we are going to take a look at the xz compression utility.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |