Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Ubuntu中使用Nix安装字体_Ubuntu_Fonts_Nix - Fatal编程技术网

如何在Ubuntu中使用Nix安装字体

如何在Ubuntu中使用Nix安装字体,ubuntu,fonts,nix,Ubuntu,Fonts,Nix,如果我尝试像 nix-env --install nixpkgs.fira-code 软件包将被安装,但字体在任何地方都不可用 如何使用Nix安装字体并使其在Ubuntu中可用?很大程度上取决于您的设置。。。您正在使用nix作为运行Ubuntu的用户?然后,您可能需要添加一个从您的配置文件(带有字体)到您正在使用的任何字体搜索路径的路径。

如果我尝试像

nix-env --install nixpkgs.fira-code
软件包将被安装,但字体在任何地方都不可用


如何使用Nix安装字体并使其在Ubuntu中可用?

很大程度上取决于您的设置。。。您正在使用
nix
作为运行Ubuntu的用户?然后,您可能需要添加一个从您的配置文件(带有字体)到您正在使用的任何字体搜索路径的路径。