4.1.25

dpkg commands...

 To install a package using the dpkg command in Linux, you can use the following command: 

Install a package: sudo dpkg -i <package.deb>

Here are some other things you can do with the dpkg command:

List known packages: Use the -l tag: dpkg -l 

Remove a package: Use the -r tag: dpkg -r <package> 

Purge a package: Use the -P option: sudo dpkg -P <package> 

Unpack a package: Use sudo dpkg --unpack <package.deb> 

Configure a package: Use dpkg --configure <package> 

Check if a package is installed: Use the -s tag: dpkg -s <package> 

Show package information: Use dpkg -I <package.deb> 

List all available dpkg commands: Use the -help option: dpkg –help 

No comments:

Post a Comment