How to install different version of program? [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
-3
down vote
favorite
This question already has an answer here:
Installing particular versions when repo has newer versions?
2 answers
What is the usual way of installing a different version of a program on Ubuntu?
software-installation
marked as duplicate by Byte Commander, karel, Fabby, pomsky, Eric Carvalho Apr 13 at 23:48
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
-3
down vote
favorite
This question already has an answer here:
Installing particular versions when repo has newer versions?
2 answers
What is the usual way of installing a different version of a program on Ubuntu?
software-installation
marked as duplicate by Byte Commander, karel, Fabby, pomsky, Eric Carvalho Apr 13 at 23:48
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
3
Too broad! Which program?
â pomsky
Apr 13 at 21:52
2
sudo apt install package=version
for examplesudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
2
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15
add a comment |Â
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
This question already has an answer here:
Installing particular versions when repo has newer versions?
2 answers
What is the usual way of installing a different version of a program on Ubuntu?
software-installation
This question already has an answer here:
Installing particular versions when repo has newer versions?
2 answers
What is the usual way of installing a different version of a program on Ubuntu?
This question already has an answer here:
Installing particular versions when repo has newer versions?
2 answers
software-installation
software-installation
asked Apr 13 at 21:51
tomasantunes
12314
12314
marked as duplicate by Byte Commander, karel, Fabby, pomsky, Eric Carvalho Apr 13 at 23:48
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Byte Commander, karel, Fabby, pomsky, Eric Carvalho Apr 13 at 23:48
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
3
Too broad! Which program?
â pomsky
Apr 13 at 21:52
2
sudo apt install package=version
for examplesudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
2
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15
add a comment |Â
3
Too broad! Which program?
â pomsky
Apr 13 at 21:52
2
sudo apt install package=version
for examplesudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
2
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15
3
3
Too broad! Which program?
â pomsky
Apr 13 at 21:52
Too broad! Which program?
â pomsky
Apr 13 at 21:52
2
2
sudo apt install package=version
for example sudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
sudo apt install package=version
for example sudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
2
2
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
Some programs allow more than one version to be installed at the same time. Some examples includes php
, python
, java
, etc.
From the Software Center or the commandline, specify the version you want to install.
To install the default version of the program (openjdk) in this case run:
$ sudo apt install openjdk
You can use apt
search option to check the available version from your installed repository with this command (among other variations). I'm including the command and the output in this example:
$ apt search openjdk | egrep ^open.*jdk/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openjdk-6-jdk/lucid 6b18-1.8-0ubuntu1 amd64
openjdk-8-jdk/xenial-updates,xenial-security,now 8u162-b12-0ubuntu0.16.04.2 amd64 [installed]
openjdk-9-jdk/xenial,now 9~b114-0ubuntu1 amd64 [installed]
ljames@ubunzeus:~$
To install openjdk version 8, I would run this command (as an example):
$ sudo apt install openjdk-8-jdk
In short, run the install as normal and include the version of the application as part of the install command.
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Some programs allow more than one version to be installed at the same time. Some examples includes php
, python
, java
, etc.
From the Software Center or the commandline, specify the version you want to install.
To install the default version of the program (openjdk) in this case run:
$ sudo apt install openjdk
You can use apt
search option to check the available version from your installed repository with this command (among other variations). I'm including the command and the output in this example:
$ apt search openjdk | egrep ^open.*jdk/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openjdk-6-jdk/lucid 6b18-1.8-0ubuntu1 amd64
openjdk-8-jdk/xenial-updates,xenial-security,now 8u162-b12-0ubuntu0.16.04.2 amd64 [installed]
openjdk-9-jdk/xenial,now 9~b114-0ubuntu1 amd64 [installed]
ljames@ubunzeus:~$
To install openjdk version 8, I would run this command (as an example):
$ sudo apt install openjdk-8-jdk
In short, run the install as normal and include the version of the application as part of the install command.
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
add a comment |Â
up vote
2
down vote
Some programs allow more than one version to be installed at the same time. Some examples includes php
, python
, java
, etc.
From the Software Center or the commandline, specify the version you want to install.
To install the default version of the program (openjdk) in this case run:
$ sudo apt install openjdk
You can use apt
search option to check the available version from your installed repository with this command (among other variations). I'm including the command and the output in this example:
$ apt search openjdk | egrep ^open.*jdk/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openjdk-6-jdk/lucid 6b18-1.8-0ubuntu1 amd64
openjdk-8-jdk/xenial-updates,xenial-security,now 8u162-b12-0ubuntu0.16.04.2 amd64 [installed]
openjdk-9-jdk/xenial,now 9~b114-0ubuntu1 amd64 [installed]
ljames@ubunzeus:~$
To install openjdk version 8, I would run this command (as an example):
$ sudo apt install openjdk-8-jdk
In short, run the install as normal and include the version of the application as part of the install command.
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Some programs allow more than one version to be installed at the same time. Some examples includes php
, python
, java
, etc.
From the Software Center or the commandline, specify the version you want to install.
To install the default version of the program (openjdk) in this case run:
$ sudo apt install openjdk
You can use apt
search option to check the available version from your installed repository with this command (among other variations). I'm including the command and the output in this example:
$ apt search openjdk | egrep ^open.*jdk/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openjdk-6-jdk/lucid 6b18-1.8-0ubuntu1 amd64
openjdk-8-jdk/xenial-updates,xenial-security,now 8u162-b12-0ubuntu0.16.04.2 amd64 [installed]
openjdk-9-jdk/xenial,now 9~b114-0ubuntu1 amd64 [installed]
ljames@ubunzeus:~$
To install openjdk version 8, I would run this command (as an example):
$ sudo apt install openjdk-8-jdk
In short, run the install as normal and include the version of the application as part of the install command.
Some programs allow more than one version to be installed at the same time. Some examples includes php
, python
, java
, etc.
From the Software Center or the commandline, specify the version you want to install.
To install the default version of the program (openjdk) in this case run:
$ sudo apt install openjdk
You can use apt
search option to check the available version from your installed repository with this command (among other variations). I'm including the command and the output in this example:
$ apt search openjdk | egrep ^open.*jdk/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openjdk-6-jdk/lucid 6b18-1.8-0ubuntu1 amd64
openjdk-8-jdk/xenial-updates,xenial-security,now 8u162-b12-0ubuntu0.16.04.2 amd64 [installed]
openjdk-9-jdk/xenial,now 9~b114-0ubuntu1 amd64 [installed]
ljames@ubunzeus:~$
To install openjdk version 8, I would run this command (as an example):
$ sudo apt install openjdk-8-jdk
In short, run the install as normal and include the version of the application as part of the install command.
answered Apr 13 at 22:17
L. D. James
17.5k43178
17.5k43178
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
add a comment |Â
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
@N0rbert Can you specify which line is confusing? I'll edit accordingly. Thanks!
â L. D. James
Apr 14 at 14:24
1
1
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
@N0rbert That is the output of the command. Did you test the command on your computer? The output is showing the versions of openjdk-6-jdk that is installed on my computer. I don't recall ever specifying an openjdk version 6 for install, but it has been a number of years since I performed a clean OS installation. In this case, the output may help to demonstrate how apt automatically maintains the different dependency packages when facilitating multiple version installs.
â L. D. James
Apr 14 at 14:33
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
By the way, I have never performed the (apparent) complicated commandlines of the duplicated answer. I'm sure that's because I have never had desire, or need to change to a different version. I always use the current default version unless there's need to install an additional version for a specific task. This is when both versions are in the repository being maintained without conflicting depencies that would be require addressing.
â L. D. James
Apr 14 at 14:38
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
Let us continue this discussion in chat.
â L. D. James
Apr 14 at 14:42
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
I accepted your arguments, so we can remove the comments of conversation.
â N0rbert
Apr 14 at 14:52
add a comment |Â
3
Too broad! Which program?
â pomsky
Apr 13 at 21:52
2
sudo apt install package=version
for examplesudo apt install grub-efi-amd64=2.02~beta3-4ubuntu7.2
â ptetteh227
Apr 13 at 22:11
2
I agree with pomsky ... i could grab add a ppa, grab source & compile; add repo's, even install a deb (directly or via repo add) from later versions & deal with deps & issues as consequence which is none-minimal for some apps & horrific for others (though largely predictable). There is no usual way as the best approach varies case-to-case, and upon your technical level too. Your knowledge will grow as you use Ubuntu and then you'll try things, and discover the various ways (and their drawbacks) to approaches.
â guiverc
Apr 13 at 23:47
@darkangel I believe your question is different from the marked duplicated. I see how it could be interpreted as the same. Your question appears to be looking for a method to install an additional version (not changing the installed version), the other appears to be about a different version (changing the installed version). I may be wrong with your intentions. If you would add details of your issue (as asked for by @pomsky) it would be helpful, and I may vote to reopen your question accordingly. I can't edit and change your intentions.
â L. D. James
Apr 14 at 14:15