Score:-1

I have never been able to install software in Ubuntu from an extracted tar.gz file. no matter what I try. is this a sick joke or is there a solution?

mn flag

So far none of the answers from other threads work. Ive been an experienced Linux user for many years, except for this one major issue, which is why it feels like a bad joke on me. I have probably downloaded hundreds of tar.gz files, and none have ever included a config or install file and I always get the "no such file or directory" response. I'm starting to think you guys are all messing with me. Is there any real solution?

us flag
Which software did you try to install? If you don't give more details, we really cannot help you.
user535733 avatar
cn flag
Software distributed using .tar.gz files is indeed a pain to install and maintain. That's why most developers migrated to better and easier methods (starting with deb packages) over 20 years ago. As an experienced Linux user, you know that already.
Score:1
cn flag

It is not a sick joke, certainly not. A tar.gz is an archive file. Same as a .zip file. Contains compressed data. Can contain anything, from pictures over documents and source code to executables.

Briefly, you cannot just "install" a .tar.gz file. Nevertheless, some applications are available as source code packed in such a file, others contain a directly executable program. How one needs to handle such a file should be documented by the program developper. If you get a no such file or directoryresponse, then you did something (which you did not indicate) where you did not specify an existing directory.

Your solution is to be careful in what you attempt to download and install, and proceed only provided there is some reason to trust it, and it is all documented, either on a website or by a README file in the archive. Still, prefer to obtain software from trusted sources through the software center. Otherwise, make sure you know what you are doing.

bradly avatar
mn flag
Yes but do you know a way to compile the extracted files? Everything Ive ever read tells me there should be a config file, a make file and / or an install file, and this is never the case regardless of how I extract the zipped folder, which is why I get the "no such file or directory" response. Do you have a solution to this?
vanadium avatar
cn flag
Ask a better and more specific question, and likely you will have concise help. You should point to a specific file you attempt to install.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.