VSCodium：100% 开源的 VS Code
VSCode

> 
> VSCodium 是微软流行的 Visual Studio Code 编辑器的一个分支。它与 VS Code 完全相同，唯一不同的是，VSCodium 不跟踪你的使用数据。
> 
> 
> 


微软的 [Visual Studio Code](https://code.visualstudio.com/) 是一个出色的编辑器，不仅对于 Web 开发人员，也适合其他程序员。由于它的功能，它被认为是最好的开源代码编辑器之一。


是的，它是微软众多开源产品之一。因为有 DEB、RPM 和 Snap 包形式的二进制文件，你可以[在 Linux 中轻松安装 Visual Studio Code](https://itsfoss.com/install-visual-studio-code-ubuntu/)。


但它存在一个问题，对于普通用户而言可能不是问题，但对于纯粹开源主义者而言是重要的。


Microsoft 说提供的二进制文件是不开源的。


感到困惑么？让我解释下。


VS Code 的源码是在 MIT 许可下开源的。你可以在 [GitHub](https://github.com/Microsoft/vscode) 上访问它。但是，[Microsoft 创建的安装包含专有的跟踪程序](https://github.com/Microsoft/vscode/issues/60#issuecomment-161792005)。


此跟踪基本上用来收集使用数据并将其发送给 Microsoft 以“帮助改进其产品和服务”。如今，远程报告在软件产品中很常见。即使 [Ubuntu 也这样做，但它透明度更高](https://itsfoss.com/ubuntu-data-collection-stats/)。


你可以[在 VS Code 中禁用远程报告](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting)，但是你能完全信任微软吗？如果答案是否定的，那你有什么选择？


你可以从源代码构建它，从而保持全都是开源的。但是如今[从源代码安装](https://itsfoss.com/install-software-from-source-code/)并不总是最好的选择，因为我们习惯于使用二进制文件。


另一种选择是使用 VSCodium ！


### VSCodium：100％ 开源形式的 Visual Studio Code


![](/data/attachment/album/201906/27/114807g12qgmdd0042g2bb.png)


[VSCodium](https://vscodium.com/) 是微软 Visual Studio Code 的一个分支。该项目的唯一目的是为你提供现成的二进制文件，而没有 Microsoft 的远程收集代码。


这解决了你想在去掉 Microsoft 的专有代码的情况下使用 VS Code ，而你又不习惯从源代码构建它的问题。


由于 [VSCodium 是 VS Code 的一个分支](https://github.com/VSCodium/vscodium)，它的外观和功能与 VS Code 完全相同。


这是 Ubuntu 中第一次运行 VS Code 和 VSCodium 的截图。你能分辨出来吗？


![Can you guess which is VSCode and VSCodium?](/data/attachment/album/201906/27/114811mgi05zlhld36ulld.png)


如果你无法区分这两者，请看下面。


![That’s Microsoft](/data/attachment/album/201906/27/114813spyp99p7poo97pre.png)


除此之外，还有两个应用的 logo，没有其他明显的区别。


![VSCodium and VS Code in GNOME Menu](/data/attachment/album/201906/27/114815ym8s8ycd8ays81yz.jpg)


#### 在 Linux 上安装 VSCodium


虽然 VSCodium 存在于某些发行版（如 Parrot OS）中，但你必须在其他 Linux 发行版中添加额外的仓库。


在基于 Ubuntu 和 Debian 的发行版上，你可以使用以下命令安装 VSCodium。


首先，添加仓库的 GPG 密钥：



```
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -
```

然后添加仓库：



```
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
```

现在更新你的系统并安装 VSCodium：



```
sudo apt update && sudo apt install codium
```

你可以在它的页面上找到[其他发行版的安装说明](https://vscodium.com/#install)。你还应该阅读[有关从 VS Code 迁移到 VSCodium 的说明](https://vscodium.com/#migrate)。


### 你如何看待 VSCodium？


就个人而言，我喜欢 VSCodium 的概念。说的老套一点，它的初心是好的。我认为，致力于开源的 Linux 发行版甚至可能开始将其包含在官方仓库中。


你怎么看？是否值得切换到 VSCodium 或者你选择关闭远程报告并继续使用 VS Code？


请不要出现“我使用 Vim” 的评论 :D




---


via: <https://itsfoss.com/vscodium/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Microsoft’s [Visual Studio Code](https://code.visualstudio.com/?ref=itsfoss.com) is an excellent editor not only for web developers but also for other programmers. Due to its features, it’s considered one of the best open source code editors.

Yes, it’s one of the many open source products from Microsoft. You can [easily install Visual Studio Code in Linux](https://itsfoss.com/install-visual-studio-code-ubuntu/) thanks to the ready to use binaries in the form of DEB, RPM and Snap packages.

And there is a problem which might not be an issue for a regular user but significant to an open source purist.

The ready to use binaries Microsoft provides are not open source.

Confused? Let me explain.

The source code of VS Code is open sourced under MIT license. You can access it on the [GitHub](https://github.com/Microsoft/vscode?ref=itsfoss.com). However, the [installation files that Microsoft has created contain proprietary telemetry/tracking](https://github.com/Microsoft/vscode/issues/60?ref=itsfoss.com#issuecomment-161792005).

This tracking basically collects usage data and sends it to Microsoft to ‘help improve their products and services’. Telemetry reporting is common with software products these days. Even [Ubuntu does that but with more transparency](https://itsfoss.com/ubuntu-data-collection-stats/).

You can [disable the telemetry in VS Code](https://code.visualstudio.com/docs/supporting/faq?ref=itsfoss.com#_how-to-disable-telemetry-reporting) but can you trust Microsoft completely? If the answer is no, then what are your options?

You can build it from the source code and thus keep everything open source. But [installing from source code](https://itsfoss.com/install-software-from-source-code/) is not always the prettiest option specially in today’s world when we are so used to of having binaries.

Another option is to use VSCodium!

## VSCodium: 100% open source form of Visual Studio Code

![VSCodium Completely Open Source version of VS Code](https://itsfoss.com/content/images/wordpress/2019/04/vscodium-800x450.png)

[VSCodium](https://vscodium.com/?ref=itsfoss.com) is a clone of Microsoft’s Visual Studio Code. This project’s sole aim is to provide you with ready to use binaries without Microsoft’s telemetry code.

This solves the problem where you want to use VS Code without the proprietary code from Microsoft but you are not comfortable with building it from the source.

Since [VSCodium is a clone of VS Code](https://github.com/VSCodium/vscodium?ref=itsfoss.com), it looks and functions exactly the same as VS Code.

Here’s a screenshot of the first run of VS Code and VSCodium side by side in Ubuntu. Can you distinguish one from another?

![VScode vs VSCodium](https://itsfoss.com/content/images/wordpress/2019/04/vscodium-vs-vscode-800x450.png)

If you have not been able to distinguish between the two, look at the bottom.

![Microsoft VSCode Tracking](https://itsfoss.com/content/images/wordpress/2019/04/microsoft-vscode-tracking-800x259.png)

Apart from this and the logo of the two applications, there is no other noticeable difference.

![VS Code vs VSCodium](https://itsfoss.com/content/images/wordpress/2019/04/vscodium-and-vscode-800x220.jpg)

## Installing VSCodium on Linux

While VSCodium is available in some distributions like Parrot OS, you’ll have to add additional repositories in other Linux distributions.

You can use the following commands to [install VSCodium on Ubuntu](https://itsfoss.com/install-vscodium-ubuntu/) and other Debian-based distros.

First, add the GPG key of the repository:

`wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo apt-key add -`


And then add the repository itself:

`echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list`


Now update your system and install VSCodium:

`sudo apt update && sudo apt install codium`


If you use Snap, you can easily install it using:

```
snap install codium --classic
```


You can find the [installation instructions for other distributions on its page](https://vscodium.com/?ref=itsfoss.com#install). You should also read the [instructions about migrating from VS Code to VSCodium](https://vscodium.com/?ref=itsfoss.com#migrate).

Furthermore, you may also download the latest version of VS Codium from their release page:

## What do you think of VSCodium?

There are many [open source code editors](https://itsfoss.com/best-modern-open-source-code-editors-for-linux/) available. VS Code is the most popular among them all if I am not mistaken, at least among the GUI-based editors.

[8 Best Open Source Code Editors for LinuxLooking for the best text editors in Linux for coding? Here’s a list of the best code open source code editors for Linux.](https://itsfoss.com/best-modern-open-source-code-editors-for-linux/)![](https://itsfoss.com/content/images/2023/02/modern-code-editors.png)


![](https://itsfoss.com/content/images/2023/02/modern-code-editors.png)

Personally, I like the concept of VSCodium. To use the cliche, the project has its heart in the right place. I think Linux distributions committed to open source may even start including it in their official repository.

What do you think? Is it worth switching to VSCodium or would you rather opt out of the telemetry and continue using VS Code?

And please, no “I use Vim” comments :D