Installing new version of .deb package over that installed with apt-get












3














I have LibreOffice installed from the repositories (currently it's version 6.0.7 in 18.04.1) but it's possible to download version 6.1.4 from their website as a .deb package. If I wanted to install this newer version over the old, would I first have to remove version 6.0.7 with an apt-get remove, or could I just install the new .deb package and things will be taken care of automatically?










share|improve this question


















  • 1




    I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
    – N0rbert
    Dec 22 at 18:32










  • I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
    – Bo Johnson
    Dec 22 at 19:28
















3














I have LibreOffice installed from the repositories (currently it's version 6.0.7 in 18.04.1) but it's possible to download version 6.1.4 from their website as a .deb package. If I wanted to install this newer version over the old, would I first have to remove version 6.0.7 with an apt-get remove, or could I just install the new .deb package and things will be taken care of automatically?










share|improve this question


















  • 1




    I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
    – N0rbert
    Dec 22 at 18:32










  • I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
    – Bo Johnson
    Dec 22 at 19:28














3












3








3







I have LibreOffice installed from the repositories (currently it's version 6.0.7 in 18.04.1) but it's possible to download version 6.1.4 from their website as a .deb package. If I wanted to install this newer version over the old, would I first have to remove version 6.0.7 with an apt-get remove, or could I just install the new .deb package and things will be taken care of automatically?










share|improve this question













I have LibreOffice installed from the repositories (currently it's version 6.0.7 in 18.04.1) but it's possible to download version 6.1.4 from their website as a .deb package. If I wanted to install this newer version over the old, would I first have to remove version 6.0.7 with an apt-get remove, or could I just install the new .deb package and things will be taken care of automatically?







apt package-management libreoffice






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 at 17:45









Bo Johnson

5516




5516








  • 1




    I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
    – N0rbert
    Dec 22 at 18:32










  • I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
    – Bo Johnson
    Dec 22 at 19:28














  • 1




    I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
    – N0rbert
    Dec 22 at 18:32










  • I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
    – Bo Johnson
    Dec 22 at 19:28








1




1




I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
– N0rbert
Dec 22 at 18:32




I vote for using offiicial LibreOffice PPA - see askubuntu.com/a/132840/66509 . deb-packages obtained from here will be controlled by APT and upgraded with the system.
– N0rbert
Dec 22 at 18:32












I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
– Bo Johnson
Dec 22 at 19:28




I didn't know there was a LibreOffice PPA, I'll have to take a look at that.
– Bo Johnson
Dec 22 at 19:28










1 Answer
1






active

oldest

votes


















3














Uninstall the existing LibreOffice apt package from the default Ubuntu repositories first before you install the new LibreOffice .deb file or you will end up with two instances of LibreOffice installed alongside each other. The same thing goes for installing the LibreOffice snap package alongside the LibreOffice apt package. You can have both versions of LibreOffice installed alongside each other and use either one.



The LibreOffice snap package (libreoffice) has the advantage over a downloaded LibreOffice .deb file that it is updated automatically when updates become available.






share|improve this answer



















  • 1




    +1 for LO Snap.
    – user535733
    Dec 22 at 17:53






  • 1




    That's good to know about removing the old version before installing the new, thanks!
    – Bo Johnson
    Dec 22 at 19:29











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103845%2finstalling-new-version-of-deb-package-over-that-installed-with-apt-get%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Uninstall the existing LibreOffice apt package from the default Ubuntu repositories first before you install the new LibreOffice .deb file or you will end up with two instances of LibreOffice installed alongside each other. The same thing goes for installing the LibreOffice snap package alongside the LibreOffice apt package. You can have both versions of LibreOffice installed alongside each other and use either one.



The LibreOffice snap package (libreoffice) has the advantage over a downloaded LibreOffice .deb file that it is updated automatically when updates become available.






share|improve this answer



















  • 1




    +1 for LO Snap.
    – user535733
    Dec 22 at 17:53






  • 1




    That's good to know about removing the old version before installing the new, thanks!
    – Bo Johnson
    Dec 22 at 19:29
















3














Uninstall the existing LibreOffice apt package from the default Ubuntu repositories first before you install the new LibreOffice .deb file or you will end up with two instances of LibreOffice installed alongside each other. The same thing goes for installing the LibreOffice snap package alongside the LibreOffice apt package. You can have both versions of LibreOffice installed alongside each other and use either one.



The LibreOffice snap package (libreoffice) has the advantage over a downloaded LibreOffice .deb file that it is updated automatically when updates become available.






share|improve this answer



















  • 1




    +1 for LO Snap.
    – user535733
    Dec 22 at 17:53






  • 1




    That's good to know about removing the old version before installing the new, thanks!
    – Bo Johnson
    Dec 22 at 19:29














3












3








3






Uninstall the existing LibreOffice apt package from the default Ubuntu repositories first before you install the new LibreOffice .deb file or you will end up with two instances of LibreOffice installed alongside each other. The same thing goes for installing the LibreOffice snap package alongside the LibreOffice apt package. You can have both versions of LibreOffice installed alongside each other and use either one.



The LibreOffice snap package (libreoffice) has the advantage over a downloaded LibreOffice .deb file that it is updated automatically when updates become available.






share|improve this answer














Uninstall the existing LibreOffice apt package from the default Ubuntu repositories first before you install the new LibreOffice .deb file or you will end up with two instances of LibreOffice installed alongside each other. The same thing goes for installing the LibreOffice snap package alongside the LibreOffice apt package. You can have both versions of LibreOffice installed alongside each other and use either one.



The LibreOffice snap package (libreoffice) has the advantage over a downloaded LibreOffice .deb file that it is updated automatically when updates become available.







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 22 at 17:53

























answered Dec 22 at 17:47









karel

56.9k11127146




56.9k11127146








  • 1




    +1 for LO Snap.
    – user535733
    Dec 22 at 17:53






  • 1




    That's good to know about removing the old version before installing the new, thanks!
    – Bo Johnson
    Dec 22 at 19:29














  • 1




    +1 for LO Snap.
    – user535733
    Dec 22 at 17:53






  • 1




    That's good to know about removing the old version before installing the new, thanks!
    – Bo Johnson
    Dec 22 at 19:29








1




1




+1 for LO Snap.
– user535733
Dec 22 at 17:53




+1 for LO Snap.
– user535733
Dec 22 at 17:53




1




1




That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 at 19:29




That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 at 19:29


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1103845%2finstalling-new-version-of-deb-package-over-that-installed-with-apt-get%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局