LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   debian net install without an internet connection (https://www.linuxquestions.org/questions/linux-newbie-8/debian-net-install-without-an-internet-connection-706929/)

fatigoworld 02-23-2009 02:33 PM

debian net install without an internet connection
 
i am a new to linux and i am attempting to do a debian minimal install by installing debian netist and i would like to install the few programs i need by cd and the command prompt. anyone know how to do this?

so far i have installed debian netinst and i can get to the command prompt. this is what i would like on there...

KDE-core desktop

ndiswrapper

ndisgtk

gdebi

some kind of wireless manager (i hope KDE-core comes with this)


heres a few questions i have.....

1. what kind of files do i download to install from CD? (tarball, iso, .deb, etc?)

2. do i have to install Xorg or did it install with Netinst? if so, how?

3. what commands do i use to install these from CD?

4. am i missing anything else?


thanks for any help and please explain in detail as if i am a child, i am very new to this...

farslayer 02-23-2009 03:06 PM

If you want to install Debian without a network connectin you should grab CD1 rather than the netinstall..
The netinstall CD is designed for people that will be iinstalling witha Network connection to the internet
Debian CD 1or DVD1 will give you a basic Debian install with the Gnome Desktop.

http://www.debian.org/CD/http-ftp/#stable

There is also a KDE and XFCE version of CD1 available.


kde-core is located on DVD1 or CD3

ndiswrapper source is located on CD17 or DVD3

kwifimanager is on CD1 or DVD1

gdebi is on CD1 or DVD1

fatigoworld 02-23-2009 03:27 PM

hey thanks for the help but is there a way to install it from cd1 without the gnome desktop or the KDE full version? the reason i was attempting to do it this way was to avoid installing all of those programs that i do not use or need. my computer is pretty slow and if i bloat it it will run pretty slow....i mean it even ran slow with xubuntu. i am running great right now with puppy linux but i thought installing a minimal version of debian will give me more versatility and stability....

sycamorex 02-23-2009 03:34 PM

Quote:

hey thanks for the help but is there a way to install it from cd1 without the gnome desktop or the KDE full version?
You can customise your installation choosing only the packages you want to install. You could install linux without GUI (graphical user interface) to work on the command line. If that's what you mean just untick 'X window system' and all desktop environments (ie. gnome). Also make sure you'll untick X applications.

It would be advisable to download a debian DVD so that you'd have an off-line access to all the packages. You could set up your DVD as the repository.

fatigoworld 02-23-2009 03:46 PM

Quote:

Originally Posted by sycamorex (Post 3454852)
You can customise your installation choosing only the packages you want to install. You could install linux without GUI (graphical user interface) to work on the command line. If that's what you mean just untick 'X window system' and all desktop environments (ie. gnome). Also make sure you'll untick X applications.

It would be advisable to download a debian DVD so that you'd have an off-line access to all the packages. You could set up your DVD as the repository.

im pretty sure thats where i am at right now. i have installed netinst and i can work from the command line. if im not mistaken it is the same as installing from cd1 without gnome, applications, etc. its the debian base system. im not sure about x window system, i dont know if that installed with netinst or not. i just dont know how to install from here or how to set up the cd's as a repository.

also i dont have a dvd burner.

if i download cd3 how would i go about setting it up to as a repository to install kde-core?

also how do i find out if x window system was installed or not? do i need this in order to use kde-core?

sycamorex 02-23-2009 04:08 PM

What's the output of your /etc/apt/sources.list ?

You can install/remove/update packages with apt-get. Here's an apt-get tutorial:
http://linuxhelp.blogspot.com/2005/1...r-for-new.html

You can check if you've installed by trying to start it: 'startx'

fatigoworld 02-23-2009 04:26 PM

Quote:

Originally Posted by sycamorex (Post 3454884)
What's the output of your /etc/apt/sources.list ?

You can install/remove/update packages with apt-get. Here's an apt-get tutorial:
http://linuxhelp.blogspot.com/2005/1...r-for-new.html

You can check if you've installed by trying to start it: 'startx'

i looked over the tutorial but i didnt see where it mentions how to use apt-get with a cd. i tried startx and it doesnt do anything so i assume that it is not installed.

i guess im back to my original question. how can i install x window system, kde-core, ndiswrapper, ndisgtk, gdebi, and a wireless manager. from the command line with a cd?

just to be clear again, i do not have an internet connection at the command prompt.

sycamorex 02-23-2009 04:48 PM

Quote:

looked over the tutorial but i didnt see where it mentions how to use apt-get with a cd.
It's not going to be there. It's just a general tutorial for package management. Can you post your /etc/apt/sources.list?

sycamorex 02-23-2009 04:59 PM

Edit your sources.list, if you see some lines mentioning your cdrom, make sure you uncomment them. Also make sure you comment any other lines:

For example:

Code:

deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib

Apt will use the first source for updates as it's uncommented. the # sign at the beginning of the second line switches the source off, ie. apt is not going to use it.

AFAIK, The CD repository should exist in the sources by default. It will be commented out though. If it's not there, there's a tutorial onhow to add it:

http://www.debian.org/doc/manuals/ap...basico.en.html

farslayer 02-23-2009 08:12 PM

You can use apt-cdrom to add CD/DVD as sources to install from since you don't have a net connection I would recommend grabbing a DVD rather than trying to download individual packages. if you try for individual packages you will get stuck chasing dependencies until you go insane.

OK so you used the netinstall to get a base system installed.. we can work with that. Grab DVD1 and CD 17 add them as a source using apt-cdrom add

then install X and I would suggest XFCE or the even more lightweight LXDE desktop. I would recommend against Gnome or KDE if you system is that slow..




apt-cdrom add - do this for both the CDROM and the DVD,
aptitude update
aptitude install xserver-xorg lxde xdm module-assistant build-essential gdebi ndisgtk wireless-tools
m-a update
m-a prepare
m-a a-i ndiswrapper



I prefer wicd as a network manager. I think network-manager has gnome dependencies and kwifimanager has KDE dependencies. wicd does not have gnome or KDE dependencies as a requirement.

Code:

Some of Wicd's features include:

  1. No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
  2. Ability to connect to wired and wireless networks
  3. Profiles for each wireless network and wired network
  4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and you can add your own)
  5. Remains compatible with wireless-tools
  6. Tray icon showing network activity and signal strength

Download wicd from here

http://code.launchpad.net/wicd/trunk..._1.5.9_all.deb

install it with this command
dpkg -i wicd_1.5.9_all.deb


that should give you your X sever, a lightweight desktop, everything you need to compile packages, nidswrapper, your graphics network manager, etc..

Is there a reason you want to use ndiswrapper right off the bat, rather than a native Linux driver for your wireless ?


All times are GMT -5. The time now is 11:53 PM.