HowTo – Install & Setup Slackware Linux Current 15.0
HowTo – Install & Setup Slackware Linux Current 15.0
Slackware is the oldest living Linux distribution and is moving forward, despite financial troubles. If you feel the need to help Slackware, go to Patrick Volkerding’s PayPal site to donate.
I install and setup Slackware Current 64bit in Virtualbox and install some software from SlackBuilds with two different frontends, sbopkg and sboui. The setup includes: creating a user and setting the password, configuring the slackpkg mirror and running an update, enabling the gui login, and adding my user to the sudoers file. The video covers a lot of material, so feel free to stop and rewind when needed.
Here is a list of steps used in the setup of Slackware for desktop use:
————————————————
** Add user account
useradd -m -g users -G wheel,floppy,audio,video,cdrom,plugdev,power,netdev,lp,scanner -s /bin/bash $USER
passwd $USER
————————————————
** Configure package manager
nano /etc/slackpkg/mirrors
Uncomment a single mirror URL. Make sure that the URL mentions the release number for the version of Slackware you are running. Also, pick a mirror which is close to you or of which you know it is fast. When you have done that, you need to initialize slackpkg’s database by running:
# slackpkg update gpg
# slackpkg update
————————————————
** Installing updates using slackpkg
The slackpkg update command will connect to a Slackware mirror and update the local package information database on your computer. This command does not actually install any package. The usual routine for upgrading your Slackware to the latest patches is as follows:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
The “install-new”, “upgrade-all” and “clean-system” commands will always show you a list of candidate packages to act on before excecuting anything. This allows you to review the suggested package alterations and select/deselect anything you do not agree with. The “clean-system” is technically only needed after you upgrade from one Slackware release to the next (say, from 14.1 to 14.2) and it is meant to remove any Slackware package which is not (or no longer) part of the core distribution.
————————————————-
** Enable display manager
nano /etc/inittab
change default runlevel to 4
————————————————-
** Add user to sudoers file
Open /etc/sudoers file with your favorite text editor as root, then remove comment character, #, in front of line “%wheel ALL=(ALL) ALL” and save.
# visudo
or
# nano /etc/sudoers
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
Change above line as in below and save file.
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
If you did not add your user to the wheel group when creating the user, you need to add your user name to group wheel also.
# gpasswd -aG $USER wheel
————————————————
by eznix
linux download