What to do after installing Slackware 14

Once we have done the Slackware installation 14, some minor adjustments are necessary.

1. Add a new user

It is always recommended within the Linux world, DO NOT use the account of root to work, therefore we must create a different user for this purpose and this is achieved through the command adduser.

# adduser

It is necessary to add our newly created user to the various groups

# usermod -a -G <nombre del grupo> <nombre de usuario>

where can be: audio, lp, optical, storage, video, wheel, games, power, scanner.

It is also necessary that the user we just created has root privileges, this is achieved by modifying the file sweats, in my case I will use vim.

# vim /etc/sudoers

or we can do it in a "more secure" way through

# visudo

We seek and we uncomment the line (we remove the # character)

#%wheel ALL=(ALL) ALL

Once this is done we can continue the process through our user, therefore we close session as root

# exit

and we log in with our user.

2. Change the system language

If we have decided to use KDE, we can from System preferences change the language and keyboard layout, but this would only affect applications belonging to that desktop environment.

To modify the language of the system in general, some environment variables have to be exported, this is achieved editing the file lang.sh

$ sudo vim /etc/profile.d/lang.sh

We search and comment the line (we add the character # at the beginning)

export LANG=en_US

then we add

export LANG=es_MX.utf8
export LANGUAGE=es_MX.utf8
export LINGUAS=es_MX.utf8
export LC_ALL=es_MX.utf8

You can change en_MX.utf8 by the language of your country.

To get one full list of languages supported type in your console

$ locale -a

If you use a shell other than bash (or plan to use it) you also need to edit the file lang.csh

$ sudo vim /etc/profile.d/lang.csh

We search and comment the line

setenv LANG en_US

then we add

setenv LANG es_MX.utf8

3. Update the system

The first thing we must do is choose the repositories that we will use, preferably the ones closest to our location, for this we edit the file mirrors uncommenting the lines that we consider appropriate.

We can notice that there are servers of the branch current containing more updated packages

$ sudo vim /etc/slackpkg/mirrors

What is better, stable version or current?

In Slackware the decision is not very simple, it is not exactly between deciding between Debian Squeeze and Wheezy. The stable version is very polished but it is not patched except for very critical security issues, the branch current receives updates more frequently that improve security but deteriorate its stability to a certain extent, however, there are few occasions in which this generates a real problem.

During this process we will use slackpkg, you need to log in as a user root.

a) Update the package list:

# slackpkg update

b) Install the updated signature key that guarantees that the packages that are installed are official. (Only done the first time)

# slackpkg update gpg

This will give us as a result

Slackware Linux Project's GPG key added

c) Update all installed packages

# slackpkg upgrade-all

d) Install the new packages (if you decided to use the current branch this will add the new packages of that version)

# slackpkg install-new

4. Configure boot

I suppose that the majority of users who have just installed this distribution will be somewhat puzzled when noticing that the graphical environment is not accessed directly but that it is necessary to start using startx.

This is because Slackware by default starts in runlevel: 3, for its part, this distribution needs to start in runlevel: 4 To access the graphic mode automatically, for this we must edit the file inittab

$ sudo vim /etc/inittab

We search and comment the line

id:3:initdefault:

then we add

id:4:initdefault:

5. Configure LILO

By default LILO FABRIC The waiting time is set to 2:00 minutes (1200 tenths of a second), which can be a bit annoying, you have the option of pressing a key to interrupt the count and continue with the system load, but if you It is interesting to modify this waiting time on the LILO FABRIC you need to edit your configuration file, this we must do it as root

# vim /etc/lilo.conf

We search and comment the line

timeout=1200

then we add

timeout=50

So the screen of LILO FABRIC It will only be available for 5 seconds (the time must be specified in tenths of a second, you can use the amount that seems appropriate).

Done this we must execute

# /sbin/lilo

This is necessary to rewrite the MBR.

So far what I consider should be done once we have installed Slackware, in the next installment I will talk about handling packages in this distribution.

I want to express a special thanks to krel [ksuserack [at] gmail [dot] com] who was kind enough to provide me with a complete article of his authorship on which this and the following writing in the series are based in part.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

