Installing new version of .deb package over that installed with apt-get
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
add a comment |
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
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 '18 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 '18 at 19:28
add a comment |
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
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
apt package-management libreoffice
asked Dec 22 '18 at 17:45
Bo JohnsonBo Johnson
5517
5517
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 '18 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 '18 at 19:28
add a comment |
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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 19:28
add a comment |
1 Answer
1
active
oldest
votes
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.
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
add a comment |
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.
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
add a comment |
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.
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.
edited Dec 22 '18 at 17:53
answered Dec 22 '18 at 17:47
karelkarel
58.1k12128146
58.1k12128146
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
add a comment |
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
1
1
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
+1 for LO Snap.
– user535733
Dec 22 '18 at 17:53
1
1
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
That's good to know about removing the old version before installing the new, thanks!
– Bo Johnson
Dec 22 '18 at 19:29
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 '18 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 '18 at 19:28