How to install tar.gz in ubuntu

Anonim

How to install tar gz in ubuntu

TAR.GZ - Standard archive type used in the Ubuntu operating system. It usually stores programs designed for installation, or various repositories. Install the software of this expansion will not be so easy, it must be unpacked and assembled. Today we would like to discuss this topic in detail, showing all the commands and step by step by playing every necessary action.

Install the archive TAR.GZ in Ubuntu

In the very procedure for unpacking and preparing the software, there is nothing complicated, everything is performed through the standard "terminal" with the preload of additional components. The main thing is only to pick up the work archive so that after unzipping it has not arisen with installations. However, before the start of the instructions, we want to note that the official website of the program developer should be carefully examined for the presence of DEB or RPM packets or official repositories.

Possible software format options for Ubuntu

The installation of such data can be made much easier. Read more about the analysis of the installation of RPM packets, read in another article, we go to the first step.

The process of installing an additional utility is always successful, so no problems should occur with this step. Moving to further actions.

Step 2: Unpacking the archive with the program

Now you need to connect a drive with a stored archive there or upload an object into one of the folders on the computer. After that, proceed to the following instructions:

  1. Open the file manager and go to the archive storage folder.
  2. Open File Manager in Ubuntu Operating System

  3. Click on it right-click and select "Properties".
  4. Go to the archive properties in Ubuntu

  5. Find out the way to tar.gz - it is useful for the operations in the console.
  6. Find out the place of storage of the archive in Ubuntu

  7. Run the "Terminal" and go to this archive storage folder using the CD / Home / User / Folder command, where the user is the username, and the Folder is the name of the directory.
  8. Go to the place of storage of the archive in the Ubuntu console

  9. Remove files from the directory, scoring tar -xvf falkon.tar.gz, where falkon.tar.gz is the name of the archive. Be sure to enter not only the name, but also .tar.gz.
  10. Unpack the archive to a new folder through the Ubuntu console

  11. You will be familiar with the list of all the data that managed to extract. They will be saved in a separate new folder located on the same path.
  12. List of unpacked files in the Ubuntu console

It remains only to collect all the received files in one DEB package for further normal software installation on a computer.

Step 3: Compiling Deb Package

In the second step, you pulled out files from the archive and placed them in a regular directory, but this will not yet provide the normal functioning of the program. It should be collected by giving a logical view and making the desired installer. This uses standard commands in the Terminal.

  1. After the unzip procedure, do not close the console and go to the created folder immediately via the CD Falkon command, where Falkon is the name of the required directory.
  2. Go to the created folder through the Ubuntu console

  3. Usually, there are already compilation scripts in the assembly, so we advise you to first check the command ./Bootstrap, and in the case of its inoperability to use ./autogen.sh.
  4. Complete Startup command in Ubuntu terminal

  5. If both teams turned out to be non-working, you need to add the necessary script yourself. Sequentially enter the command to the console:

    Aclocal

    AUTOHEADER.

    Automake --gnu --Add-Missing --Copy --Foreign

    Autoconf -f -wall

    Commands for installing a compiler in Ubuntu

    During the addition of new packages, it may turn out that the system lacks certain libraries. You will see the appropriate notification in the Terminal. You can install the missing library using the Sudo Apt Install Namelib command, where Namelib is the name of the desired component.

  6. Upon completion of the previous step, proceed to the compilation, scoring the MAKE command. The assembly time depends on the amount of information in the folder, so do not close the console and wait for the notification of a good compilation.
  7. Compile the unpacked archive in Ubuntu

  8. Last but you will enter Checkinstall.
  9. Check the archive to install in Ubuntu

Step 4: Installing a Finished Package

As we have already mentioned earlier, the method used is used to create a Deb package from the archive for further installation of the program by any convenient ways. The package itself can be found in the same directory where tar.gz is stored, and familiarize yourself with the possible methods of installing it in a separate article below.

Location of the finished installation package in Ubuntu

Read more: Installing Deb Packages in Ubuntu

When attempting to install the considered archives, it is also important to take into account that some of them have been collected by specific methods. If the above procedure does not work, look at the folder itself of the unpacked TAR.GZ and find the readme or install file there to familiarize yourself with the installation descriptions.

Read more