Lsd: dpkg: error on 芦Windows 10禄.

Created on 8 Aug 2020  路  5Comments  路  Source: Peltoche/lsd

Aloha! 馃檪

I have 馃捇 芦Windows 10 2004禄 + _WSL_ + Windows Terminal + Ubuntu-20.04

running this but see the error:
sudo dpkg -i lsd_0.17.0_amd64.deb

dpkg: error: cannot access archive 'lsd_0.17.0_amd64.deb': No such file or directory

..._surfing_ in google this behavior but find nothing!

馃啒 Can you HELP? Cheers!

kinbug

Most helpful comment

cargo is the rust package manager you are technically building from "source" in the manual method.

It is up to you too choose which method you go, both works. But if you don't intent on messing around with the code, I would suggest going with dpkg.

All 5 comments

We don't have a direct ubuntu package yet. You could try installing using snap.

snap install lsd

Or if that does not work out, you have to first download the actual file from releases page and call dpkg on that.

wget https://github.com/Peltoche/lsd/releases/download/0.17.0/lsd_0.17.0_amd64.deb -O /tmp/lsd.deb
dpkg -i /tmp/lsd.deb

@meain

Thanks a lot! What means parameter -O ?

Do I need to install Rust?

-O specifies output filename. In this case we download to /tmp/lsd.deb and uses that file to install.

You need to install rust only if you are building from source.
In the case of dpkg, you are downloading and installing a prebuilt binary.

@meain

I find also this manual which possible to downloading with cargo. Do you recommend this manual?

cargo install lsd

cargo is the rust package manager you are technically building from "source" in the manual method.

It is up to you too choose which method you go, both works. But if you don't intent on messing around with the code, I would suggest going with dpkg.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dalecurtis picture dalecurtis  路  3Comments

Phuker picture Phuker  路  5Comments

jcassee picture jcassee  路  5Comments

augustobmoura picture augustobmoura  路  5Comments

saumyajyoti picture saumyajyoti  路  7Comments