20

Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

Embed Size (px)

Citation preview

Page 1: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]
Page 2: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

Slackware:

Quickly and Easily Manage

Your KDE SC Hacking

Camp KDE 2011Vincent Batts, [email protected]

Page 3: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

Overview

●What brought me to Slackware?

●Dependencies, and their components

●Vanilla involvement with upstream source

●Manage your builds

●Additional packages

●Recovering your system

Page 4: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]
Page 5: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

What brought me to Slackware?

Page 6: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Learn more about KDE and where is it headed● Familiarity with new dependencies● Simplicity in component handling and upgrades

What brought me to Slackware?

Page 7: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Immediate Dependencies are present● Packages are not split out

(bin, doc, dev, lib)● Monolithic style

Dependencies,and their components

Page 8: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Immediate Dependencies are present

Dependencies,and their components

Page 9: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

Do Not Fear The Command Line :)

“If you continue this simple practice every day, you will obtain some wonderful power. Before you attain it, it is something wonderful, but after you attain it, it is nothing special.”

-- Shunryu Suzuki

NOTICE

Page 10: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● ./configure && make● mkdir build && \

cd build && \

cmake .. && \

make

Vanilla involvementin the upstream source

Page 11: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● makepkg(8) for system or user (kdesrc-build)● SlackBuilds● Tagging your packages/builds

Managing yourown builds

Page 12: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● makepkg(8)

$> make install DESTDIR=`pwd`/tmp

$> cd tmp/

$> makepkg -l y ../<pkg_name>.tgz

$> sudo upgradepkg --reinstall ../<pkg_name>.tgz

Managing yourown builds

Page 13: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● makepkg(8)

$> make install DESTDIR=`pwd`/tmp

$> cd tmp/

$> makepkg -l y ../<pkg_name>.tgz

$> sudo upgradepkg --reinstall ../<pkg_name>.tgz

Managing yourown builds

Page 14: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● explodepkg(8) + makepkg(8)

$> mkdir tmp && cd tmp/

$> explodepkg ../<pkg_name>.tgz

[...]

$> makepkg -l y ../<pkg_name>.tgz

$> sudo upgradepkg --reinstall ../<pkg_name>.tgz

Managing yourown builds

Page 15: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● SlackBuilds

an *.sh script, with packing intentions

Managing yourown builds

Page 16: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Tagging your packages/builds

<PKG-NAME>-<VERSION>-<ARCH>-<BUILD>_<TAG>.t?z

Managing yourown builds

Page 17: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

http://slackbuilds.org

and

http://sbopkg.org

(2700+ packages available)

Additional Packages

Page 18: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]
Page 19: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Managed core set of packages● Benefits of the lack of dependency chains

Recovering from a mess

Page 20: Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]

● Have a local mirror/DVD● Pkgtools

#> upgradepkg --reinstall */*.t?z● slackpkg

#> slackpkg clean-system● slack-utils

$> slp -t mytag | wc -l

23

Recovering from a mess