HostOnNet Blog

Tag Archives: dpkg

Remove residual config (rc) files in Debian/Ubuntu

After removing virtualbox package on my PC with I found the package still list in dpkg -l. root@hon-pc-01:~# dpkg -l | grep virtual rc encfs 1.8.1-3 amd64 encrypted virtual filesystem ii gvfs:amd64 1.28.2-1ubuntu1~16.04.1 amd64 userspace virtual filesystem – GIO module


dpkg

Installing a .deb Package To install .deb file, run dpkg -i file-name.deb Example Remove a Package Force Remove a Package List Installed Packages To check if a package is already installed, use dpkg -l with grep. To see which Package


List all installed packages in ubuntu

To list all installed packages in ubuntu, run dpkg –get-selections


Debian: How to find a package is installed from .deb or source

When installing ffmpeg-php in a debian server, i got error # phpize -bash: phpize: command not found # This is because php-devel package is not installed on the server. Before installing, you need to find out whether php is installed