Announcement

Collapse
No announcement yet.

Updating tar.gz

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Updating tar.gz

    When I install a program as a tar.gz file, is it updated with the sudo apt update command? Or do I have to go another route for those installs? If so, what's the method used?

    #2
    No, generally speaking. But it depends on what is inside. A tar.gz is just a compressed archive like a zip file.

    Apt only deals with Debs provided by a repository..

    What sort of thing are you looking at here?

    If it's an application that's been compiled from source code you don't update it, you download and compile the new version yourself.

    If it's a driver, it *may* recompile a new module when there is a new kernel, but the actual code is not updated, you'd need to download a new version yourself.




    Comment


      #3
      Okay, what about a browser such as the tor browser? Would I need do download the new version for every release that comes out? And also, would that mean that I would lose all of my bookmarks?

      Comment


        #4
        Originally posted by Cincinnatus View Post
        Okay, what about a browser such as the tor browser? Would I need do download the new version for every release that comes out? And also, would that mean that I would lose all of my bookmarks?
        I don't know. The browser *may* update itself, you need to find out from them if it does so.
        Firefox, for example, when run fro\m a tar file DOES self-update, but Mozilla themselves provides this functionality.

        As to bookmarks, most likley no, as the actual user settings are probably in a dedicated directory in your home dir, separately from the application binaries.
        Again, you need to see if Tor follows this standard or not. It might not. If it does keep this data inside the tor folder itself, it probably is just a matter of copying the bookmarks dir to the new one.

        Comment


          #5
          Originally posted by claydoh View Post
          No, generally speaking. But it depends on what is inside. A tar.gz is just a compressed archive like a zip file.

          Apt only deals with Debs provided by a repository..

          What sort of thing are you looking at here?

          If it's an application that's been compiled from source code you don't update it, you download and compile the new version yourself.

          If it's a driver, it *may* recompile a new module when there is a new kernel, but the actual code is not updated, you'd need to download a new version yourself.



          You say "Apt only deals with Debs provided by a repository" so in a situation such as this ( https://github.com/FreeTubeApp/FreeT...23.5_amd64.deb ), is this coming from a repository? If so, how would I know that? Or what would tell me that it's not coming from a repository? Thanks

          Comment


            #6
            Originally posted by Cincinnatus View Post
            so in a situation such as this ( https://github.com/FreeTubeApp/FreeT...23.5_amd64.deb ), is this coming from a repository?
            No, you manually downloaded and installed it, you did not set up a repository for anything.

            it is from a repository if you:
            • Did not manually download a file.
            • You installed from Discover

              Click image for larger version  Name:	Screenshot_20250623_082422.png Views:	0 Size:	36.7 KB ID:	687209
            • used the add-apt-repository command before installing an app in Discover/Synaptic/command-line
              This command is used to add PPAs, which are user provided mini-repos.
            • Installed using Synaptic Package Manager
            • Installed using apt on the commandline without referencing a deb file, but just a name.
              sudo apt install freetube
              and not
              sudo apt install /home/meeee/Downloads/freetube_0.23.5_amd64.deb


            I have no idea if the freetube deb add a repo of some sort. What does the project's documentation say? Nothing, at least nothing quickly.

            An example without clear mention is Google Chrome -- the deb for the browser does add an apt repo to the system, and doesn't blatantly tell you this.
            MOST standalone debs will not. it is up to you to find that out.

            Ok, the freetube deb here does not add any repo to your system, after looking at its contents.

            Most projects will have instructions on how to add their external apt repo, if such is available.


            Spotify, for example


            Many to most will point to flatpak or snap, though smaller projects may not. There is no rule or rhyme.

            Now, Snaps and Flatpaks add confusion here, but luckily these can only be installed from their respective repositories.
            These are packaging systems that do not depend on any one distro's native packaging systems.


            But: tl;dr
            Install stuff from your app store -- Discover -- and it will come from a repository.
            Enable Flatpak in Discover's settings, restart Discover (may require a reboot), then add Flathub. again from Discover's settings.
            This should give you the broadest selection of software without needing to dig around internet for packages and information so much. At least until you are more familiar with how things work.

            Comment

            Users Viewing This Topic

            Collapse

            There are 0 users viewing this topic.

            Working...
            X