Ubuntu vs. NixOS: Difference between revisions
Remove duplicate header |
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> | |||
== See also == | |||
* [[Cheatsheet]] | |||
* https://nixcademy.com/cheatsheet/ | |||
** https://nixcademy.com/downloads/cheatsheet.pdf | |||
[[Category:Cookbook]] |