Tag Archives: Linux

Listing All Users In Linux

By | 2020-09-21

Listing all users on Linux is best done with the getent passwd command. This isn’t the only way, but it should work an practically any system. Unlike other methods, it uses your systems /etc/nsswitch.conf configuration to show users from all sources. The format is the format used in the file /etc/passwd. $ getent passwd root:x:0:0:root:/root:/bin/bash… Read More »

Listing Files In a Package With DNF

By | 2020-01-04

Listing files in a package with dnf is easy. Just follow the example below: # dnf repoquery -l crontabs Last metadata expiration check: 0:12:18 ago on Sat 04 Jan 2020 09:40:27 AM EST. /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly /etc/crontab /etc/sysconfig/run-parts /usr/bin/run-parts /usr/share/licenses/crontabs /usr/share/licenses/crontabs/COPYING /usr/share/man/man4/crontabs.4.gz /usr/share/man/man4/run-parts.4.gz Replace crontabs with the name of the package you wish to… Read More »

Install MATE on CentOS 8

By | 2020-01-01

UPDATE 2023 April 12: I was going to build RPMs to post here, but found that MATE packages are available in EPEL. Follow the instructions here for setting up the EPEL repositories. I am going to leave the instructions up to assist package maintainers and for anyone interested in the process of building a major… Read More »

Installing Tomcat on CentOS 8

By | 2019-11-24

I couldn’t find a Tomcat package in the standard repositories or EPEL, so I will walk you through installing Tomcat on CentOS 8. It is a relatively straightforward process. The latest version available at the time of writing (2019 November 23) is 9.0.29, so that is the version I will use in the examples. All… Read More »

Installing HAProxy From Source on CentOS 8

By | 2019-11-21

The CentOS 8 repositories provide HAProxy version 1.8.15. You may want or need features in newer versions. Fortunately, installing HAProxy 2.0.9 (Latest stable version as of 2019 November, 21) from source is relatively straightforward. The steps to do so are: Install required packages Download the HAProxy source code Compile and install HAProxy Create an unprivileged… Read More »

Listing Installed Packages With DNF

By | 2019-10-21

Listing installed packages with dnf is straightforward. Unlike rpm, dnf also shows you the repository packages were installed from. The following example demonstrates listing all packages installed on a system. # dnf list installed Installed Packages acl.x86_64 2.2.53-1.el8 @anaconda audit.x86_64 3.0-0.10.20180831git0047a6c.el8 @anaconda audit-libs.x86_64 3.0-0.10.20180831git0047a6c.el8 @anaconda The left column displays the name of the package along… Read More »