Skip to content

Instantly share code, notes, and snippets.

@alecordev
Last active March 19, 2017 14:06
Show Gist options
  • Save alecordev/7c0fe824c374b960257383b0dc66dfb0 to your computer and use it in GitHub Desktop.
Save alecordev/7c0fe824c374b960257383b0dc66dfb0 to your computer and use it in GitHub Desktop.

Commands

You can install Python-3.6 on debian 8 as follows:

wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
tar xvf Python-3.6.0.tgz
cd Python-3.6.0
./configure --enable-optimizations
make -j8
sudo make altinstall
python3.6

Install sudo

apt-get install sudo

sudo is configured entirely through the file /etc/sudoers. This file controls the commands which users are allowed to run.

emacs /etc/sudoers

add a line:

user ALL=(ALL) ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment