LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Sunday, February 14, 2021

Things to Do after Installing Debian (Easy Method)

0 comments

People who initially came to Linux through some Debian derivative distro like Ubuntu often claim that Debian is hard to use, or that Debian doesn’t work out-of-the-box, and so it’s not suitable for Linux beginners they say, but these claims are neither accurate, nor true at all.


  • Add your user account to the sudo group
  • Enable the official Debian contrib and non-free apt repositories
  • If on an x86_64 system, enable the i386 architecture
  • Update the system, including any available dist-upgrade packages in the current Debian release.
  • Install all available free and non-free device firmware:
  • Enable the official backports repository
  • Install the correct nvidia video card driver and related packages if you have an nvidia GPU


There is script created by Jeremy Carter, which does all of the above steps automatically. you simply enter this in your terminal after installing Debian, and everything should happen automatically

 

su - -c 'apt-get update && apt-get install -y wget' && \
bash <(wget -qO - https://bit.ly/debian-post-install)


The script currently does the following setup steps:

  • Add the current user to sudo group.
  • Enable the official Debian contrib and non-free apt repositories if they aren't already enabled.
  • If on an x86_64 system, enable the i386 architecture so that if you want to install wine later, it might work properly for more things.
  • Update the system, including any available dist-upgrade packages in the current Debian release.
  • Install all available free and non-free device firmware.
  • Enable the official backports repository, so you can install some newer software when you want to by using the command:


sudo apt-get -t `lsb_release -cs`-backports install <package name>


Install the correct nvidia video card driver and related packages if you have an nvidia GPU. This will install the latest version of the driver and Linux kernel from the backports apt repository, for best GPU compatibility.

Refrenece:


https://gitlab.com/defcronyke/debian-post-install/-/blob/master/debian-post-install.sh
https://gitlab.com/defcronyke/debian-post-install

No comments:

Post a Comment