Professional Documents
Culture Documents
Packaging
Harrison Kuo
ocf.io/decal/slides/4
Sign-In
https://tinyurl.com/ocf95
Slido
https://slido.com with event code L399
Topics
● Distributions
● Compilation
● Packaging
Distributions?
● Basically the Linux kernel + other software = operating system
● Because there are many different configurations of the kernel and other software,
Linux OS have a term called “distributions”
● Basically a car.
○ Kernel -> Engine
○ Drivers -> Wires
○ Applications -> Radio, Car seat
● Comes in three distinct flavors like ice cream.
○ Debian, Red Hat Enterprise Linux, Arch
● Are spun off a lot.
○ Debian -> Ubuntu, RHEL -> Scientific Linux, Arch -> Manjaro
Debian
● Debuted in late 1993
● Why?
○ Stable
○ User-friendly
○ Respects your privacy (cough cough pre-16.04 vanilla Ubuntu cough)
● Uses apt/dpkg as the package manager
Wait what’s a package manager?
https://courses.edx.org/c4x/LinuxFoundationX/LFS101x/asset/LFS01_ch06_screen60.jpg
But really, what is it?
https://en.opensuse.org/images/c/c3/Packagemanagement.png
What?
● Repository -> Costco
● Package list -> Catalogue
● Package -> Treadmill
Wait how do I use one then?
apt update
apt remove
/usr
.deb Metadata
version#, name, etc
/usr
FPM documentation
Debian documentation
Assignment
● ocf.io/decal/labs/4
○ Install gcc, ruby-dev
○ Get FFTW then compile it
○ Write your own “hellopenguin” program, compile it, then package
it, then install it.