Score:0

Installed app from source but then accidentally deleted source code before uninstalling, can I uninstall the app?

ly flag

I built a program from source then went to pull the code and build again to get a more recent version but my pull wasn't working so I deleted the directory before uninstalling the app (dumb) and now whenever I try to build the app again or try to install via apt it doesn't overwrite the old version. The version I am using is 0.1.12 and the current release is 0.4.0. Am I just screwed here?

ThunderBird avatar
ru flag
You should actually make sure you didn't just delete or uninstall the app, but also any dependencies it might have come or installed with.
Hercislife avatar
ly flag
Unfortunately it doesn't have any dependencies that aren't also dependencies of a ton of other apps so I didn't install any dependencies just for it.
Knud Larsen avatar
by flag
If you can install the new version to the same location as the old one, there is usually no issues. Old files will be over written.
Hercislife avatar
ly flag
@KnudLarsen The issue is I deleted the old directory so I can overwrite it.
Score:0
us flag

No, it is not possible to have two versions of the same package, because there will be conflicting files. If a library is capable of being installed in two different versions at the same time is a different matter. If you're brave, you could get the source code for one version and see if you can install that to a different directory. This could very well mess up your system in nasty ways. It could also just plain not work. Dpkg won't be satisfied, so you'll have to get the source for one of the programs and compile that too. But bear in mind that once you start compiling programs yourself, you can cause yourself all kinds of problems.

Can multiple versions of the same package co-exist on the same system?

Hercislife avatar
ly flag
I've built the most recent version from source and also tried installing via `apt` to see if either would launch instead of the older version and I as able to have my old install, installation from `apt` and installation from source at the same time. This unfortunately didn't change anything though as the old version still launched.
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.