Which command line would you use to install a debian package using - ProProfs Discuss
Advertisement

Which command line would you use to install a debian package using dpkg called debianpackage.deb in Linux?

Asked by Ethan, Last updated: Jul 20, 2023

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

John Smith

John Smith

John Smith
John Smith

Answered Sep 08, 2016

Dpkg -i debianpackage.deb-2. dpkg -install debianpackage.deb-there are two different options -i or -install. convention is short option starts from - and long option starts from - . if you have a package file containing a package you want to install, the simplest way to install the package is to use the dpkg command: dpkg -install packagefile where packagefile stands for the name of the package file, which generally ends with the characters .deb. if all the prerequisite packages have already been installed and if the package does not conflict with any installed packages, the command will unpack the package files, move them to their proper locations, and execute the scripts necessary to configure the package.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.