How to install tar gz windows

How to install tar gz windows

How to Install Tar.gz

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Tar files are a collection of files wrapped up into a single file. Tar.gz files use the standard gnu zip(gzip) compression. Due to their portability, you don’t need any extra software to unbundle them in Linux/macOS.

Because of this, the source code of open-source software is generally packaged as tar.gz files. Using system-provided package managers is an easier way for installation. But, not all software is available across all Linux systems. Also, the type of licensing may prevent some applications from being available altogether. This is where the tar.gz build system comes in.

Table of Contents

How to Install Tar.gz

How to Extract Tar.gz Files

You can decompress a tarball in one of two ways. Most Ubuntu-based distros come with the Archive Manager application. Use either one of these approaches as you see fit.

Extract Tar.gz Files Using Archive Manager (Ubuntu/kali Linux/ Mint/ Debian)

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Extract Tar.gz Using the Command Line (All Linux Flavours + Macos Any Version)

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to Extract Tarfile in Windows

If you are using Windows 10 or newer, you can use tar utility from Powershell. If using an older version, you need to install extraction software to get files from tar.gz. This article lists some of the popular software used in Windows PC.

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to Install Tar.gz File

For our purposes, we will examine the steps by installing a free application. The name of this application is KeePassX. Check their website for more information.

After following the above steps, we have the files we need under /home/foo/Downloads/keepassx-2.0.3.

The concept of this process is easy to follow.

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

First, we build our configuration, and then we compile it for our Operating System. This process applies to any distro or any flavor of Linux with all tarball applications. Of course, every application has different config files. But they all follow the above general pattern for the installation process.

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

What is Dependency Error When Trying to Run cmake or configure?

This means you don’t have the required dependencies installed in your system. If you look at the INSTALL file, you will be able to see the list of dependencies. For Ubuntu-based systems, use apt-get install to install dependencies as shown below.

What Error Do We Get When Using cmake?

Cmake stores errors in CMakeError.log. This can happen when one or more dependencies are installed but don’t have the required versions. Refer to this article to install the correct versions of packages.

Autoconf application is missing. Newer Ubuntu versions don’t ship autoconf utility by default. This can be solved by installing it as sudo apt-get install autoconf.

If you want to read more about the source installation process, follow this website.

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Tech enthusiast. Windows. Linux. Security. Networking.

Tar — как запаковать и распаковать tar gz и tar bz2

Что такое Tar

Как установить, создать архив Tar и распаковать его в Windows

Чтобы использовать Tar в Windows, нужно воспользоваться одним из следующих вариантов:

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Создание архива в Far Manager

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Как распаковать Tar в Far Manager

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Скачать 7-zip архиватор

Всё управление — создать архив и распаковать его — через ПКМ и Проводник Windows

Как запаковать архив tar.gz и tar.bz2 в Ubuntu, Debian, CentOS

где tar — команда, cfvz — ключи, archive.tar.gz — имя будущего архива, *.php — список файлов, которые нужно заархивировать.
Список можно заменить директорией, которую нужно запаковать целиком, для этого указываем путь до неё, абсолютный или относительный

Теперь подробнее про ключи

Вместо GZip и BZip2 можно пользоваться иными архиваторами, для этого просто нужно подобрать соответствующий ключ.

Важный момент — чтобы исключить ошибки, не указывайте слеш / в конце пути исключаемого каталога.

Как распаковать архив tar.gz и tar.bz2 Ubuntu, Debian, CentOS

Просмотр архивов tar в Linux

Иные возможности tar

Tar имеет много дополнительных возможностей, к примеру, добавление файлов в существующий архив, исключение некоторых файлов и директорий при запаковке архива и так далее. Подробнее вы можете узнать о них при помощи команды

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

A file using .tar.gz format is a file that has been created using the Unix-based archival application tar and then compressed using the gzip compression. These files are often referred to as “tarballs.” While you can find them with a double extension (.tar.gz), the extension can also be shortened to .tgz or .gz.

Typically, tar files are more common with Ubuntu (other Linux distros) and macOS users for data archival and backups. However, Windows 10 users may also come across these files, which is a reason to have a way to extract its contents.

While you can use third-party apps (such as 7-Zip and PeaZip), these apps do not always work as expected with tarballs created on another platform, and they are slow to uncompress a large number of files. However, Windows 10 now includes native support for tar files, and you can use Command Prompt to extract these files. Or you can even use the Windows Subsystem for Linux (WSL) that includes native support for Ubuntu, Fedora, SUSE, and many other distros. Therefore, you can also access many Linux tools, including tar, to quickly extract content from tarballs.

Open Start on Windows 10.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

Type the following command to use tar to extract the files and press Enter:

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windowsNative tar support on Windows 10

Once you complete the steps, you will have all the files and folders extracted to the destination path you specified after a few moments.

It is assumed that you are extracting a tarball created on another system. We are skipping some arguments usually necessary to preserve permissions, which on Windows 10 are not required to access the files.

On Windows 10, to use tar on Linux, you need to install the Windows Subsystem for Linux (WSL) and a distro like Ubuntu from the Microsoft Store.

To extract a .tar.gz file using Linux on Windows 10, use these steps:

Open Start.

Search for Ubuntu and click the top result to open the app.

Type the following command to extract the content of the .tar.gz file and press Enter:

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windowsTar command on Windows 10

In the above command, we type sudo to run the application as an administrator, tar to call the application, and then we fed it some arguments, including:

-C — (hyphen and capital C) is used to tell tar to change folders. When you’re executing a command, you start in the source folder, and then you need to specify the destination folder, which is the path we specified to complete the command. You can extract the files to any folder you want, but remember to start the path with /mnt/ followed by the Windows path.

You must pay attention to uppercase and lowercase while typing a Linux command as Desktop is not the same as desktop.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

Installing Tar.gz or Tar.bz2

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Introduction: Installing Tar.gz or Tar.bz2

How to install tar gz windows. Смотреть фото How to install tar gz windows. Смотреть картинку How to install tar gz windows. Картинка про How to install tar gz windows. Фото How to install tar gz windows

Let’s say you are a moderately experienced Linux user, and you want to install an application off the Internet but it doesn’t have a nice package that works on your system.
A lot of users, even quite experienced ones, have issues with going from the tarball to the installed program because they just do not know the fairly easy steps required to get the job done. But it’s only easy if you already know how to do it! So, here’s a quick instructable about how to install stuff from developer sites.

Step 1: Step 1: Prep Your System for Building Packages

By default, Ubuntu does not come with the tools required. You need to install the package build-essential for making the package and checkinstall for putting it into your package manager. These can be found on the install CD or in the repositories, searching in Synaptic Package Manager or the command-line apt-get:

sudo apt-get install build-essential checkinstall

And since you may want to get code from some projects with no released version, you should install appropriate version management software.

sudo apt-get install cvs subversion git-core mercurial

You should then build a common directory for yourself where you’ll be building these packages. We recommend creating /usr/local/src, but really you can put it anywhere you want. Make sure this directory is writable by your primary user account, by running

and, just to be safe

sudo chmod u+rwx /usr/local/src

After you’ve done this, you’re set up to start getting the programs you need.

Step 2: Step 2: Getting the Software You Want

and for bz2 the similar command:

In the rare case of getting a program from a cvs or subversion repository, the developers will generally provide instructions on how to do this on their website. If you already installed the packages listed on Step 1, you just need to change to your /usr/local/src directory (cd /usr/local/src) and run the commands that are listed. The procedure will vary from program to program, so I can’t help you here, but with the given packages the instructions they provide should work smoothly.

Step 3: Step 3: Resolving Dependencies.

sudo apt-get install requiredpackage

Step 4: Step 4: Build and Install.

If you got this far, you’ve done the hardest part already. Now all you need to do is run the command

which does the actual building (compiling) of the program.
If it’s a large program or if you’ve got a very slow computer, go and get a cup of coffee or something. If you have a multi-core processor you can also set the variable CONCURRENCY_LEVEL to the number of processors/cores you have to speed things up a little.
When its done, install the program. You probably want to use

which puts the program in the package manager for clean, easy removal later. This replaces the old sudo make install command. See the complete documentation at CheckInstall.
Note: If checkinstall fails you may need to run the command like

Which should allow the install to complete successfully. Bugs: 78455 & 599163
Then the final stage of the installation will run. It shouldn’t take long. When finished, if you used checkinstall, the program will appear in Synaptic Package Manager. If you used sudo make install, your application will be installed to /usr/local/bin and you should be able to run it from there without problems.
If this all seems way too hard for you, don’t fret. You’re using Ubuntu after all, and it has all of the programs that you actually need to get your work done already packaged for you. If there isn’t a package out there, the odds are that you really don’t need the program and within a few months someone will have packaged it for you. The only programs you actually need to build and compile like this are programs that are new and perhaps not yet stable or ready for your desktop. If you think this procedure is too hard, well maybe you ought to reconsider why you want to do this and just wait a few months for the next stable release. But it can be a good learning experience for you.
If your desired package is quite important and you think it deserves to be in Ubuntu properly, perhaps contact the Masters of the Universe and see if they can do the hard work for you — if they package something, anyone can install it without having to go through this procedure. But if you can get through all this, you’re well on your way to becoming an expert Linux user — you’d be surprised how easy all this seems after you’ve done it just a few times. Good luck!
Easy meaning «easier than tearing your hair out and then screaming about how much Linux sucks while running around the room». Not actually easy.

