Ubuntu system installs software with tar files

Source: Internet
Author: User
Keywords Ubuntu install software tar file
Tags .gz .net aliyun data developer file files home page

Files in the tar format are another popular software installation file. They can usually be downloaded from the http://www.aliyun.com/zixun/aggregation/6434.html ">" ">" ">" "" Software developer's home page or an online software library such as Http://www.sourceforge.net.

The tar command in Linux is used for archival files, and this file usually has a ". Tar" file suffix name. These files are often compressed. gzip format, and in this case their suffix names will be ". tar.gz" or ". tgz". The command to extract data from both of these files is similar. When extracting a tar file, the command to extract the data is "TAR-XVF filename. Tar". When extracting files, the command to use is "TAR-XZVF filename. tar.gz".

In the Tar file installation method, you first extract the file and extract the contents in a local subdirectory, which is usually the same as the name of the tar file. Usually this subdirectory will have a file called Readme (read Me) or install (install), which outlines all the steps required to install the software.

The following are the first steps to install the TAR based software:

1 Enter the tar command to extract the data from the specified file.

[Root@bigboy tmp]# Tar-xvzf linux-software-1.3.1.tar.gzlinux-software-1.3.1/linux-software-1.3.1/plugins-scripts/ ... Linux-software-1.3.1/linux-software-plugins.spec[root@bigboy tmp]#.

This is creates a subdirectory with the installation files inside.

[Root@bigboy tmp]# lslinux-software-1.3.1 Linux-software-1.3.1.tar.gz[root@bigboy tmp]#

2 Use the CD command to enter the generated subdirectory and follow the instructions listed in the Readme and install files:

[Root@bigboy tmp]# cd linux-software-1.3.1[root@bigboy linux-software-1.3.1]# lscopying install-sh missing Pluginsdepcomp LEGAL mkinstalldirs plugins-scriptsfaq Lib Linux-software.spec readmehelper.pm Linux-software.spec.in requirementsinstall makefile.in NEWS subst.in[root@bigboy linux-software-1.3.1]#

It is frustrating to install the software in tar files, often requiring installation of other support tar files, and each with a specific installation command. In contrast, RPM or deb can be installed in a standard command format and simple to use, which may be a better approach for Linux novices.

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.