B
B
Bogdan1002021-04-17 23:52:40
linux
Bogdan100, 2021-04-17 23:52:40

How to install tar.xz tar.bz2 tar.gz program on ubuntu?

Hello, I downloaded three programs, but they have different extensions such as tar.gz, tar.xz, tar.bz2. Can I have instructions on how to install these programs for each extension? I'm just a teapot (so far) at this....
Thanks in advance

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
alegzz, 2021-04-17
@alegzz

It's best to read the manual on how to install. files with such extensions are not programs, but archives, you can unpack them with the tar xvf <file name> command,
or even better, find the repositories of these programs

J
justhostRU, 2021-04-18
@justhostRU

As a rule, an archive with raw materials is installed in three stages
: 1. unpacking
2. ./configure configuration and additional installation of the required
libs 3. make -jN compilation,
make install - installation into the system.
!!!Important. in packaged distributions, it is better not to execute 'make install' so as not to litter the system, but to run the compiled program directly from the user's home directory

A
Alexander Karabanov, 2021-04-18
@karabanov

Use prebuilt binary packages, don't mess with building from source if you don't understand how it can help you.

G
ge, 2021-04-18
@gedev

It looks like you have downloaded the source codes of the programs. tar.xz , tar.bz2 , tar.gz are just archive formats. The tar utility can work with each of them . The archives will also open with the standard Ubuntu archive manager.
Since you are a beginner, it will be easier to find this program in the repository and install it through the package manager. Get used to it, it's much more convenient. For example:
sudo apt install firefox
You can find out if the program is in the repository on the site: https://packages.ubuntu.com/
Or by searching in the terminal:
apt search firefox
The command will show a list of packages, if such can be installed.
Some programs that are distributed as archives may work immediately after unpacking, but more often it is necessary to compile the program. In this case, look for instructions on the site from where you downloaded the archive with the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question