How to install ssh in Devuan? [with screenshot]
SSH installation in Devuan is very simple. One can use apt-get command:
$ apt-get install ssh
output:
SSH installation in Devuan is very simple. One can use apt-get command:
$ apt-get install ssh
output:
A problem of broken sudo (error: "... is not in the sudoers file. This incident will be reported") which you can meet in Devuan. For example:
has very simple solution: you have to add user in sudo group. For now user (in my case dima) is not a member of sudo group, that's why I cannot use sudo mode to run commands:
$ su
$ root@computer:/home/dima# usermod -a -G sudo dima
Explanation:
Parameter -a (append) is very important! In case you forget to use this swich, user will be removed from any groups.
Parameter -G takes a list of additional groups and assign user to them.
You've fresh installation of Devuan and trying to install package, but system is asking for installation media?
Media change: please insert the disc labeled
'Devuan GNU/Linux 2.1 (ascii) amd64 DVD1 - 2019-12-21 07:24:54 UTC'
in the drive '/media/cdrom/' and press [Enter]
If you continue to click buttons in terminal, system will start downloading packages from repositories, because in your /etc/apt/sources.list
file, where all installation media (and their priorities) internet repositories are present as well.
But in case you want Devuan to not ask you for installation media every time, you can edit sources file this way:
Installation of one the most powerful terminal text editors is very simple in Devuan Linux:
$ sudo apt-get install vim
Trident linux is based on Void linux, let's check, how system identifies itself by running different commands (lsb_release, uname etc):
$ uname -a
Linux computer 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
$ cat /etc/*-release
PRETTY_NAME="Devuan GNU/Linux ascii"
NAME="Devuan GNU/Linux"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"
$ cat /proc/version
Linux version 4.9.0-11-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11)