You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: presentation/linux_bash_metacentrum_course.tex
+26-19Lines changed: 26 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ \section{Introduction}
138
138
\item Download the presentation from \url{https://soubory.trapa.cz/linuxcourse/linux_bash_metacentrum_course.pdf}
139
139
\item Download the scripts and toy data from \url{https://soubory.trapa.cz/linuxcourse/scripts_data.zip}
140
140
\begin{itemize}
141
-
\item\alert{Note:} Open the scripts in some \alert{good} text editor (slide~\ref{editors}) --- showing syntax highlight, line numbers, etc. (\alert{NO} Windows notepad); the files are in UTF-8 encoding and with UNIX end of lines (so that too silly programs like Windows notepad won't be able to open them correctly)
141
+
\item\alert{Note:} Open the scripts in some \alert{good} text editor (slide~\ref{editors}) --- showing syntax highlight, line numbers, etc. (\alert{NO} Windows notepad); the files are in UTF-8 encoding and with UNIX end of lines (slide~\ref{eolenc}; so that too silly programs like Windows notepad won't be able to open them correctly)
142
142
\item\alert{Never ever} open any script file in software like MS~Word --- they destroy quotation marks and other things by \enquote{typographical enhancements} making the script unusable
143
143
\end{itemize}
144
144
\end{itemize}
@@ -188,18 +188,18 @@ \subsection{What it is a~\enquote{UNIX}}
\item Originally developed in Bell labs of AT\&T in 1969, written in C, since then huge radiation, hybridization, HGT,~\ldots
191
+
\item Originally developed in Bell labs of AT\&T in 1969, written in C, since then huge radiation, hybridization, horizontal gene transfer, rich evolution,~\ldots
192
192
\item Trademark --- only systems passing certain conditions (paid certification) can be called \enquote{UNIX} --- Solaris, HP-UX, AIX, etc. (commercial systems for big servers)
193
-
\item Main principles: simple, multitasking, hierarchical, network, for more users (takes cares about permissions etc.), configuration written in plain text files, important relationships among applications (generally one application = one task --- they are chained), work primarily with text, has kernel and API (interface to communicate with the rest of the system)
\item Systems compatible with UNIX (Linux, BSD and its variants, macOS,~\ldots)
197
-
\item Mainly open-source (UNIX is commonly commercial --- source code is not publicly available, but its specification is)
198
-
\item Nowadays prevailing over \enquote{old} UNIX systems, used in many devices from tiny embedded toys to huge data centers
199
-
\item Try to provide same quality as paid systems, but (mostly) for free
200
-
\end{itemize}
201
-
\item Many courts about copyrights, parts of code, patents (USA allow software patents, EU not) --- GNU, Linux, BSD, etc. try to ensure to have only code not covered by any patents to avoid possible courts
193
+
\item\textbf{Main principles:} simple, multitasking, hierarchical, network, for more users (takes care about permissions etc.), configuration written in plain text files, important relationships among applications (generally one application = one task --- they are chained), work primarily with text, has kernel and API (interface to communicate with the rest of the system)
\item Systems compatible with UNIX (Linux, BSD and its variants, macOS,~\ldots)
198
+
\item Mainly open-source (UNIX is commonly commercial --- source code is not publicly available, but its specification is)
199
+
\item Nowadays prevailing over \enquote{old} UNIX systems, used in many devices from tiny embedded toys to huge data centers
200
+
\item Try to provide same quality as paid systems, but (mostly) for free
202
201
\end{itemize}
202
+
\item Many courts about copyrights, parts of code, patents (USA allow software patents, EU not) --- GNU, Linux, BSD, etc. try to ensure to have only code not covered by any patents to avoid possible legal issues
203
203
\item\href{https://www.gnu.org/}{GNU}
204
204
\begin{itemize}
205
205
\item\enquote{GNU's Not Unix!} --- but it is compatible, respects its principles
@@ -221,7 +221,13 @@ \subsection{What it is a~\enquote{UNIX}}
221
221
\item Most of people working with UNIX are using Linux (or macOS)
222
222
\end{itemize}
223
223
\item GNU and Linux are two important (but not sole) pieces of building set forming modern operating system
224
-
\item\enquote{Linux} nowadays usually mean Linux kernel + GNU basic tools (thus correctly \enquote{GNU/Linux}) + thousands of various another applications (= \enquote{Linux distribution})
224
+
\item\enquote{Linux} nowadays usually mean Linux kernel + GNU basic tools (thus correctly \enquote{GNU/Linux}) + thousands of various another applications (= \enquote{Linux distribution}) --- ecosystem of (free) open-source GNU/Linux applications of various origin forming together what we usually call simply \enquote{Linux}
225
+
\item Term \enquote{Linux} has various meaning (see further)
226
+
\begin{itemize}
227
+
\item If we mean only Linux kernel or whole distribution
228
+
\item If we talk about little embed Internet of Things (IoT) device, some mobile device, personal computer, server, supercomputer,~\ldots
229
+
\item We can talk about particular Linux distribution (see further)/use case, or generally\ldots
230
+
\end{itemize}
225
231
\end{itemize}
226
232
\end{frame}
227
233
@@ -267,15 +273,15 @@ \subsection{Licenses and money}
267
273
\item Much cheaper to shop there
268
274
\end{itemize}
269
275
\item Both have pros and cons --- depends what you wish\ldots
270
-
\item Consider e.g. difference between usage of full-featured and expensive Geneious (theoretically everything you need to process genetic data) vs. searching for hundreds of tools and pipelines on the Internet (GitHub, R packages, fora,~\ldots)
276
+
\item Consider e.g. difference between usage of full-featured and expensive Geneious (theoretically everything you need to process genetic data) vs. searching for hundreds of free tools and pipelines on the Internet (GitHub, R packages, fora,~\ldots)
271
277
\item According to \href{https://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar}{book by Eric S.~Raymond}
272
278
\end{itemize}
273
279
\end{frame}
274
280
275
281
\begin{frame}[allowframebreaks]{Free and open-source software --- (F)OSS}
276
282
\begin{itemize}
277
283
\item\textbf{Free like freedom of speech, \alert{not} like free beer!}
278
-
\item Open-source --- source code can be seen by the holder of the license (not necessary by everyone)
284
+
\item Open-source --- source code can be seen by the holder of the license (not necessary by everyone --- can be paid)
279
285
\item Not every OSS (generally less strict conditions) has to be \textbf{F}OSS (you can do with it (almost) whatever you like) --- source code might be available under some circumstance (only to look), but modification and/or reuse of the code prohibited (and then it is not \textbf{free})
280
286
\item\href{https://www.gnu.org/licenses/gpl-3.0.html}{GNU GPL} (\enquote{\href{https://www.gnu.org/copyleft/}{copyleft}}) --- probably most common OSS license, strict, viral --- derived code has to keep the license --- surprisingly not fully \enquote{free} as it doesn't allow changes of license
281
287
\item\href{https://www.gnu.org/licenses/lgpl-3.0.en.html}{LGPL} --- Lesser GPL --- more permissive
@@ -297,12 +303,12 @@ \subsection{Licenses and money}
297
303
\item Practical output of using open-source licenses for the user
298
304
\begin{itemize}
299
305
\item Software can be used anywhere
300
-
\item Software can be modified --- including various fixes of older code to work properly, or to different systems
306
+
\item Software can be modified --- including various fixes of older code to work properly, or for different systems (author worked e.g. on Linux and someone else will do version for macOS or Windows)
301
307
\item User can learn from the software (from the code), new software can be developed on top of it
302
308
\item Easier to find and trace bugs
303
-
\item Security --- no backdoors
309
+
\item Security --- no backdoors, possibility to do various audits, screenings, etc.
304
310
\item Bugs (problems) in the code can fixed by nearly anyone
305
-
\item Often available for free
311
+
\item Often available for free (e.g. on services like \href{https://github.com/}{GitHub} or \href{https://sourceforge.net/}{SourceForge})
306
312
\item Easier distribution of the software (can be copied into various repositories, like those of Linux distributions, \href{https://docs.conda.io/}{Conda} or \href{https://brew.sh/}{Homebrew})
\item Android (practically Linux kernel, touch interface \& Java)
395
-
\item For experienced users: Arch, Slackware, Gentoo,~\ldots
401
+
\item For experienced users: \href{https://archlinux.org/}{Arch}, \href{http://www.slackware.com/}{Slackware}, \href{https://www.gentoo.org/}{Gentoo},~\ldots
396
402
\end{itemize}
397
403
\end{frame}
398
404
@@ -458,6 +464,7 @@ \subsection{Choose one}
458
464
459
465
\begin{frame}[allowframebreaks]{How to try Linux?}
460
466
\begin{itemize}
467
+
\item If unsure what to do, ask someone for help. ;-)
461
468
\item Install it on some computer together with or instead of Windows
462
469
\begin{itemize}
463
470
\item If you can use whole disk, just boot from CD/USB and click \enquote{Next}\ldots
@@ -471,7 +478,7 @@ \subsection{Choose one}
471
478
\end{itemize}
472
479
\item Virtualization (slide~\ref{VBox})
473
480
\begin{itemize}
474
-
\item Requires relatively powerful computer (preferable Intel i5 or i7 or AMD Ryzen and over 8~GB of RAM)
481
+
\item Requires relatively powerful computer (preferable Intel i5 or i7 or AMD Ryzen and over 8~GB of RAM) and enough disk space
475
482
\item Install virtual machine (probably the most easy is \href{https://www.virtualbox.org/}{VirtualBox}) --- allows install and run another operating system inside host as an ordinary application --- very easy and comfortable
476
483
\end{itemize}
477
484
\item Linux subsystem in MS Windows Store (Windows 10 and 11)
0 commit comments