The first part of this note-to-self will come later. And it’s about the decisions I made configuring the HDD’s.
Sudo wasn’t installed by default (installing from dvd’s), so I logged in as root
: su -
apt-get install sudo
didn’t help, because the sources.list
was looking for the dvd’s, so i changed it.
In vi /etc/apt/sources.list
I commented out the dvd sources:
#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 xxx]/ stretch contrib main #deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-2 xxx]/ stretch contrib main #deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-3 xxx]/ stretch contrib main
And I added/uncommented the right ones:
deb http://deb.debian.org/debian/ stretch main deb-src http://deb.debian.org/debian/ stretch main deb http://security.debian.org/debian-security stretch/updates main contrib deb-src http://security.debian.org/debian-security stretch/updates main contrib deb http://deb.debian.org/debian/ stretch-updates main contrib deb-src http://deb.debian.org/debian/ stretch-updates main contrib
Then I installed sudo apt-get install sudo
, and I added my user as sudoer
: adduser username sudo
, and lastly I restarted the Terminal.
Further I installed Guake and Vim: sudo apt-get install guake vim
Links
-
- debian 8.1.0 jessie – sudo fix (not installed by default)
su - && aptitude install sudo && adduser username sudo
will work as well.- debian will install
sudo
during installation if there isn’t a root password specified when prompted.
- Debian Sources List Generator
- In github’s Guake they recommended:
sudo apt-get build-dep guake
. About differences betweenapt-get install
andapt-get build-dep
: What’s the difference between apt-get install and apt-get build-dep?
- debian 8.1.0 jessie – sudo fix (not installed by default)