powerline / fonts

Patched fonts for Powerline users.
25.75k stars 3.19k forks source link

Unable to locate package fonts-powerline #307

Open feinstein opened 5 years ago

feinstein commented 5 years ago

I am running Ubuntu inside Windows 10.

When I run: sudo apt-get install fonts-powerline

I get this error:

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package fonts-powerline

jadenPete commented 5 years ago

What is the output of lsb_release -a?

feinstein commented 5 years ago

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic

jadenPete commented 5 years ago

Try sudo apt-get update. If you still can't install it, post the output of cat /etc/apt/sources.list.

feinstein commented 5 years ago

well it worked!....the apt-get...I still cant use them in zsh agnoster theme....I am almost certain this is related to the Windows Subsystem for Linux that's running Ubuntu

jadenPete commented 5 years ago

I've never used zsh so I'm not sure what the issue is with that, but keep in mind that Windows Subsystem for Linux is run over a Windows console, so special fonts like powerline will probably have to be installed on the Windows side because Ubuntu doesn't render the fonts in that case.

feinstein commented 5 years ago

Yeah, I was thinking about this, but I don't know if it will be that simple, because windows will only allow one font for the console, and not several, like a Zsh theme uses.

jadenPete commented 5 years ago

It probably works similar to Linux font rendering, in that any font that provides a character can be used. Just because a main font is selected doesn't mean that other fonts won't get factored into the equation. Try installing it in Windows.

feinstein commented 5 years ago

I will

CSeijiM commented 4 years ago

I used this:

https://medium.com/@slmeng/how-to-install-powerline-fonts-in-windows-b2eedecace58

https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx