r/debian • • 3d ago

Debian it is

Hey community,

I decided to choose debian as my main OS. Now I need a guide what should I learn and what are the first steps?

Please help. :)

75 Upvotes

41 comments sorted by

10

u/toni_bmw 3d ago

I made that decision 20 years ago, and in my opinion, it was the right call. You could start at https://debian-handbook.info/get/, and in my experience, it's really important to understand apt, dpkg, and Debian's release and repository structure. I still feel like I have a lot to learn about Debian, so consider it a gift to always have new things to discover, and move forward little by little, patiently and consistently

2

u/ChosenForge 3d ago

Thank you for your advice. I will start with that. :)

34

u/AlZheim3r 3d ago
  1. turn your computer on

6

u/Own_Natural_6803 3d ago

Think about how unfair life has been to you. Hold it in your hand like a stone. Now open your hand.

1

u/anselmus_ 3d ago

No evidence yet that they have one. They could be posting from their phone.

11

u/sbpqd 3d ago

2

u/LonelyYou7344 3d ago

Melhor conselho até agora

3

u/No_Trade_7315 3d ago

Turn on uncomplicated firewall.

1

u/ChosenForge 3d ago

How can I do that?

2

u/No_Trade_7315 3d ago edited 3d ago

Copy/paste these commands into your terminal. Enter your password when prompted:

  1. Install UFW (if not already present)

sudo apt update && sudo apt install -y ufw

2. Allow SSH FIRST so you don't lock yourself out of a remote server

sudo ufw allow ssh

3. Enable the firewall (starts immediately and persists across reboots)

sudo ufw enable

4. Verify it is active and check active rules

sudo ufw status verbose

1

u/corey389 3d ago

UFW is a front end for IP tables NFT works with the Kernal and it's just a easy readable format, that can take more complex rules.

1

u/corey389 3d ago

Just search Google plenty of examples 

→ More replies (1)

1

u/anna_lynn_fection 3d ago

Check out opensnitch. It's not in the repos, but there are packages on their git. I like that because it notifies me if anything is up to something I didn't okay. It can be a pain in the ass to train it at first, but well worth it IMO.

0

u/corey389 3d ago

even better to use NFT Tables

4

u/Gloomy-Insect-7996 3d ago

Learn some basic terminal commands—— “sudo apt update” to update the packages in the repository and then “sudo apt upgrade -y” to update your apps. The little “-y” is so you don’t have to say yes in the next prompt.

Change the mirror (where you download your apps from) to somewhere closer geographically to you for faster downloads.

In windows there is the idea of administrator privilege to do important, potentially system-breaking stuff. You use sudo for that in Linux.

Learn how to move around in the terminal! Have fun! Copy some stuff using cp command.

Choose a cool desktop environment like KDE Plasma or Cinnamon or Gnome or Cosmic.

Also, very important: “sudo apt install timeshift”. This has saved my butt when I’ve broken my system and I needed a way to restore to a previously working version of my system.

Have fun is my biggest advice.

3

u/StichhD 3d ago

Well... just using the PC is fine. But I’ll tell you what I do.

  • add support for flatpak.
  • enable non free and contrib repos.
  • install drivers kernel and firmwares from backports.
  • add non free codecs.
  • install a firewall
  • I install the system without a swap partition and then I use zram. If you already have a swap partition you can use zswap.

3

u/joe_attaboy 3d ago

Use it. Just use it and you'll learn, just the way you probably did with other systems.

1

u/Chris73m 3d ago

All depends on what you want to use your machine for. Do you want to write a book, make 3d images, play games, code, just surf the web? Etc..etc..

2

u/ChosenForge 3d ago

I want to develop apps, embedded projects, robotics and little bit of gaming.

1

u/ABG1YtBr 3d ago edited 3d ago

Then just have a text editor or an IDE and search for the specific libraries you'll want to use. 

You can install them in the terminal with

sudo apt install nameOfTheDependencyHere

And start coding. 

You'll probably want build-essential first, of that's not there by default on regular Debian. 

Edit: you can also install a text editor or IDE of your choice  with the same sudo apt install command. Also, get used to learning git. 

For gaming, get Steam and you should have Proton automatically. 

→ More replies (1)

2

u/rukiann 3d ago

Install it and use it.

2

u/ItsSignalsJerry_ 3d ago

Drag the mouse. Click stuff.

4

u/Key_Sense9870 3d ago

Drivers 

1

u/zdo_obz 1d ago

Probably should use something other than Debian if he wants those.

1

u/Key_Sense9870 1d ago

Debian has great drivers? 

1

u/[deleted] 3d ago

1-Press the power button

1

u/pelnats_floor 3d ago

if you use a thinkpad, it is recommended to install tlp, tlp-pd and tlp-rdw. this is a better alternative to power-profiles-daemon (the default one installed on most linux desktops/distros), especially on thinkpads.

1 - install the packages

sudo apt update && sudo apt install tlp tlp-pd tlp-rdw

2 - enable the tlp service

sudo systemctl enable tlp.service

sudo systemctl start tlp.service

1

u/zdo_obz 1d ago

First make your username and password user:user (this is just temporarily for systemd’s X11 permission fork).

Make sure you have the sshd daemon running (pronounced demon).

Remove ufw because it will cause issues.

Type sudo apt update && sudo apt upgrade.

After 24 hours set your password and put your ufw back up

1

u/SensoredHacker 1d ago

read the fhs. so you can know what goes where. https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
then grog the basic tools you have available:
https://www.gnu.org/software/coreutils/manual/coreutils.html

1

u/veganmaister 3d ago

Use AI. It will teach you and help you overcome any hurdles.

0

u/Immediate_Refuse4701 3d ago

Just learn how to install debian on youtube and after that you will be fine

-1

u/Zusatzeinkommen 3d ago

Nehme nicht Debian sondern Linux Mint mit Debian Unterbau=LMDE7 weil da hast du ganz viele Tools dabei, und schon viele Codex vorinstalliert. Die du sonst bei Debian alle nach installieren musst

1

u/ChosenForge 3d ago

Ist mint nicht Ubuntu based?

1

u/p00ji 3d ago

lmde is specifically based on Debian only, no ubuntu in it

1

u/Lavrez 3d ago

LMDE7 should have been my first step. But it is the step I have not taken yet. If my existing setup breaks somehow and can't be fixed, or I have to install Linux on some other PC, my first choice will definitely be the latest version of LMDE.

0

u/corporateavengerkast 3d ago

backport drivers, kernel, and firmware stuff. when I first switched to debian I noticed that it crawled on my machine, once I figured out the backport stuff it improved.

not everything you want is going to be in the package manager BUT pretty much everything out there has a .deb so learn dpkg and how to install stuff from a downloaded .deb file. even better learn curl in your terminal to make that even easier. I know some people have gotten discouraged because something they used on another distro isn't in the debian package manager but it's out there somewhere.

0

u/Valuable_Chart4270 3d ago

Mostly, majority of the distro hoppers end in debian, but before that

- i was proudly using endevour os, arch

- fedora

- kubuntu

- linux mint

- finally debian (4 or 5 years of journey)