The last time I (re)installed Slackware I documented what I did. Somehow I managed to really bork my installation and I decided to go through with a larger reinstallation once more. This is a log of some things I did differently.
Before installing the kernel it’s nice to check the GPG signature of the downloaded packages. With the kernel GPG signature we can simply do:
When making oldconfig
yes "" | oldconfig saves time.
I didn’t use this tool previously, but it can be used to update the official Slackware packages. Just remember to update the gpg signature as well.
I didn’t take the plunge to slackware-current just yet, I might do it at a later time when I feel I have a lot of unused time (will I ever?), but it’s easy to update selected packages.
Will only update git for example.
I did some strange things here, the one which worked was simply as root:
Slackbuilds with sbopkg
Hakyll and xmonad
This gave me a lot of problems. At first I installed xmonad and xmonad-contrib from slackbuilds and I tried to install Hakyll from cabal, but conflicts ensued and they couldn’t really work together.
I tried to move cabal out from my home director, but didn’t find a very satisfactory solution and in the end I just gave up.
The first thing to do is to install ghc from slackbuilds. Then install the Cabal lib and cabal-install from https://github.com/haskell/cabal/releases (they are in the same lib).
Then install a newer version of ghc from their prebuilt binaries at https://www.haskell.org/ghc.
There I got the error that
libtinfo.so.5 couldn’t be found. This was solved by symlinking to libncurses with
ln -s /lib64/libncurses.so.5 /lib64/libtinfo.so.5.
Then we can install things with cabal as a regular user:
If you get the error:
pandoc-188.8.131.52 failed during the configure step. The exception was: user error ('/usr/bin/ghc' exited with an error: /usr/lib64/ghc-7.8.4/unix-184.108.40.206/libHSunix-220.127.116.11.a(execvpe.o): In function `pPrPr_disableITimers': execvpe.c:(.text+0x300): multiple definition of `pPrPr_disableITimers' /root/.cabal/lib/x86_64-linux-ghc-7.8.4/unix-18.104.22.168/libHSunix-22.214.171.124.a(ghcrts.o):(.text+0x0): first defined here
cabal install cabal-install and then try to install hakyll again. This shouldn’t happen with an updated ghc though.
- fish shell
- neovim (xclip from slackbuilds)
- rust (nightly build)
- dzen2 (edit
config.mkand use Xinerama, XPM and XFT)
If you get
rustc: error while loading shared libraries: librustc_driver-7e44814b.so: cannot open shared object file: No such file or directory
it’s because rust installed it in
/usr/local/lib which is not in the default search path. Can add
LD_LIBRARY_PATH or issue
ldconfig /usr/local/lib for instant gratification.
This can be done with everything as regular user.
~/.rakudobrew/bin to path. Then we can install package manager panda and VM moar:
Then with panda we can install modules:
Install from slackbuilds. Check readme! After installation, to allow for no password for postgres (useful for pure local) alter
and add the line
local all postgres trust
before all other configurations.
This time I’m having trouble with getting sound working in Skype. To be continued… Maybe.