Uninstalling Software in Debian Server

To uninstall a software on Debian server, run

Example To all installed software with specific name, run

Example

In above list, packages start with ii = installed un = currently not installed on the server When you uninstall a package, it won’t remove all config files, such packages list as uninsalled (un). […]

Read More…

apt-cache

To search for available packages, run

Example

Ubuntu find Dependencies for a package apt […]

Read More…

apt The method driver /usr/lib/apt/methods/https could not be found

When running apt update on a Debian server, i get error

To fix the error, run

See apt […]

Read More…

Install bitninja firewall

To install bitninja on Debian/Ubuntu, run

To scan malware, run

[…]

Read More…

Download a package using apt on Debian/Ubuntu

download package using apt

On Debian and Ubuntu servers, you can download a package using apt download command.

Package will get downloaded to current working directory. Better do this to /tmp to avoid permission errors. Method 2 If you want to download package and dependencies, then use

This will download the package and all dependency, store it […]

Read More…

Blocking Package Upgrade on Debian/Ubuntu

To block packages from upgrading, you can use command apt-mark hold.

Example

To list packages that are on hold, run

If you want to remove block, you can use apt-mark unhold command.

See apt […]

Read More…

Configure KVM Bridge Network on Debian 10

Before you configure bridge network, make sure you have bridge-utils installed.

You may also need ifdown and resolvconf packages installed

Here is the default /etc/network/interfaces i had on the server

enp1s0f0 is name of the network interface card on the server. To convert it to brudge configuration. You need to replace enp1s0f0 […]

Read More…

Install kvm on Debian 10

To install kvm on Debian 10, run

Install libvirt, it is a tool to manage kvm

Set libvirtd to start on boot

Restart libvirtd

You can see libvirtd status with

Install virtinst, it is used to create virtual machine.

To see network, run

Start the “default” network

[…]

Read More…

apt-get An error occurred during the signature verification

When running apt update, i get following error

To fix this error, run

[…]

Read More…