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
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4206,9 +4206,9 @@ \subsection{Packages}
4206
4206
\item\texttt{zypper lr} --- list repositories
4207
4207
\item\texttt{zypper ar \textit{repository}} --- add \textit{repository} (URL of remote \texttt{*.repo} file)
4208
4208
\item\texttt{zypper rr \textit{repository}} --- remove \textit{repository} (name according to \texttt{zypper lr})
4209
-
\item\texttt{zypper mr \textit{repository}} --- modify \textit{repository} (see \texttt{man zypper} first or use \texttt{yast sw\_single})
4209
+
\item\texttt{zypper mr \textit{repository}} --- modify \textit{repository} (see \texttt{man zypper} first, or use \texttt{yast sw\_single})
4210
4210
\item\texttt{zypper pa \textit{package}} --- get information about particular \textit{package} or another query (e.g. list of dependencies, see \texttt{man zypper})
4211
-
\item\texttt{opi}\textit{package} --- search (and possibly install) \textit{package} in \href{https://build.opensuse.org/}{OBS} in all repositories contributed by users
4211
+
\item\texttt{opi \textit{package}} --- search (and possibly install) \textit{package} in \href{https://build.opensuse.org/}{OBS} in all repositories contributed by users (take care, there are no quality checks)
4212
4212
\item\texttt{rpmconfigcheck} --- check which configuration files in \texttt{/etc} have new version after update of some software --- compare respective configuration files with new \texttt{*.rpmnew} files
4213
4213
\item\texttt{rpm*} commands for other tasks
4214
4214
\item\texttt{man zypper}, \texttt{man rpm} --- usage help
@@ -4225,7 +4225,8 @@ \subsection{Packages}
4225
4225
\item\texttt{apt upgrade} -- upgrade packages
4226
4226
\item\texttt{apt dist-upgrade} -- upgrade to newer release of whole distribution
\item Some software is distributed only as source code (e.g. downloaded from GitHub) written in languages like C or C++ --- user has to \textit{compile} it to get working binary executable
4290
4291
\item Compilation creates binary specific for particular operating system and hardware platform --- can be tuned for optimal performance
4291
-
\item Interpreted languages like Bash, Perl, Python or Java don't have to be compiled (but it is possible) --- they need their interpreter to run, relative easily portable among hardware platforms and OS
4292
+
\item Interpreted languages (Bash, Perl, Python etc.) don't have to be compiled (but it is possible) --- they need their interpreter to run, relative easily portable among hardware platforms and OS (similar to Java and its Virtual Machine)
4292
4293
\item Applications requiring compilation usually have good instructions
4293
-
\item\textbf{If you don't have to do it, don't do it.}\textbf{} Solving problems can be complicated --- contact someone skilled or author of the application\ldots
4294
+
\item\textbf{If you don't have to do it, don't do it.}\textbf{} Solving problems can be complicated --- contact someone skilled or author of the application, consult ChatGPT\ldots
4294
4295
\end{itemize}
4295
4296
\begin{bashcode}
4296
4297
# General schema within application directory with the source code:
\item Plenty of games are in repositories of all major Linux distributions --- just search
4473
+
\item Many open-source games are multiplatform
4474
+
\item Some distributions have extra repositories for games, e.g. \href{https://software.opensuse.org/packages/Games}{openSUSE}
4475
+
\item See \url{https://www.gamingonlinux.com/} for news etc.
4476
+
\item A lot of Windows-only games can be used with \href{https://appdb.winehq.org/}{Wine}
4477
+
\item Install \href{https://store.steampowered.com/}{Steam} (package is often available in standard repositories) and there activate Proton (version of Wine to run plenty of Windows games on Linux via Steam)
4478
+
\item Although not all games available for Windows are available for Linux, there are more games than you have time\ldots~;-)
0 commit comments