What to do after installing Slackware? Quick and easy guide

Hello friends from FromLinux, after a long time without posting anything, here they have me again. Today I am going to show you how to get our Slackware ready after having installed it.

Why use Slackware?

Well everyone knows that it will be more than five months ago I made the change of Debian a openSUSE on all my machines including my servers. Now I did the same as I told myself .. If openSUSE has exited SUSE and this came from Slackware .. What will Slackware be like? And I decided to try it :).

Such was my pleasure that I could not contain the emotion and although one has to play a little with the roll of slackpkg, installpkg, sbopkg and the Slackbuilds website, it is clear that it is worth it since we achieve a performance that we will not see even in Debian, Fedora, RHEL, SUSE, ArchEtc. ...

The only distro that shows its performance is Gentoo and this lacks compilation times and a very long installation, while Slackware is installed in 20 minutes (depending on the software we choose): D.

My story ... the story of a Debian, the father of Linux, whom I adored for years and from whom I passed through the RHEL brothers and their descendants, and later by a daughter of a completely independent branch openSUSE of the mother SUSE which opened to me road to an unprecedented world. The mother of Linux distributions .. Slackware: D.

A long road led me to a world called real Linux. A world that looks a lot like Unix. A world in which packages are compiled. A world in which junk packages are not installed when wanting to install an application since we only need only their dependencies. A world of stability. A world without versiontitis and dystrotitis.

Even so, this distro is current, it is updated periodically .. To give an example: Slackware 14.1 It came out on 7.11.2013. We all know what happened recently with OpenSSL and we all know that the major distros have patched their OpenSSL versions. In the case of Debian or RHEL, they patched their versions 1.0.1e. Slackware 14.1 It also came out with this version, but when it detected this bug, it chose to put version 1.0.1g directly into the stable branch. This distro chooses to put the official version instead of making patches that can cause more bugs apart.

Which is why I kept Slackware on all my machines and servers and I plan to stay here. During these months I have been testing this distro very, very deeply to know if this step is correct. And the answer is yes .. Mother yes

. This distro conquered me, completely captivated me and without a doubt it is the best thing I tried. I have no other words.

Without further ado, some images of my system:

Slackware

Slackware

Slackware

Slackware

Slackware

Where I download it?

32 bit
http://mirrors.slackware.com/slackware/slackware-iso/slackware-14.1-iso/slackware-14.1-install-dvd.iso

64 bit
http://mirrors.slackware.com/slackware/slackware-iso/slackware64-14.1-iso/slackware64-14.1-install-dvd.iso

I am not going to go into how to do the installation itself since it is simple. It is a text mode installer, but it guides us step by step.

What to do after installing Slackware?

Add a new user:

adduser

During the dialog that appears when this appears:

Additional UNIX groups:

press the up key on your keyboards and at the end of the group line that is auto-completed with said key add: wheel and press enter.

Enable sudo to our user:

nano /etc/sudoers

