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;
}







4















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.










share|improve this question









New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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


















4















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.










share|improve this question









New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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














4












4








4








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.










share|improve this question









New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 17 at 8:28









Rui F Ribeiro

42.2k1484142




42.2k1484142






New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 17 at 8:15









Major DespardMajor Despard

262




262




New contributor




Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Major Despard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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





    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










2 Answers
2






active

oldest

votes


















4














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.






share|improve this answer
























  • Thanks man. I like Linux.

    – Major Despard
    Apr 17 at 9:03



















3














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?






share|improve this answer


























  • 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













  • Use su or su - in terminal, then edit the file with your favourite editor.

    – Freddy
    Apr 17 at 9:25












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.










draft saved

draft discarded


















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









4














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.






share|improve this answer
























  • Thanks man. I like Linux.

    – Major Despard
    Apr 17 at 9:03
















4














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.






share|improve this answer
























  • Thanks man. I like Linux.

    – Major Despard
    Apr 17 at 9:03














4












4








4







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 17 at 8:50









Stephen KittStephen Kitt

182k26420498




182k26420498













  • 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





Thanks man. I like Linux.

– Major Despard
Apr 17 at 9:03













3














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?






share|improve this answer


























  • 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













  • Use su or su - in terminal, then edit the file with your favourite editor.

    – Freddy
    Apr 17 at 9:25
















3














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?






share|improve this answer


























  • 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













  • Use su or su - in terminal, then edit the file with your favourite editor.

    – Freddy
    Apr 17 at 9:25














3












3








3







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?






share|improve this answer















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?







share|improve this answer














share|improve this answer



share|improve this answer








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













  • Use su or su - 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











  • 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

















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










Major Despard is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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

Plaza Victoria

Puebla de Zaragoza

Musa