Jump to content

Can you install deb packages through linux sub sys in win 10?

Tom is a Door

Does linux sub sys in powershell use the same file directories as win 10? also can you install packages through it?

 

Link to comment
Share on other sites

Link to post
Share on other sites

...I think you are talking about WSL.

 

The entire thing is a self-contained app IIRC that runs from an EXE. It has its own isolated directory but can access drives mounted via Windows. These will be mounted in /mnt/[Drive Letter]. e.g. your C drive is in /mnt/c/

 

Installing packages is just like any other debian installer. In fact, it's an (almost) fully functional linux. No special things.

 

sudo dpkg -i package.deb

just like Ubuntu.

 

If the .deb you want to install is in your Windows Downloads folder, it's look something like this.

sudo dpkg -i /mnt/c/Users/[Your Home Folder]/Downloads/package.deb

where 'package' is the name of what you want to install

My profile picure is real. That's what I look like in real life. I'm actually a blue and white African Wild Dog.

Ryzen 9 5900X - MSI Ventus 2x OC 3060 Ti - 2x8GB Corsair Vengeance LPX 3200MHz CL16 - ASRock B550 Phantom Gaming ITX/ax

EVGA CLC 280 + 2x140mm NF-A14 - Samsung 850 EVO 500GB + WD Black SN750 1TB - Windows 11/10 - EVGA Supernova G3 1000W

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×