It seems like it’s been a yearly recurrence reinstalling slackware from scratch. This time it happened during my vacation when I was mucking around with trying to compile erlang with wxWidgets support and somehow a make clean started to remove / and I only noticed it too late… Not sure how it happened but I had changed things in the make and config files. Oh well no data lost just annoyances.
This process was done with Slackware 14.2 and roughly details what I’ve done so I can retrace my steps in the future.
Up and running
Even with only a laptop with windows installed hope is not lost. The almighty alien has a great tutorial creating an usb boot loader from windows. At first I tried to extract the contents of usbboot.img using IZarc but it reported it as empty but Winimage worked fine. The rest went smoothly.
I used a split of
/home. The partitions on my laptop looks messy as I’ve kept some factory windows partitions.
$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 50G 27G 21G 57% / devtmpfs 2.9G 0 2.9G 0% /dev tmpfs 2.9G 1.1M 2.9G 1% /run tmpfs 2.9G 688K 2.9G 1% /dev/shm cgroup_root 2.9G 0 2.9G 0% /sys/fs/cgroup /dev/sda5 50G 93M 47G 1% /usr/local /dev/sda7 148G 2.0G 139G 2% /home /dev/sda2 187G 88G 99G 48% /mnt/win cgmfs 100K 0 100K 0% /run/cgmanager/fs
Can be found in
/extra/wicd in the slackware release.
installpkg ... chmod +x /etc/rc.d/rc.wicd /etc/rc.d/rc/wicd start wicd-curses
Use slackpkg to update official Slackware packages.
slackpkg update slackpkg update gpg
To quickly get up and running use xfce and
neovim can be installed from slackbuilds. Make sure to set fish as login shell as well as the default shell for both root and user.
Store https://github.com/treeman/dotfiles in
~/dotfiles and symlink from there as needed.
cabal-install from slackbuilds and then use cabal to install the rest:
cabal install cabal-install cabal install xmonad cabal install xmonad-contrib
Use sbopkg to install conky (make sure to manually include lua support) and nitrogen.
Clone https://github.com/robm/dzen and edit
config.mk, choose option 7 (XPM, XFT, Xinerama). I’m not 100% I need to do it for the laptop or if this only was needed to support Xinerama but I did it this way anyway.
When started use
lxappearance to set a prettier look for firefox and other gui. See previous post about prettifying fonts.
Use cpan as root whenever missing packages are found:
cpan install CPAN cpan install Modern::Perl cpan install DateTime
The blog uses Hakyll.
cabal install missingH cabal install hakyll
~/.s3cfg to allow syncing.
- Download the erlang-otp slackbuild and find the latest version.
- Install latest Elixir from source.
- Follow the installation guide and install the dependencies.