Linux Applications

How to Install Microsoft OneNote in Linux

OneNote is a Windows-based tool designed by Microsoft, and it offers various features and efficient workings to the user. It has a web version and a desktop version. It is an efficient tool to collect drawings, audio, notes, and screen clips. Microsoft does not offer OneNote’s official version for Linux. Still, several open-source tools can work as an alternative to OneNote for Linux, such as SimpleNote, Zim, Joplin, Google Keep, etc. However, users don’t like to use these alternatives instead of OneNote, so it becomes difficult for those who switched from Windows to Linux.

In this case, P3X comes into the picture because it is an open-source note-taking tool that can run OneNote on Linux. P3X connects with a Microsoft account for using Microsoft OneNote, and it also supports RHEL and Debian based distributions. This article covers the details on installing Microsoft OneNote on Linux using P3X easily.

How to Install Microsoft OneNote in Linux

We have mentioned three different procedures to download P3X in your system for using Microsoft OneNote in Linux.

By Using Snapd

First, download snapd packages on the Linux device by using the following codes:

For Ubuntu and Debian, use these codes:

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install snapd

For Arch Linux, use these codes:

$ sudo pacman -Syy
$ sudo pacman -S snapd
$ sudo systemctl enable --now snapd.socket

For Fedora, use these codes:

$ sudo dnf update
$ sudo dnf install snapd
$ sudo systemctl enable --now snapd.socket

Once you execute these commands successfully, the system will download the required snapd packages on the Linux device.

After downloading the required files, use the following command for installing P3X in the system:

$ sudo snap install p3x-onenote

Now, open P3X OneNote, and it will redirect you to the Microsoft login page.

In this command line, we have used a “sudo” command that represents the superuser do. It provides all of the security privileges to the command line.

By Using NPM

In this procedure, we can build P3X OneNote from scratch through the NPM tool, but the latest version of NPM consists of bugs, and it can create some errors while working on OneNote in Linux.
First, execute the following command for installing NPM in the Linux system.

For Ubuntu, use this command:

$ sudo apt install npm

For Debian, use this command:

$ sudo apt-get install npm

For Fedora, use this command:

$ sudo dnf install npm

For Arch Linux, use this command:

$ sudo pacman -S npm

Now, use the following command for installing the application:

$ sudo npm install -g p3x-onenote --unsafe-perm=true --allow-root

Once the installation is done, execute the below command for opening the applications:

$ p3x-onenote

It will redirect you to the Microsoft OneNote login page, so log in and use it without having any trouble.

By Using Applmage

AppImage is an excellent universal software package that works to distribute portable software on Linux that can be used without installing the application in the system.

You can download AppImage from the Github release page or execute the below command for directly downloading it.

$ wget https://github.com/patrikx3/onenote/releases/download/v2020.4.185/P3X-OneNote-2020.4.185-i386.AppImage

After downloading the package successfully, please provide all of the execute permission to your AppImage file, then open it.

$ chmod +x P3X-OneNote-2020.4.169.AppImage
$ ./P3X-OneNote-2020.4.169.AppImage

Finally, you can use Microsoft OneNote in Linux easily.

Conclusion

In this article, we have provided complete information on how to install Microsoft OneNote in Linux. As we have explained previously, Microsoft doesn’t offer any official OneNote application for Linux, but you can use it with third-party software. This article has multiple procedures so that you choose according to your convenience. We have covered Snapd, NPM, Applmage software procedures to use Microsoft OneNote in Linux.

About the author

Simran Kaur

Simran works as a technical writer. The graduate in MS Computer Science from the well known CS hub, aka Silicon Valley, is also an editor of the website. She enjoys writing about any tech topic, including programming, algorithms, cloud, data science, and AI. Travelling, sketching, and gardening are the hobbies that interest her.