Ubuntu vs. NixOS: Difference between revisions

Sdht0 (talk | contribs)
Remove duplicate header
Vater (talk | contribs)
see also added
 
(One intermediate revision by one other user not shown)
Line 102: Line 102:
|<syntaxhighlight lang="console">$ sudo apt-get update</syntaxhighlight>
|<syntaxhighlight lang="console">$ sudo apt-get update</syntaxhighlight>
|<syntaxhighlight lang="console">$ sudo nix-channel --update</syntaxhighlight>
|<syntaxhighlight lang="console">$ sudo nix-channel --update</syntaxhighlight>
|<syntaxhighlight lang="console">$nix-channel --update</syntaxhighlight>
|<syntaxhighlight lang="console">$ nix-channel --update</syntaxhighlight>
|-
|-
|Upgrade packages
|Upgrade packages
Line 288: Line 288:
|Install dpkg with Nix, then <syntaxhighlight lang="bash">dpkg -i package.deb</syntaxhighlight> While this is technically possible it will in all likelihood not work.
|Install dpkg with Nix, then <syntaxhighlight lang="bash">dpkg -i package.deb</syntaxhighlight> While this is technically possible it will in all likelihood not work.
|}
|}
</div>


</div>
== See also ==
 
* [[Cheatsheet]]
* https://nixcademy.com/cheatsheet/
** https://nixcademy.com/downloads/cheatsheet.pdf


[[Category:Cookbook]]
[[Category:Cookbook]]