How do I install a package in Debian? [closed]

How do I install a package in Debian via SSH? In my case I’m looking to install OpenSSL, but the instructions could be for installing any other package as well.

UPDATE: I did run into some issues while attempting to install OpenSSL (package dependencies). For an answer on how to (clear package dependency issues) while installing packages in Debian, please refer to this answer.

Answer

You can use apt-get or dpkg

sudo apt-get install packagename

or

dpkg -i package-file-name    

Attribution
Source : Link , Question Author : amateur barista , Answer Author : user9517

Leave a Comment