Debian – How to install debian without games, office etc…

debian

I am trying to install Debian on my laptop.

First I tried to install using the debian-9.4.0-amd64-DVD-1.iso and recognized, it contains a lot of apps that I do not need, for example libre-office, games etc.

Then I tried the debian-9.4.0-amd64-netinst.iso. After the laptop is started I can only see a terminal, there is not GUI at all.

Which debian do I have to choose, to install without any office etc?

Update

enter image description here

Best Answer

https://www.tecmint.com/fix-unable-to-locate-package-error-in-debian-9/

To start with, it seems you might need to fix your apt sources before you can start installing packages such as gnome-core. This is true even if you installed from the Debian 9 netinstall. I can only think this a bug in this version of the netinstall image. Sorry, this is Debian. Other distributions are available, which may be more popular and better tested.

you need to add the necessary Debian software repositories in your /etc/apt/sources.list file:

deb  http://deb.debian.org/debian  stretch main
deb-src  http://deb.debian.org/debian  stretch main

...

Then update the system packages list using the command below.

# apt update

You want something very similar to the instructions https://www.maketecheasier.com/build-lightweight-linux-for-low-end-laptop/

You should be able to use the DVD1 you already downloaded, instead of doing a netinstall, although immediately do an update. (Only DVD1 is bootable, the others are used as Repositories.)

Untick everything except the bottom one "standard system utilities".

After installing and logging in to the command line, it suggests apt-get install xorg sudo iceweasel pulseaudio

  • X.org is the backend graphical system used by all major desktop environments
  • sudo allows you to run individual commands as root
  • Iceweasel is Debian’s 100% free rebranding of Firefox
  • PulseAudio is one of the sound systems most commonly used in Linux [*]

@sourcejedi says:

  • You probably don't need need to explicitly install pulseaudio, because gnome-core depends on it.
  • With the current default apt configuration, gnome-core will indirectly install xserver-xorg anyway. It is a "recommended" dependency of the gdm3 package.
  • Debian now includes firefox-esr, so you don't need to install iceweasel instead.
  • gnome-core also includes gnome-software, so you can use GNOME Software to install Firefox afterwards anyway :-).
  • If you want sudo, you can install it, but you will also need to add your user to the sudo group. The alternative is just not to set any root password when the installer asks you, then it will set up sudo for your main user automatically and not enable the root account.

Then instead of the LXDE option, where it says apt-get install lxde, you should use: apt-get install gnome-core.

This should give you a basic Gnome desktop without games, office etc.

@sourcejedi says: I would have some concern that installing gnome-core will start gdm immediately, hiding your command line and any possible error messages. To be on the safe side, I recommend switching to TTY2 by pressing ctrl+alt+F2, before you install gnome-core. Then you would be able to switch back to TTY2 and check for errors.

Related Question