Installing packages to Netinst from CD1

New to Debian (Or Linux in general)? Ask your questions here!

Installing packages to Netinst from CD1

Postby pata » 2020-05-06 13:46

Netinst is installed, but the network is not working. So I have to install some stuff offline.

How do I add the package index from CD1 to Netinst?

How do I get APT to get packages from the CD instead of the net?

Also, what happened to the 'man' command in Netinst 10?
pata
 
Posts: 5
Joined: 2020-03-09 19:05

Re: Installing packages to Netinst from CD1

Postby arochester » 2020-05-06 14:45

What do you mean by
the network is not working.
?

Is the Ethernet working? (By cable? )
arochester
 
Posts: 1698
Joined: 2010-12-07 19:55

Re: Installing packages to Netinst from CD1

Postby Head_on_a_Stick » 2020-05-06 19:17

pata wrote:what happened to the 'man' command in Netinst 10?

If you used a netinstall ISO image but you didn't have a connection[1] then you will have a *very* minimal system indeed.

pata wrote:How do I get APT to get packages from the CD instead of the net?

See apt-cdrom(8).

[1] Hint: viewtopic.php?f=16&t=142808
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12305
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Installing packages to Netinst from CD1

Postby cuckooflew » 2020-05-06 21:40

I don't understand why someone would use the netinstall image if they do not have a internet connection,
My suggestion is that the OP read some of the documentation before deciding which CD/DVD image to use. Netinstall , does not mean a network is included, "the network does not work", a netwrok is something you have to setup, "netinstall", means most of the installation of Debian is done via a internet or local network,
pata wrote:
what happened to the 'man' command in Netinst 10?

When I installed with the netinstall,I did get all the essential files,including the man command, what happened to yours ? I don't know, I don't think you completed the install correctly.
pata wrote:
How do I get APT to get packages from the CD instead of the net?

The netinstall image, will not give you a CD with any packages, so unless you have another CD, one with some packages, it is pointless to try that, if you can download another image, it would be to your advantage to down load and install using a CD/DVD that includes some packages as well. There is no reason to go into detail here, there is plenty of good documentation , but you need to read it, after that if you still have questions of course feel welcome to ask, but please do try reading some documentation first, it will save you a lot of trouble and heartache.
https://www.debian.org/CD/faq/
========================
https://www.debian.org/distrib/
PLEASE Read:
A small installation image: can be downloaded quickly and should be recorded onto a removable disk. To use this, you will need a machine with an Internet connection.

The above is the netinstall image, If you do not have a machine with a internet connection,DO NOT try to use this image. Pay attention to what you read. The documentation is available in many languages, use your native language when reading it.
A larger complete installation image: contains more packages, making it easier to install machines without an Internet connection.

This is probably what you should be using. it is a complete installation image, but you do need to get a internet connection some where to download it, eg:internet cafe if need be. Since you can post here,I assume youmust have something or somewhere ,that gives you a internet connection.
There is still more documentation you should read, before doing anything, I am not going to copy paste it all here, you need to read it.
https://wiki.debian.org/DebianInstall#Choosing_The_Appropriate_Installation_Media
If you have no way of establishing a network connection during the installation, then you will need to install using full installation CDs or DVDs.

There is even more, a simple search, using keywords:
Code: Select all
which Debian image should I use

Will be enlightening.
So any way, guess that is about it, this kind of question comes from people that do not read any documentation, if you plan to use Debian, I suggest you start learning how to read the documenation, and read it carefully, also since Debian is such a popular distro, learning how to do a search and find the documentation is essential.
The link below, is some more, essential documentation:
https://wiki.debian.org/DebianInstall
Again, it says the same:
If you have no way of establishing a network connection during the installation, then you will need to install using full installation CDs or DVDs.

:
Please Read What we expect you have already Done
Google knows a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 539
Joined: 2018-05-10 19:34
Location: Some where out west


Return to Beginners Questions

Who is online

Users browsing this forum: oui and 14 guests

fashionable