How to Install and Uninstall texlive-listings Package on openSUSE Leap

Last updated: May 17,2024

1. Install "texlive-listings" package

Please follow the steps below to install texlive-listings on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install texlive-listings

2. Uninstall "texlive-listings" package

This tutorial shows how to uninstall texlive-listings on openSUSE Leap:

$ sudo zypper remove texlive-listings

3. Information about the texlive-listings package on openSUSE Leap

Information for package texlive-listings:
-----------------------------------------
Repository : Main Repository
Name : texlive-listings
Version : 2021.189.1.8dsvn55265-150400.18.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 560.7 KiB
Installed : No
Status : not installed
Source package : texlive-specs-n-2021-150400.18.1.src
Upstream URL : http://www.tug.org/texlive/
Summary : Typeset source code listings using LaTeX
Description :
The package enables the user to typeset programs (programming
code) within LaTeX; the source code is read directly by TeX--no
front-end processor is needed. Keywords, comments and strings
can be typeset using different styles (default is bold for
keywords, italic for comments and no special style for
strings). Support for hyperref is provided. To use,
\usepackage{listings}, identify the language of the object to
typeset, using a construct like: \lstset{language=Python}, then
use environment lstlisting for inline code. External files may
be formatted using \lstinputlisting to process a given file in
the form appropriate for the current language. Short (in-line)
listings are also available, using either \lstinline|...| or
|...| (after defining the | token with the \lstMakeShortInline
command).

5. The same packages on other Linux Distributions