Jan is an open-source alternative to ChatGPT, functioning entirely offline on the computer. After downloading a language model, users can enjoy the benefits of a powerful model without the need for internet connectivity. Jan is compatible with a wide range of hardware, spanning from personal PCs to multi-GPU clusters. Jan is a cross-platform application, providing support for various operating systems including Windows, Linux, and Mac.
This tutorial shows how to install Jan on Ubuntu 22.04.
Install Jan
Get the latest release version of Jan from the official GitHub repository:
JAN_VERSION=$(curl -s "https://api.github.com/repos/janhq/jan/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Download the Jan application in Debian package format (.deb
) based on the previously obtained version:
wget -qO jan.deb https://github.com/janhq/jan/releases/latest/download/jan-linux-amd64-$JAN_VERSION.deb
Install Jan using the APT package manager:
sudo apt install -y ./jan.deb
Remove the downloaded Debian package to clean up after the installation:
rm -rf jan.deb
Testing Jan
Once the installation is completed, launch the Jan application by clicking on its icon. This will open the application and make it ready for use on the system. Download the preferred language model from the available list and start conversation.
Uninstall Jan
If you want to completely remove Jan, run the following command:
sudo apt purge --autoremove -y jan
If you desire to remove all user data linked to Jan, you can delete the user data directories that contain downloaded models, configurations, and other relevant files:
rm -rf ~/jan
Leave a Comment
Cancel reply