Step 5: Editor Comments

I got this off the Ubuntu website and pretty much summarized it like my last instructable i plan on doing more of these if they turn out ok 🙂 here is the website i got it off

Шаг 9. Установка программ

Время от времени появляются новые задачи либо необходимость в решении старых задач новыми способами — тогда возникает потребность в дополнительном программном обеспечении. Что делать, если вам нужна новая программа для Linux? Попробую описать некий алгоритм.

1. Надо понять какое именно решение вам нужно. Для этого можно использовать поисковые системы. Формировать запрос о своей проблеме и выбирать подходящие решения.

2. Теперь необходимо понять какая программа нам позволит решить эту проблему. В Linux существует большое число аналогов одних и тех же программ, и среди них надо выбрать лучшую по важному для вас критерию, например: функционал, скорость, удобство, безопасность, бесплатность. Программу ищем также в поисковой системе, но запрос формируем уже для конкретного решения проблемы.

3. После того, как мы выбрали уже конкретную программу — можно приступать к ее поиску. Открываем Synaptic и с помощью поисковой формы пытаемся найти нужное приложение. Вместе с ним мы можем обнаружить множество расширений и дополнительных модулей. Ставим все что надо — это лучший вариант. Приложения в репозиториях обычно протестированы и работоспособны.

Если приложение не найдено в репозитории, то можно поступить двумя способами — либо поискать его аналог, который присутствует в репозитории, либо найти данное приложение вне репозиториев:

3. Если нам не повезло и программа настолько редкая, что deb-пакета для нее нет, то смотрим в каком виде она вообще распространяется.

Установка приложения из tar.gz

Часто приложения распространяются в архивах tar.gz. Этот формат не так удобен в Ubuntu, так как это не пакет, а просто архив, в котором могут быть как исходные коды, так и скомпилированные приложения и библиотеки.

Установка из tar.gz:

1. Распаковываем архив в отдельную директорию.

2. Если есть исполняемый файл — запускаем и пользуемся, если нет — читаем раздел «Компиляция».

Установка приложения из SVN

SVN — Subversion. Это система контроля версий кода, в которых хранится исходный код приложений, особенно Open Source.

1. Создаем директорию для нашего приложения.

2. Открываем терминал в директории (cd ‘путь/к/директории’);

3. Скачиваем исходные коды:

svn co (SVN-адрес)

4. Читаем раздел «Компиляция».

Установка приложения из CVS

CVS — Concurrent Versions System. Это также система контроля версий кода.

1. Создаем директорию для нашего приложения.

2. Открываем терминал в директории (cd ‘путь/к/директории’);

3. Скачиваем исходные коды:

4. Читаем раздел «Компиляция».

Установка приложения из RPM

rpm-пакеты не родные для Ubuntu. Существует утилита alien, с помощью которой можно установить как обычные (sudo apt-get install alien). С ее помощью можно переконвертировать rpm-пакет в deb-пакет. Очень проста в использовании:

И в директории с rpm-пакетом появится deb-пакет. А его мы уже без труда установим.

Компиляция

1. Открываем терминал в директории с нашим приложением (cd ‘путь/к/директории’);

2. Смотрим информацию о конфигурировании приложения:

Смотрим вывод и решаем с какими параметрами надо конфигурировать. Если эта команда выдает ошибку — значит конфигуратора нет. Если конфигуратор присутствует — конфигурируем:

Можно эту команду выполнить без аргументов — будет стандартная конфигурация.

В ходе конфигурации могут быть ошибки — обычно недостаток модулей. В случае возникновения ошибок, сразу идем в поисковую систему и ищем решение.

3. Компилируем приложение:

В ходе компиляции могут быть ошибки. В случае ошибок, вам снова поможет поисковая система.

После компиляции мы получаем готовый исполняемый файл, который в большинстве случаев можно запускать и использовать.

Если приложения требует инсталляции, то выполняем (понадобятся права администратора — вспоминаем команду sudo):

Эта команда скопирует файлы приложения в необходимые системные директории.

5. Пользуемся приложением.

Приложения, установленные таким образом, могут быть удалены с трудом. Поэтому, советую почитать про программу checkinstall.

Чтобы быть в курсе моих статей, можно подписаться на RSS-канал.

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *