创建一个不同的 Windows 帐户进行编译?

发布于 2024-09-16 16:07:09 字数 197 浏览 9 评论 0原文

我正在尝试不同的开源项目,只是为了看看我可以使用哪一个,因为我是一名初学者。当然,许多项目都有不同的依赖项和必须安装的程序。我想让事情井井有条,并且不想污染我的主 Windows 帐户,因为我也使用这台机器进行日常计算。

在我的计算机上创建单独的 Windows 帐户是否有助于分离项目的依赖关系?有没有更好的替代方案(除了使用虚拟机之外)?

谢谢

I am experimenting with different open source projects just to see which one I can work with since I am a beginner. Of course, many projects have different dependencies and programs that you must install. I want to keep things organized and I don't want to pollute my main windows account, since I use this machine for everyday computing also.

Will creating a seperate windows account on my computer help separate the dependencies for the projects? Are there any better alternatives (other than using virtual machines)?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

短叹 2024-09-23 16:07:09

尽管您提到了除它们之外的其他选项,但如果您计划处理许多不同的项目并且不想过多污染您的环境,那么虚拟机实际上是最好的选择。如果你构建得当,你可以拥有一个基线虚拟机,如果你因为环境污染太严重而想从头开始,可以很容易地恢复到原来的状态。

仅使用单独帐户的问​​题在于,许多可安装的工具和库意味着它们仍然可供计算机上的所有用户使用,因此它无法保持清理工作。例如,如果 Visual Studio 工具通常适用于计算机上的所有用户。 COM 依赖性不是特定于用户的。有些东西会安装需要在大部分时间运行的 Windows 服务,但除非您正在为它们进行开发(例如 SQL Server Reporting Services),否则您不会使用它们。

Although you mentioned other than them, but virtual machines are actually the best option if you're planning on working with a lot of different projects and you don't want to pollute your environment too much. If you build them right, you can have a baseline VM that is simple to revert back to if you want to start from scratch because the environment got too polluted.

The problem with only using a separate account is that many installable tools and libraries means they're still going to be made available for all users on the machine, so it doesn't keep things cleaned up. For example, if Visual Studio tools typically apply to all users on the machine. COM dependencies aren't user specific. Some things install Windows Services that need to be running most of the time, but you don't use unless you're developing for them (like SQL Server Reporting Services).

囍孤女 2024-09-23 16:07:09

安装多种操作系统怎么样?

如果你有足够的钱,你可以买一台电脑,仅供实验用

How about installing many kinds of operation system?

If you have enough money, you can buy a computer only for experiment

月下客 2024-09-23 16:07:09

虚拟机绝对是最佳选择 - 大多数重要软件修改的不仅仅是 HKEY_CURRENT_USER 机器状态。如果您不想要成熟的虚拟机(但是,它们很不错,尤其是支持状态快照的虚拟机!),您可以查看类似 沙盒

Virtual machines is definitely the way to go - most non-trivial software modifies more than HKEY_CURRENT_USER machine state. If you don't want full-blown virtual machines (but oh, they're sweet, especially the ones supporting state snapshots!) you could look at something like sandboxie.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文