How do I install version 1.3.6 of sphinx on Ubuntu 18.04.1
For a test of compiling some other package I require the exact version of sphinx
on my Ubuntu 18.04.01.
I tried the following:
sudo apt-get install sphinx=1.3.6
but it says that there is no 'package sphinx'.
So how to do it?
18.04 software-installation
add a comment |
For a test of compiling some other package I require the exact version of sphinx
on my Ubuntu 18.04.01.
I tried the following:
sudo apt-get install sphinx=1.3.6
but it says that there is no 'package sphinx'.
So how to do it?
18.04 software-installation
add a comment |
For a test of compiling some other package I require the exact version of sphinx
on my Ubuntu 18.04.01.
I tried the following:
sudo apt-get install sphinx=1.3.6
but it says that there is no 'package sphinx'.
So how to do it?
18.04 software-installation
For a test of compiling some other package I require the exact version of sphinx
on my Ubuntu 18.04.01.
I tried the following:
sudo apt-get install sphinx=1.3.6
but it says that there is no 'package sphinx'.
So how to do it?
18.04 software-installation
18.04 software-installation
asked Jan 18 at 7:03
AlexAlex
34841225
34841225
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First of all - there is only one package for Sphinx named as sphinx
- it is its source package.
According to the search results on Ubuntu 18.04 LTS you can get only 1.6.7-1ubuntu1 version.
But if you need only Python binding - you can try to install it from pip
/pip3
.
Other possible solution is to build older 1.3.6-2ubuntu1 Sphinx (from 16.04 LTS) from source.
If you want to take all the risk (as you will never get the security updates for Sphinx) then continue with manual installation of Sphinx 1.3.6 on Bionic:
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python3-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-common_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-doc_1.3.6-2ubuntu1_all.deb
sudo apt install ./*sphinx*.deb
and pin (lock) installed Sphinx packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-sphinx
Package: libjs-sphinxdoc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python3-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-common
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-doc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
EOF
To make your system more secure consider to remove this pin-file after the compilation of dependent packages with sudo rm /etc/apt/preferences.d/pin-sphinx
and upgrade to supported Sphinx with sudo apt dist-upgrade
.
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%2f1110772%2fhow-do-i-install-version-1-3-6-of-sphinx-on-ubuntu-18-04-1%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
First of all - there is only one package for Sphinx named as sphinx
- it is its source package.
According to the search results on Ubuntu 18.04 LTS you can get only 1.6.7-1ubuntu1 version.
But if you need only Python binding - you can try to install it from pip
/pip3
.
Other possible solution is to build older 1.3.6-2ubuntu1 Sphinx (from 16.04 LTS) from source.
If you want to take all the risk (as you will never get the security updates for Sphinx) then continue with manual installation of Sphinx 1.3.6 on Bionic:
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python3-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-common_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-doc_1.3.6-2ubuntu1_all.deb
sudo apt install ./*sphinx*.deb
and pin (lock) installed Sphinx packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-sphinx
Package: libjs-sphinxdoc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python3-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-common
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-doc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
EOF
To make your system more secure consider to remove this pin-file after the compilation of dependent packages with sudo rm /etc/apt/preferences.d/pin-sphinx
and upgrade to supported Sphinx with sudo apt dist-upgrade
.
add a comment |
First of all - there is only one package for Sphinx named as sphinx
- it is its source package.
According to the search results on Ubuntu 18.04 LTS you can get only 1.6.7-1ubuntu1 version.
But if you need only Python binding - you can try to install it from pip
/pip3
.
Other possible solution is to build older 1.3.6-2ubuntu1 Sphinx (from 16.04 LTS) from source.
If you want to take all the risk (as you will never get the security updates for Sphinx) then continue with manual installation of Sphinx 1.3.6 on Bionic:
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python3-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-common_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-doc_1.3.6-2ubuntu1_all.deb
sudo apt install ./*sphinx*.deb
and pin (lock) installed Sphinx packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-sphinx
Package: libjs-sphinxdoc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python3-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-common
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-doc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
EOF
To make your system more secure consider to remove this pin-file after the compilation of dependent packages with sudo rm /etc/apt/preferences.d/pin-sphinx
and upgrade to supported Sphinx with sudo apt dist-upgrade
.
add a comment |
First of all - there is only one package for Sphinx named as sphinx
- it is its source package.
According to the search results on Ubuntu 18.04 LTS you can get only 1.6.7-1ubuntu1 version.
But if you need only Python binding - you can try to install it from pip
/pip3
.
Other possible solution is to build older 1.3.6-2ubuntu1 Sphinx (from 16.04 LTS) from source.
If you want to take all the risk (as you will never get the security updates for Sphinx) then continue with manual installation of Sphinx 1.3.6 on Bionic:
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python3-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-common_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-doc_1.3.6-2ubuntu1_all.deb
sudo apt install ./*sphinx*.deb
and pin (lock) installed Sphinx packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-sphinx
Package: libjs-sphinxdoc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python3-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-common
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-doc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
EOF
To make your system more secure consider to remove this pin-file after the compilation of dependent packages with sudo rm /etc/apt/preferences.d/pin-sphinx
and upgrade to supported Sphinx with sudo apt dist-upgrade
.
First of all - there is only one package for Sphinx named as sphinx
- it is its source package.
According to the search results on Ubuntu 18.04 LTS you can get only 1.6.7-1ubuntu1 version.
But if you need only Python binding - you can try to install it from pip
/pip3
.
Other possible solution is to build older 1.3.6-2ubuntu1 Sphinx (from 16.04 LTS) from source.
If you want to take all the risk (as you will never get the security updates for Sphinx) then continue with manual installation of Sphinx 1.3.6 on Bionic:
cd ~/Downloads
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/libjs-sphinxdoc_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/python3-sphinx_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-common_1.3.6-2ubuntu1_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/sphinx/sphinx-doc_1.3.6-2ubuntu1_all.deb
sudo apt install ./*sphinx*.deb
and pin (lock) installed Sphinx packages:
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-sphinx
Package: libjs-sphinxdoc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python3-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: python-sphinx
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-common
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
Package: sphinx-doc
Pin: version 1.3.6-2ubuntu1
Pin-Priority: 1337
EOF
To make your system more secure consider to remove this pin-file after the compilation of dependent packages with sudo rm /etc/apt/preferences.d/pin-sphinx
and upgrade to supported Sphinx with sudo apt dist-upgrade
.
edited Jan 18 at 21:33
answered Jan 18 at 21:21
N0rbertN0rbert
22k547104
22k547104
add a comment |
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%2f1110772%2fhow-do-i-install-version-1-3-6-of-sphinx-on-ubuntu-18-04-1%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