-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIntro_to_Linux.Rmd
More file actions
147 lines (117 loc) · 5.26 KB
/
Copy pathIntro_to_Linux.Rmd
File metadata and controls
147 lines (117 loc) · 5.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
title: "Introduction to Linux"
author: "Filip Strnad and Kevin Shook"
date: "24/01/2021"
output:
beamer_presentation:
theme: "default"
colortheme: "whale"
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## What is Linux, and why should I care about it?
- Linux is a family of Free Open Source Software (FOSS) operating systems
which is widely used.
- Linux is particularly well-suited to academics, researchers, and sofware developers
- This presentation will introduce you to Linux, and will show you how you can use it to make your computing more enjoyable and productive
## History - Unix
- The operating system Unix was developed at Bell Labs in the U.S.A. in the 1970s
- Very widely used, but proprietary
- Many tools (like the C language) were developed with and for Unix
## History - GNU
- The GNU (GNU's not Unix) project was developed in the 1990s to produce a free version of Unix
- https://www.gnu.org/
- based on 4 freedoms:
(0) to run the program,
(1) to study and change the program in source code form,
(2) to redistribute exact copies, and
(3) to distribute modified versions.
- GNU produced most of the OS, and the tools including language compilers, but never completed the kernel, which controls the hardware
## History - Linux Torvalds
- in 1991 Linus Torvals, a Finnish teenager, started working on Linux, a FOSS
unix-like kernel
- version 1.0 released in 1994
- Linux + GNU provides basis for many operating systems
- Linux development is sponsored by the Linux Foundation, a non-profit, which pays Linus to develop Linux
- Most of Linux is written by others, including programmers from large companies like IBM, Amazon, Red Hat and Microsoft
- Now the largest cooperative project in the world, and the largest codebase in the world.
## History - today
- Linux is the most widely used operating system kernel in the world
- Most servers
- Google
- Amazon
- Microsoft Azure cloud
- All supercomputers
- Android
- Chromebooks
- About 2% of desktop/laptops
## Distros
- There are many different Linux distributions ("Distros")
- some are for primarily for servers (Red Hat, Debian)
- some are for desktops (Ubuntu, Mint)
- some are for experts (Arch, Gentoo)
- All versions can run the same applications
- Differences are in
- how support is provided
- how often the distro is upgraded
- how software is installed
- default software
## Why should I use Linux?
- Many different reasons, but most come down to freedom and power
- Four freedoms
- Power results from these
- Linux was developed by its users, for their benefit
- **All** proprietary operating systems (Windows, MacOS) were developed by corporations to benefit _them_!
## Linux advantages - setting up
1. you can download the source for linux
- https://github.com/torvalds/linux
- sources for almost all software on linux also available
- windows: closed source, can't view
2. you can install updates without rebooting your machine
- true for most software
- true of even the kernel itself on > 4.0
- windows: requires reboot
3. you can plug devices in without worrying about finding/downloading drivers
- exception: some highly specialized devices
- windows: requires download
## Linux avantages - running Linux
4. you can run linux from a pen drive, cd, dvd, etc.
- windows: no such option exists
5. you can run linux for years without rebooting
- ultra stable
- less memory fragmentation
- windows: system becomes slow over time
6. you can run linux on almost any hardware
- this includes computers/laptops from the 80s and 90s
- windows: minimum requirements often require hardware
7. you can fix broken linux installs with a live cd
- sometimes broken windows can be fixed with a linux live cd
- windows: system repair is only option
8. you can update all of your software often with a single command
- windows: windows update only updates windows
9. you can move a hard drive from one linux machine to another
- largely made possible by not needing specific drivers
- windows: system often will not function properly
- windows: moving a hard drive often requires a new license as well
10. you can customize quite literally anything
- fonts, icons, themes, etc.
- there are even windows and mac themes on linux
- windows: some customization is available, but not near the extent of linux
11. you can install software without worrying about viruses and malware
- implies also that no anti-virus software is needed
- don't need to download programs from sketchy websites
- not dependent on manufacturer's store
- software from official repositories will never contain malicious software
12. Linux is more secure
- FOSS is more secure (and has fewer bugs)
- Windows and MacOS security through obscurity is much less secure
13. Linux is better for programming
- built _by_ developers _for_ developers
- _all_ languages are built in: C, C++, R, Python, Fortran, Rust, awk etc
- editors and IDEs
- version control: git
14. Linux doesn't spy on you
- Windows 10 and MacOS report _everything_ you do
- MacOS reports your locationa and every program you run
https://sneak.berlin/20201112/your-computer-isnt-yours/