Uncomment (#):

%wheel ALL=(ALL) ALL

We save the document with CTRL + O and close with CTRL + X.

Translate the system to Spanish:

List all available languages: locale-a

nano /etc/profile.d/lang.sh

Substitute export LANG = en_US:

export LANG=es_ES.utf8

We save the document with CTRL + O and close with CTRL + X.

nano /etc/profile.d/lang.csh

Replace setenv LANG en_US:

setenv LANG es_ES.utf8

We save the document with CTRL + O and close with CTRL + X.

Configure the repositories:

nano /etc/slackpkg/mirrors

Uncomment the links of Portugal since Spain does not have repos:

ftp://darkstar.ist.utl.pt/pub/slackware/slackware-14.1/ http://darkstar.ist.utl.pt/pub/slackware/slackware-14.1/

We save the document with CTRL + O and close with CTRL + X.

Update system:

slackpkg update slackpkg update gpg slackpkg upgrade-all

Start the system directly in graphic mode:

nano /etc/inittab

Change id: 3: initdefault: to:

id:4:initdefault:

We save the document with CTRL + O and close with CTRL + X.

Change the lilo wait from two minutes to five seconds:

nano /etc/lilo.conf

Replace timeout = 2000 with:

timeout=50

We save the document with CTRL + O and close with CTRL + X.

/sbin/lilo

Now we install a very useful tool, which will compile and install the programs for us:

wget http://sbopkg.googlecode.com/files/sbopkg-0.37.0-noarch-1_cng.tgz installpkg sbopkg-0.37.0-noarch-1_cng.tgz

We update the database of programs available on Slackbuilds.org:

sbopkg -r

How to install packages through sbopkg…?

We verify that the package is available at http://slackbuilds.org/ and note all the dependencies.
Then just run: sbopkg -i "slim" (It is an example of installing slim). Do not forget that before putting the package that we want to install we put all its dependencies. Now we install the basic programs:

If we use notebook:

sbopkg -i "kcm_touchpad"

VLC:

sbopkg -i "orc texi2html libebml libmp4v2 libcuefile libreplaygain lame x264 a52dec faad2 speex twolame lua portaudio libass libavc1394 libdc1394 libdca libdvbpsi libdvdcss libdvdnav libmatroska libmpeg2 libshout vcdimager fafropackinger555 tools vprodpackinger libsuplingerXNUMX tools

Compression tools:

sbopkg -i "p7zip rar unrar libtar"

Java:

In the case of using a 32 bit system:

Download jdk from oracle in its 7u51 version (jdk-7u51-linux-i586.tar.gz):

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u51-oth-JPRDescargar slackbuild:

We download the slackbuild:
wget http://slackbuilds.org/slackbuilds/14.1/development/jdk.tar.gz

Unzip jdk.tar.gz

Paste the file jdk-7u51-linux-i586.tar.gz in the jdk folder that we unzipped earlier and run the script:

./jdk.SlackBuild

This will create an installable package like this (you always see the path and name of the generated package) and we install it with:

installpkg /tmp/jdk-7u51-i586-1_SBo.tgz

In the case of using a 64 bit system:

Download jdk from oracle in its 7u51 version (jdk-7u51-linux-x64.tar.gz):
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u51-oth-JPR

We download the slackbuild:
wget http://slackbuilds.org/slackbuilds/14.1/development/jdk.tar.gz

Unzip jdk.tar.gz

Paste the file jdk-7u51-linux-x64.tar.gz in the jdk folder that we unzipped earlier and run the script:

ARCH=x86_64 ./jdk.SlackBuild

This will create an installable package like this (you always see the path and name of the generated package) and we install it with:

installpkg /tmp/jdk-7u51-x86_64-1_SBo.tgz

Flash:

sbopkg -i "flashplayer-plugin"

Libreoffice:

sbopkg -i "libreoffice"

Translate Libreoffice:

We download the slackbuilds from libreoffice-helppack and libreoffice-langpack:

wget http://slackbuilds.org/slackbuilds/14.1/office/libreoffice-helppack.tar.gz wget http://slackbuilds.org/slackbuilds/14.1/office/libreoffice-langpack.tar.gz

We unzip the downloaded files.

We download the libreoffice packages:

32 bit:

wget http://download.documentfoundation.org/libreoffice/stable/4.2.3/rpm/x86/LibreOffice_4.2.3_Linux_x86_rpm_helppack_es.tar.gz
wget http://download.documentfoundation.org/libreoffice/stable/4.2.3/rpm/x86/LibreOffice_4.2.3_Linux_x86_rpm_langpack_es.tar.gz
We paste these files without decompressing them in the corresponding slackbuid folders and execute the script in both:
./libreoffice-helppack.SlackBuild ./libreoffice-langpack.SlackBuild

And we install the generated packages (you always see the path and name of the generated package):

installpkg /tmp/libreoffice-helppack-4.2.3_es-i586-1_SBo.tgz
installpkg /tmp/libreoffice-langpack-4.2.3_es-i586-1_SBo.tgz

64 bit:

wget http://download.documentfoundation.org/libreoffice/stable/4.2.3/rpm/x86_64/LibreOffice_4.2.3_Linux_x86-64_rpm_helppack_es.tar.gz
wget http://download.documentfoundation.org/libreoffice/stable/4.2.3/rpm/x86_64/LibreOffice_4.2.3_Linux_x86-64_rpm_langpack_es.tar.gz

We paste these files without decompressing them in the corresponding slackbuid folders and execute the script in both:

ARCH = x86_64 ./libreoffice-helppack.SlackBuild ARCH = x86_64 ./libreoffice-langpack.SlackBuild

And we install the generated packages (you always see the path and name of the generated package):

installpkg /tmp/libreoffice-helppack-4.2.3_es-x86-64-1_SBo.tgz
installpkg /tmp/libreoffice-langpack-4.2.3_es-x86-64-1_SBo.tgz

Filezilla:

sbopkg -i "wxPython filezilla"

Skype:

sbopkg -i "skype"

teamviewer:

wget http://download.teamviewer.com/download/teamviewer_linux.tar.gz

Unzip it and without installing it, we can use it by running the teamviewer package in this folder.

Firewall:

sbopkg -i "ufw"

We add the package to the start list:

nano /etc/rc.d/rc.local

We write this at the end:

if [-x /etc/init.d/ufw]; then /etc/init.d/ufw start fi

We save the document with CTRL + O and close with CTRL + X.

We enable the firewall:

ufw enable

We allow ssh if we use it:

ufw allow ssh

New launcher menu for KDE if you are interested (as in the image):

sbopkg -i "homerun"

And voila .. With this they obtain a system prepared for general use: D. And you see that it is not as difficult as it may seem. Greetings linuxeros and do not forget to comment :).