How to list previously installed packages from the apt history.

This is how to get information about recently installed packages on Ubuntu. This is looking at the lowlatency package I just installed. 4.4 Thu Jun 04 jason@Yog-Sothoth 0: $ grep "lowlatency" /var/log/apt/history.log | sed "s/ /\n/gi"; Commandline: apt install linux-image-5.3.0-24-lowlatency Install: linux-image-5.3.0-24-lowlatency:amd64 (5.3.0-24.26~18.04.2), linux-modules-5.3.0-24-lowlatency:amd64 (5.3.0-24.26~18.04.2, automatic) Commandline: apt-get install –reinstall…

Read More

How to list certain installed packages on Debian Linux.

The dpkg command can be used to list all installed packages. I wanted to list the language packs installed with Firefox. So the command below is perfect. jason@Yog-Sothoth:~$ dpkg –list firefox-locale-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================-====================-====================-================================================================== ii firefox-locale-de 75.0+build3-0ubuntu0 amd64 German language…

Read More

Useful scripts for Arch Linux users.

This script will check for updates on an Arch Linux machine. This could be run as a daemon with CRON. #!/bin/bash export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DISPLAY=:0 tmpdb=/tmp/checkup-db dbpath=/var/lib/pacman mkdir /tmp/checkup-db && ln -s "${dbpath}/local" "${tmpdb}" fakeroot — yay -Syyb "${tmpdb}" –logfile /dev/null updates="$(yay -Qub "${tmpdb}" 2>/dev/null)" [[ -n "$updates" ]] && notify-send…

Read More

Getting started with Ubuntu 17.04 and setting up your system.

Getting started with the Ubuntu Linux distribution Getting started with Ubuntu is a lot of fun, this post will show you how to get setup after installation of the new Ubuntu 17.04 distribution. Download a copy of Ubuntu Kylin 17.04 here: http://cdimage.ubuntu.com/ubuntukylin/daily-live/current/. After the installation of Ubuntu Kylin, I could…

Read More

How to list every installed package with the apt command on Debian.

The apt package manager allows management of all installed packages and the installation of new software on a Linux system. It also allows the retrieval of information about installed packages. To list all installed packages, run this command. This does not require sudo or su. jason$ apt list –installedjason$ apt…

Read More

How to list all non-free Linux packages installed on Linux Mint 18.

To list all non-free Linux packages that are installed on your Linux Mint system, use this one-liner. This prints out a list of all non-free packages that are installed on a system. jason@jason-virtual-machine ~ $ dpkg-query -W -f ‘${Section}/${Package}\n’ | grep -E ‘^(contrib|multiverse|non-free|partner|restricted)/’ | sort contrib/kernel/virtualbox-guest-dkms contrib/misc/virtualbox-guest-utils contrib/x11/virtualbox-guest-x11jason@jason-virtual-machine ~ $…

Read More

Set up the package manager in FreeBSD 10.3 after installation.

The package manager in FreeBSD 10.3 is very effective and easy to use for setting up your FreeBSD 10.3 system. Here is how to install it. type this command as root. pkgpkg This will install the pkg package management system. Then, once that has completed, type this command to update…

Read More

Search for a specific package with dnf on Fedora 22.

To find a specific package that offers a certain file, the whatprovides parameter to dnf will do what you wish. Here is an example, I am looking for all packages that provide the vim command. [jason@hackerbox Documents]$ dnf whatprovides "*/vim" Last metadata expiration check performed 26 days, 19:55:19 ago on…

Read More

New Windows package manager available in Powershell 5.0 This is quite revolutionary.

There is a new package manager available for Windows 8.1, this allows the installation of Windows software with the Powershell command line. Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\WINDOWS\system32> Install-Package -name Chrome WARNING: Skipping package provider provider ‘NuGet’– missing required option ‘Destination’ The package ‘xChrome’…

Read More

How to install a Debian *.deb file on Ubuntu and other useful Linux tips.

To install a Debian *.deb packages that you have downloaded, use this command. john@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.debjohn@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb This will install the Debian package. john@adeptus-mechanicus ~/Downloads $ sudo dpkg -i rxvt_2.6.4-14_i386.deb [sudo] password for john: Selecting previously unselected package rxvt. (Reading database…

Read More