50 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Raul said

    Surely the entire community should appreciate the emphasis of point one recommending NOT to use the system as root. Especially for the new user who tends to want to eliminate the use of password for all tasks and use the system with excessive privileges.
    Thank you.

    1.    DMoZ said

      Yes, it is a very common mistake we make when we start in the Linux world, bad practices sponsored by Microsoft ...

      In fact, it tends to edit sudoers in a bad way giving all the privileges to a user of the form

      USER ALL = (ALL) ALL

      Or worse, adding NOPASSWD

      But anyway, they are practices that with form we enter, we are fortunately leaving aside ...

      Cheers !!! ...

      1.    eliotime3000 said

        [YaoMing] If you are windowsers and want to stop depending on the admin, I recommend that you start with Windows Vista, then Debian and then Slackware [/ YaoMing].

  2.   downloads said

    If you, like me, don't care about desktop effects in kde.
    They are not in order of importance.
    -http: //xenodesystems.blogspot.mx/2011/02/como-mejorar-el-rendimiento-de-kde-4xx.html
    -http: //parduslife.wordpress.com/2011/02/17/how-acelerar-el-environment-de-descritorio-plasma-de-la-kde-sc/
    -http: //parduslife.wordpress.com/2012/04/03/how-acelerar-el-environment-de-descritorio-plasma-de-la-kde-sc-parte-2/
    -https: //blog.desdelinux.net/debian-wheezy-kde-4-8-instalacion-y-personalizacion/

  3.   helena_ryuu said

    slack looks very interesting but I have some doubts:
    to be able to update is it necessary to log in as root?
    So I can't update with sudo?
    How much ram does a newly installed system run with?
    is it suitable for a hp mini netbook with 1Gb ram?
    (and slack as the only OS)
    If I choose current, those stability problems get worse over time, as I update more and more?
    I can only use lilo and no grub?

    1.    DMoZ said

      Hahahaha, you almost managed to blow my head xD ...

      Apparently it is not necessary to log in as root although so far it is how I do it, I need to delve into this, I am a very very novice user of Slackware yet = P ... But rest assured that I will investigate it until I am completely sure and I will come to leave my impressions here ...

      How much RAM? I have no idea yet ... I think it should run fine on that netbook ...

      If you choose current (which is also very stable) I don't think you have really serious problems since those packages, as I mentioned, are patched with some frequency to avoid that type of situation ...

      I couldn't answer your last question with certainty, but I suppose it shouldn't be a problem to skip the LILO installation and then choose GRUB ...

      Cheers !!! ...

      1.    helena_ryuu said

        hahahahahaha sorry, is that when I find something new, my curiosity forces me to ask these kinds of things to put together an image in my mind, it is like a logical process something strange and paranoid-compulsive Oo
        You have been very kind to answer my questions xDDD

    2.    eco-slacker said

      Slackware is a conservative distribution therefore:

      It is more common to login as root than to run sudo, although I think that if possible I personally don't use sudo.
      It runs many services as if it were a server so you have to disable what you don't need on your netbook, which is good you have to read a bit. There may be better options than Slackware for a netbook you would have to look for.
      Lilo is used but i have seen tutorials to use grub.
      If you use KDE it will consume about 300 mb of ram (on my laptop) but everything is configurable to use less (or more lol).
      If you are a new Slackware user, I recommend you forget about current for now, it will be for a while later.

      regards

    3.    downloads said

      kde, allows us to customize our desktop in case it is a notebook.

      workspace behavior >>> workspace >>> workspace type >>> change from desktop to notebook and voila, we apply and save. Regards.

  4.   Blaire pascal said

    I just read the above, I am just testing in vm, but it promises. The "original distro" hehehe. Thank you. As they say, what is promised is debt.

  5.   Rots87 said

    Oo it almost reminds me of the gespadas manual to install arch lol I guess all distros have to look like ^ _ ^ ... CONGRATULATIONS VERY GOOD JOB

    1.    Blaire pascal said

      Hehehe, the same I say, more on the part of the users and the XD language.

  6.   eco-slacker said

    Very good articles, congratulations, both the installation guide and this one are very complete both. In fact, the installation guide is the most complete I have seen, many skip some steps such as partitioning the hard disk that I consider very important. With this, users of other distros are sure to be convinced that Slackware is not that difficult to install, although it is not just installing, we have to configure the system a bit to our liking.

    Just a few tips from my VERY PERSONAL OPINION: Beware of current, I strongly advise against using current unless you really know what you are doing. Current packages are mostly not packages for everyday use or a production environment, they are for experimentation and the system will almost certainly become unstable. But for example if you want to get the latest version of firefox from current there is not so much problem, however if the kernel or some important system element / library are in current ssssss, eg updating glibc would cause incompatibility problems with applications and we would have to recompile them all. It is also not advisable to update the functional kernel with slackpkg just because yes, we have to put it on a black list (If it does not cause us problems in our team, why change it?). Rather it would be careful with upgrade-all, I advise looking for what interests us, eg firefox, in the changelog of slackware.com and then doing a firefox upgrade nothing else.

    The lilo screen can be skipped (eg if we only have Slackware and nothing else installed) by commenting out the promp and timeout lines.

    Cheers and I'm glad to see more of Slackware in this space.

    1.    DMoZ said

      Thanks for your annotations, they are always welcome from a Slack veteran, I still lack a lot of experience with this distribution but I work that =) ...

      Cheers !!! ...

  7.   medina07 said

    Thank you very much, now I move on to installing Slackware on VirtualBox.

  8.   downloads said

    To create a user account in slackware and not put our system at risk, we do the following. As "root", first add a group to which the account we want to create will belong, and next step we will use Kuser to give it the privileges we want. We type in the terminal:

    groupadd [group name]

    Once the group is created, we download this guide, it is in English, but it is the one that worked for me.

    docs.kde.org/stable/en/kdeadmin/kuser/kuser.pdf

    Greetings.

  9.   proper said

    Slackware brings a script to create users "useradd" is its name (adduser is the command that all distros have and useradd is the Slackware script)

    regards

  10.   tammuz said

    very good tutorial

  11.   downloads said

    In slackware, okular doesn't like how it resolves fonts, so I first tried to install the adobe-reader (RPM) package, and transform it into an executable file for "slack". As in Fedora, the English version is updated, the result was negative, so I decided to install the adobe-reader binary, the result was positive. If you are interested in installing it, we follow this guide. Cheers

    http://www.techonia.com/install-adobe-pdf-reader-linux

  12.   downloads said

    To install macromedia flash player, first we read the warnings in the FLASH section.

    http://duganchen.ca/writings/slackware/setup/

    Later the guide for 32 and 64 bits.

    http://slackerboyabhi.wordpress.com/2012/01/17/installation-of-flash-player-for-slackware-13-37/

    regards

    1.    DMoZ said

      To install Flash is much simpler using Slackbuilds, I am preparing a couple of articles including how to use Slackbuilds, as soon as I have a little more time I will send them to you ...

      Cheers !!! ...

  13.   Elynx said

    Brilliant!

  14.   andlinux said

    very good contribution compa; eros I just installed slack 14 64 bits .. but it hurts to leave slack 12.2 .. after buying a new generation laptop unfortunately it does not support slack 12.2 .. and I decided to install slack14 64bist ...
    well today I'm a little busy brothers .. then I'll count the rest greetings slackeros

    1.    DMoZ said

      Do not forget to ask any questions in the forum, although here it could also be ...

      Cheers !!! ...

  15.   Mr. Linux said

    I owed him this comment. This gem of a distribution that is Slackware is working perfectly, I owe it to you. Thank you

    1.    DMoZ said

      You're welcome…

      I'm glad to be of service =) ...

      Cheers !!! ...

      1.    st0rmt4il said

        Fully working, I just installed Slackware on my personal laptop and above all no VM.

        😉

        Now we go with the steps of this topic!

        PS: I am using XFCE, the only thing that I have not been able to see in the matter of the upper panel is the notification of WIFI networks so now I am on the internet in a wired way. : S

        Thank you!

        Regards!

  16.   alguno said

    AFTER INSTALLING IT, YOU HAVE TO UNINSTALL IT, IT IS NO USE. BETTER DEBIAN AND BY FAR 🙂

    1.    Miguel said

      from your comment, I think you are new to gnu / linux. It reminds me of windows users when you name them linux.

  17.   kingler7345 said

    Install XFCE in a virtual machine and in the installation deactivate the option so that it does not install the KDE environment, but after following these steps I install several KDE applications .. can that be avoided? Also, how do I install the Nvidia drivers for a Geforce 8600? great the tutorial 😀

  18.   lucasmatias said

    Thanks for the tutor, I'm wanting to try this distro and I needed something like that 😉

  19.   Us said

    Great Post !!!

  20.   pixel said

    Good evening, first of all thank you very much for the tutor,
    I want to comment that they are a little bit new in this world of Linux, and I want to continue learning.

    Specifically in point No. 2 change the language to Spanish, I have done the indicated in my case in everything instead of placing MX I have placed GT, I have restarted the Virtual machine and nothing, the OS still follows English, could you tell me that I could be making me miss.

    It is worth mentioning that I have not edited the indicated documents from the console, but from a text editor with which the files could be opened within Slackware of course.

    Thanks for the support, greetings.

    1.    DMoZ said

      Now you just have to change the language in KDE, you do this in System Preferences.

      Cheers !!! ...

      1.    pixel said

        Thanks for your answer, I can tell you that I had already carried out this procedure, changing the language in the System Preferences but after restarting it is still in English.

        Maybe something is wrong, but I have already checked and followed the steps to the letter again and it does not work.

        🙁

        1.    DMoZ said

          I recommend that you post your problem more fully in the forum (http://foro.desdelinux.net/viewforum.php?id=4), so we can help you find a solution ...

          Cheers !!! ...

  21.   David said

    excellent, I'm fana from slack to try it

  22.   DwLinuxero said

    Very good but you need to configure the sound (alsa or press I don't know which one will install by default)
    You also need to indicate how to install some startup splash (system) plymouth or fbsplash or splashy without having to patch the kernel (I don't want to have to get into the guts of the wolf just for this)
    I have the hercules Mk2 drivers in tar.gz but I have the RPM drivers and the hdjcpl in that file too. Can it be converted to Slackware format? Would it work?
    Dependencies is not a big deal (I think) dkms, kernel headers and little else I think I remember
    regards

    1.    Avrah said

      It's Slackware: KISS
      It is not ubuntu.

  23.   DwLinuxero said

    You forget several details, example
    Bootsplash from system boot
    Installation of third-party drivers such as for the hercules console DJ Mk2 (they are with .deb and .Rpm formats respectively and no more)
    Installation of gnome and appmenu-indicator to have the menus up in Unity style
    Configure suspend / hibernate scripts to kill and reboot certain daemons to work properly (example jackd, pulseaudio etc)
    Install third-party packages as in debian / arch
    regards

  24.   chinoloco said

    Excellent post! is there any way to save it, or something like that?
    I am new, thank you !!

    1.    DMoZ said

      Thank you,

      I kept the promise to put together a PDF for you, I'll wait to finish the writing and now with the information that Eliot does us the favor of bringing you, we can leave you a good manual.

      Cheers !!! ...

      1.    eliotime3000 said

        Don't worry about that, because during these remaining days I will be finishing writing my article about Slackware 14 and some helper plugins such as the slapt-get package manager and the Alien and Slacky.eu backports so that I don't have to depend on of the slackbuilds.

      2.    chinoloco said

        Thank you very much for answering, the truth is that I read it again, because otherwise, I didn't even know that you had answered me, I hope to hold the hand of this blog 🙂
        Regards!

  25.   garliclabaiko said

    Hello, good.
    I just left Ubuntu (I hate Unity and Gnome is dying ...) and the old Slackware is a great and pleasant surprise (although I have found it via Wifislax that it is not properly a distro but a set of specific tools in principle ...) But, you end up working in S ...
    The only thing that ties me to W $$$ is Photoshop, Gimp does not arrive despite being a fantastic tool.
    PS walks in Slackware under WINE in an acceptable way ... until you use the TEXT tool and it closes without hesitation. I have seen the same problem with Ubuntu in some versions and they indicate that the problem is that we have too many SOURCES installed ????
    And where is that? On my partition for W7? Of course, if WINE enters W to search for sources, it is because we need the ones installed there, it is not enough with a couple of them ...

    I don't know if you will have an answer or some trick from the almond nut; but the biggest tie to W $$$ is that joío PS (In some cases it is non-negotiable, GIMP is good, but I can't start again after 7 years of being in potochop….)

    In any case, do you know how to install new fonts in Slackware that affect GIMP, LibreOffice and so on? Do you know any tff's viewer-installer for Slackware like FONT MANAGER or similar? Do you have to install One by One? And how?
    Anyway ... Do you know anything about this? Everything is in strange foreign English ...

    Mutxas zenkius for your work and interest. XD

  26.   frilly said

    Excellent entry, I was walking reviewing Slackware entries in blogs, there is much more information than when I started 6 years ago uu, just to contribute something more. Quisa for the new release of Slackware
    Slackware gives great importance to security so both the stable branch, current and previous branches give a lot of emphasis on security using an old version of Slackware is very safe since updates are received for a long time, so for security we do not have to worry .
    Slackware has many very good scripts such as adduser in the third section of this script just when it gives you a warning, you press the up key, and by magic the groups appear for a normal desktop user, if you want more groups the you add right there.
    There is also xorgsetup for the graphical environment, Create the jdk and jre package which was withdrawn due to legal problems, Install an Office suite different from Koffice.

  27.   D_Jaime said

    Very good blog !!!!!!!!
    I just wanted to congratulate you ……………………………………………………….

  28.   sergio said

    Good afternoon,
    It is to see if someone can give me information to install slackware 14.2
    What are the minimum packages for this to start.
    and also what packets are needed for the network to work with a ping or traceroute.
    Thank you

  29.   Jordi said

    Slackware is rather a complete distribution that it is always advisable to install it in full. Unless you have very limited disk space, so at the beginning of the installation you can choose the packages to install by deselecting those that do not interest you.
    If you prefer a more minimalist linux, opt for archlinux that gives you everything with a dropper.

  30.   Peter Smith said

    Hello,

    I just installed Slackware 14.2-current and I have done both the installation and the subsequent configuration with the help of this tutorial.

    Today it is still valid, and it is very helpful

    Thank you!