Thursday, May 9, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2628  / 3 Years ago, sat, may 1, 2021, 3:18:18

What is the difference between a .tar.gz file, a .tar.xz file and a .deb file? Are all of them archives? When I download a software from the Internet, I sometimes get a .deb file, but sometimes I also get a .tar.gz file. Do, I treat the installation of a .tar.gz file differently from that of a .deb. I usually install .deb files using the comman line instruction sudo dpkg -i <filepath.deb>. Do, I do the same with the .tar.gz file or something different?


More From » package-management

 Answers
0

This is for compiled packages



With most tar.* files, just extarct the file, and look for the files README and INSTALL.





This should work - open terminal and run it - it will extract the file, change terminal to the extracted directory, and then open File Manager nautilus in that directory.



tar -xf /PATH/TO/PACKAGE-NAME.tar.*
cd PACKAGE-NAME
nautilus .


The README file usually has some usful information, anf the INSTALL file give the installation instructions. Sometimes those are in the README. You can then run the commands given, if they have a ./ you need to run cd PACKAGE-NAME first.


[#27401] Saturday, May 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gigglcept

Total Points: 113
Total Questions: 105
Total Answers: 125

Location: Christmas Island
Member since Wed, Jan 13, 2021
3 Years ago
gigglcept questions
Mon, Jul 5, 21, 19:38, 3 Years ago
Thu, May 27, 21, 13:35, 3 Years ago
Tue, Feb 8, 22, 09:59, 2 Years ago
Fri, Dec 16, 22, 12:32, 1 Year ago
;