Installing Debian packages from Stretch DVD 2 and 3 after installation using apt?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
debian apt
New contributor
add a comment |
Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
debian apt
New contributor
1
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
1
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47
add a comment |
Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
debian apt
New contributor
Can I install Debian packages from Stretch DVD 2 and 3 after installation using apt? Because installing on VM, it didn't detect the second and the third DVD.
debian apt
debian apt
New contributor
New contributor
edited Apr 17 at 8:28
Rui F Ribeiro
42.2k1484142
42.2k1484142
New contributor
asked Apr 17 at 8:15
Major DespardMajor Despard
262
262
New contributor
New contributor
1
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
1
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47
add a comment |
1
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
1
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47
1
1
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
1
1
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
1
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47
add a comment |
2 Answers
2
active
oldest
votes
Run
apt-cdrom add
as root (or using sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to /etc/apt/sources.list
. You will then be able to install packages from it as usual.
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
add a comment |
In your /etc/apt/sources.list
you will have an entry like this for the first DVD after installation:
deb cdrom:[Debian GNU/Linux 9.8.0 "Stretch" - Official amd64 DVD Binary-1 20190216-11:59]/ stretch contrib main
This line is used to tell apt to use the cdrom as a package source.
The second and third DVD should be "Binary-2" and "Binary-3". The complete string can be found on the DVD in the file .disk/info
.
If you only have the ISO files and no (virtual) optical drive is available,
you can mount the images manually and add a deb file:
source to /etc/apt/sources.list
.
See How to use a .iso image as a CD-ROM Repository?
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
Apr 17 at 9:25
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
Major Despard is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f512940%2finstalling-debian-packages-from-stretch-dvd-2-and-3-after-installation-using-apt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Run
apt-cdrom add
as root (or using sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to /etc/apt/sources.list
. You will then be able to install packages from it as usual.
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
add a comment |
Run
apt-cdrom add
as root (or using sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to /etc/apt/sources.list
. You will then be able to install packages from it as usual.
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
add a comment |
Run
apt-cdrom add
as root (or using sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to /etc/apt/sources.list
. You will then be able to install packages from it as usual.
Run
apt-cdrom add
as root (or using sudo
), and follow the prompts – it will ask you to insert a disk, then scan it and add the relevant information to /etc/apt/sources.list
. You will then be able to install packages from it as usual.
answered Apr 17 at 8:50
Stephen KittStephen Kitt
182k26420498
182k26420498
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
add a comment |
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
Thanks man. I like Linux.
– Major Despard
Apr 17 at 9:03
add a comment |
In your /etc/apt/sources.list
you will have an entry like this for the first DVD after installation:
deb cdrom:[Debian GNU/Linux 9.8.0 "Stretch" - Official amd64 DVD Binary-1 20190216-11:59]/ stretch contrib main
This line is used to tell apt to use the cdrom as a package source.
The second and third DVD should be "Binary-2" and "Binary-3". The complete string can be found on the DVD in the file .disk/info
.
If you only have the ISO files and no (virtual) optical drive is available,
you can mount the images manually and add a deb file:
source to /etc/apt/sources.list
.
See How to use a .iso image as a CD-ROM Repository?
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
Apr 17 at 9:25
add a comment |
In your /etc/apt/sources.list
you will have an entry like this for the first DVD after installation:
deb cdrom:[Debian GNU/Linux 9.8.0 "Stretch" - Official amd64 DVD Binary-1 20190216-11:59]/ stretch contrib main
This line is used to tell apt to use the cdrom as a package source.
The second and third DVD should be "Binary-2" and "Binary-3". The complete string can be found on the DVD in the file .disk/info
.
If you only have the ISO files and no (virtual) optical drive is available,
you can mount the images manually and add a deb file:
source to /etc/apt/sources.list
.
See How to use a .iso image as a CD-ROM Repository?
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
Apr 17 at 9:25
add a comment |
In your /etc/apt/sources.list
you will have an entry like this for the first DVD after installation:
deb cdrom:[Debian GNU/Linux 9.8.0 "Stretch" - Official amd64 DVD Binary-1 20190216-11:59]/ stretch contrib main
This line is used to tell apt to use the cdrom as a package source.
The second and third DVD should be "Binary-2" and "Binary-3". The complete string can be found on the DVD in the file .disk/info
.
If you only have the ISO files and no (virtual) optical drive is available,
you can mount the images manually and add a deb file:
source to /etc/apt/sources.list
.
See How to use a .iso image as a CD-ROM Repository?
In your /etc/apt/sources.list
you will have an entry like this for the first DVD after installation:
deb cdrom:[Debian GNU/Linux 9.8.0 "Stretch" - Official amd64 DVD Binary-1 20190216-11:59]/ stretch contrib main
This line is used to tell apt to use the cdrom as a package source.
The second and third DVD should be "Binary-2" and "Binary-3". The complete string can be found on the DVD in the file .disk/info
.
If you only have the ISO files and no (virtual) optical drive is available,
you can mount the images manually and add a deb file:
source to /etc/apt/sources.list
.
See How to use a .iso image as a CD-ROM Repository?
edited Apr 17 at 9:26
answered Apr 17 at 8:55
FreddyFreddy
2,069210
2,069210
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
Apr 17 at 9:25
add a comment |
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
Apr 17 at 9:25
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
Thanks a lot. I really appreciate it.
– Major Despard
Apr 17 at 9:02
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
I can't edit this file, I can't login as root. What should I do? Online solutions say to use sudo but sudo opens the file in terminal, and doesn't let me save.
– Major Despard
Apr 17 at 9:22
Use
su
or su -
in terminal, then edit the file with your favourite editor.– Freddy
Apr 17 at 9:25
Use
su
or su -
in terminal, then edit the file with your favourite editor.– Freddy
Apr 17 at 9:25
add a comment |
Major Despard is a new contributor. Be nice, and check out our Code of Conduct.
Major Despard is a new contributor. Be nice, and check out our Code of Conduct.
Major Despard is a new contributor. Be nice, and check out our Code of Conduct.
Major Despard is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f512940%2finstalling-debian-packages-from-stretch-dvd-2-and-3-after-installation-using-apt%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
Note to reviewers: this isn’t a duplicate of the previous question; this is about installing packages from DVDs after installation, the previous question is about installing packages from DVDs during installation.
– Stephen Kitt
Apr 17 at 8:18
@StephenKitt Thanks for clearing that up. I'm very new to Linux. I'm sizing it up to see if I can buy a harddrive and install use it as my main operating system, and downgrade Windows to my secondary operating system. I want to use Linux because I do two things mainly: Web dev, and vision/graphics. Windows has better Vision/graphics tools (also, Visual Studio) but Linux has better web dev tools. Thanks.
– Major Despard
Apr 17 at 8:24
1
@GAD3R That was about detecting the DVD "during" the installation. This is about using apt to install them "after" it's been all set up. I have added the images to my hypervisor, I just need a guide to install them from a DVD. I couldn't find anything that related to Debian. Sorry if this is a common question.
– Major Despard
Apr 17 at 8:26
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
Apr 17 at 8:47