2

How do I update software that I installed with a downloaded .deb file in ubuntu software center?

When I open the downloaded file in software center I can only choose to remove the software and install it again. That works, but is this the way to go?

3
  • 4
    Indeed, there is no standard procedure for updating software installed directly from a .deb file, which is why you should prefer installing software from repositories (including ppas) or self contained packages with update functionality (snap or flatpak).
    – Bruni
    Mar 2, 2021 at 17:04
  • 1
    In this case, I use gdebi to install it from the new .deb and it writes over the existing install. So far, so good. I only do this with a couple of pieces of software, however.
    – KGIII
    Mar 2, 2021 at 22:00
  • 1
    Does this answer your question? How do I install applications in Ubuntu? Mar 28 at 9:08

1 Answer 1

1

I used the command line : sudo dpkg -i and the downloaded deb file name.
The output confirms it's installing a new version over the current one.

$ sudo dpkg -i file.deb 
[sudo] password for user: 
(Reading database ... 8008135 files and directories currently installed.)
Preparing to unpack file.deb ...
Unpacking software (new_version) over (current_version) ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.