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?
Announcement
Collapse
No announcement yet.
Updating tar.gz
Collapse
X
-
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.
- Top
- Bottom
-
Originally posted by Cincinnatus View PostOkay, 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?
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.
- Top
- Bottom
Comment
-
Originally posted by claydoh View PostNo, 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.
- Top
- Bottom
Comment
-
Originally posted by Cincinnatus View Postso in a situation such as this ( https://github.com/FreeTubeApp/FreeT...23.5_amd64.deb ), is this coming from a repository?
it is from a repository if you:- Did not manually download a file.
- You installed from Discover
- 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.
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Comment