How to install .deb package in WSL

T Crha 396 Reputation points
2023-02-24T02:41:29.0866667+00:00

Hello,

I need a bit of basic help regarding WSL usage. I need to install minikube to my WSL , and one of the prerequisities is to install VirtualBox. I downloaded .deb package to my Win 10 workstation, where WSL is running, ut I have no clue where to copy the deb package in order for WSL to be able to isntall from it.

Can anyone help please?

Thank you,

Tomas

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,077 questions
0 comments No comments
{count} vote

Accepted answer
  1. Limitless Technology 44,666 Reputation points
    2023-02-24T12:26:40.7766667+00:00

    Hello there,

    You can install the .deb package by running this command on terminal sudo dpkg -i <name of package>.deb or double-click on the package.

    You can also just open the Ubuntu terminal and type:

    sudo apt install /mnt/c/path/to/your/file.deb

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    3 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.