How to replace a system file on Ubuntu or Linux Mint that was deleted by accident.

If you executed a command on Ubuntu and messed up your system, there is hope. The apt-file utility can search the package repositories for the missing file and then tell you which package contains it. This is a good way to replace a system file that was accidentally deleted. This is impressive, and a good … Read more

Windows to include a new package manager system to install software.

A new package manager is available for Windows. This is just copying ideas from Ubuntu and Debian. This allows the installation of software from a repository and install it on your Windows 10 computer. This works by running the winget install command to install a Windows package. Pity you can not run winget remove –purge … Read more

How to upgrade a single package if needed using apt.

This command will update a single package upon request. This would be very useful if you want to update only one critical package on a Debian system. dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get install <package>dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get install <package> I found this … 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 … 281734 files and directories … Read more

Arch Linux package signing not implemented?

http://igurublog.wordpress.com/2011/02/19/archs-dirty-little-notso-secret/ Quoting from the website. Most distributions, even Windows, sign their packages so that when the computer downloads and installs them, it can check the signature to make sure the package is authentic – it hasn’t been tampered with on the server, or anywhere between the server and the local system. This mechanism has been … Read more