Installing Debian packages from Stretch DVD 2 and 3 after installation using apt? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionInstalling Debian on a VM, it can't find the second DVDWhy does installing Debian from DVD download many packages?Installing packages from LMDE on debian wheezyI can open a Debian installation DVD but I can't boot the laptop from itWhat's the best way to install apt packages from Debian Stretch on Raspbian Jessie?Building and installing packages from unstablenginx installation failed in Debian StretchSetup Debian Mirrors after InstallationDebian Stretch wants to upgrade main packages after enabling backportsDebian Stretch apt-get update failure resolving 'ftp.de.debian.org'Installing Debian on a VM, it can't find the second DVD
What initially awakened the Balrog?
Random body shuffle every night—can we still function?
The Nth Gryphon Number
Do wooden building fires get hotter than 600°C?
Drawing spherical mirrors
Deconstruction is ambiguous
What's the point of the test set?
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
How would a mousetrap for use in space work?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Karn the great creator - 'card from outside the game' in sealed
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
Are sorcerers unable to use the Careful Spell metamagic option on themselves?
Significance of Cersei's obsession with elephants?
Did any compiler fully use 80-bit floating point?
How does the math work when buying airline miles?
Putting class ranking in CV, but against dept guidelines
How do living politicians protect their readily obtainable signatures from misuse?
What does 丫 mean? 丫是什么意思?
Time evolution of a Gaussian wave packet, why convert to k-space?
Sum letters are not two different
Semigroups with no morphisms between them
How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
Installing Debian packages from Stretch DVD 2 and 3 after installation using apt?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionInstalling Debian on a VM, it can't find the second DVDWhy does installing Debian from DVD download many packages?Installing packages from LMDE on debian wheezyI can open a Debian installation DVD but I can't boot the laptop from itWhat's the best way to install apt packages from Debian Stretch on Raspbian Jessie?Building and installing packages from unstablenginx installation failed in Debian StretchSetup Debian Mirrors after InstallationDebian Stretch wants to upgrade main packages after enabling backportsDebian Stretch apt-get update failure resolving 'ftp.de.debian.org'Installing Debian on a VM, it can't find the second DVD
.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
2 days ago
@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
2 days ago
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
2 days ago
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago
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 2 days ago
Rui F Ribeiro
42.2k1484142
42.2k1484142
New contributor
asked 2 days ago
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
2 days ago
@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
2 days ago
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
2 days ago
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago
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
2 days ago
@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
2 days ago
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
2 days ago
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago
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
2 days ago
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
2 days ago
@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
2 days ago
@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
2 days ago
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
2 days ago
@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
2 days ago
1
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago
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
2 days ago
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
2 days ago
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
2 days ago
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
2 days ago
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
2 days ago
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
2 days ago
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 2 days ago
Stephen KittStephen Kitt
182k26419497
182k26419497
Thanks man. I like Linux.
– Major Despard
2 days ago
add a comment |
Thanks man. I like Linux.
– Major Despard
2 days ago
Thanks man. I like Linux.
– Major Despard
2 days ago
Thanks man. I like Linux.
– Major Despard
2 days ago
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
2 days ago
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
2 days ago
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
2 days ago
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
2 days ago
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
2 days ago
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
2 days ago
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 2 days ago
answered 2 days ago
FreddyFreddy
2,019210
2,019210
Thanks a lot. I really appreciate it.
– Major Despard
2 days ago
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
2 days ago
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
2 days ago
add a comment |
Thanks a lot. I really appreciate it.
– Major Despard
2 days ago
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
2 days ago
Usesu
orsu -
in terminal, then edit the file with your favourite editor.
– Freddy
2 days ago
Thanks a lot. I really appreciate it.
– Major Despard
2 days ago
Thanks a lot. I really appreciate it.
– Major Despard
2 days ago
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
2 days ago
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
2 days ago
Use
su
or su -
in terminal, then edit the file with your favourite editor.– Freddy
2 days ago
Use
su
or su -
in terminal, then edit the file with your favourite editor.– Freddy
2 days ago
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
2 days ago
@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
2 days ago
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
2 days ago
1
@GAD3R the two questions are different and have value separately IMO. The answers would be different.
– Stephen Kitt
2 days ago