This simple tutorial shows how to compile and install Python 3.10.0 or other certain Python version in Ubuntu.
For Ubuntu 18.04 and Ubuntu 20.04 LTS, there’s well trusted “deadsnakes” team PPA that maintains all the Python packages. For non-LTS releases, e.g., Ubuntu 21.04 and Ubuntu 21.10, you may build the programming language package manually from the source tarball.
NOTE: Ubuntu 21.04 has Python 3.10 beta1 in universe repository, remove it if installed before doing the steps below. For Ubuntu 21.10, Python 3.10 will be soon made into the universe repository, so you may skip or install a certain version (e.g., 3.8 or 3.7) via this tutorial.
Before getting started, you need to install some essential packages for building the computer language package.
Open terminal either by pressing Ctrl+Alt+T on keyboard or by searching from start menu. When it opens, run the command below to install the dependencies:
This tutorial shows all the ways to install the 3D creation software Blender in Ubuntu, including Snap, Flatpak, native Deb packages, and compile from source tarball.
Blender is a free open-source software for creating animated films, visual effects, computer games. It’s available to install in Ubuntu via a few different package formats. Here you may choose the one that you prefer.
1. Blender Snap package:
The software developer team offers official snap package that works on Ubuntu and most other Linux distributions. Snap is an universal Linux package format developed by Canonical, the company behind Ubuntu.
The Snap package features:
Easy to install.
Maintained by Blender Foundation.
Works on 64-bit modern PC only.
Run in box with snapd daemon, though pre-installed out-of-the-box.
Take more disk space than native deb package.
Install Blender Snap package:
The package is easy to install as mentioned. Simply open Ubuntu Software, search for and install Blender. From both package details and header bar, it’s marked as Snap package.
2. Blender in Ubuntu Universe repository:
Ubuntu has the 3D creation software in its official repositories. Though it’s always old, it has multi-arch support!
stock Blender package features:
Easy to install.
Official package by Ubuntu, but no update anymore.
Works on 64-bit PC, arm64 (Apple Silicon, Raspberry Pi), armhf, ppc64el, and s390x processors.
The stock deb package is also available to install in Ubuntu Software, though it sucks and may not work! Instead, users may open terminal by pressing Ctrl+Alt+T on keyboard, and run apt command instead:
sudo apt update && sudo apt install blender
And to uninstall the package, use sudo apt remove --autoremove blender command in terminal.
3. Blender Flatpak package:
Flatpak is another universal Linux package format that was developed as part of the freedesktop.org project. Blender is available as Flatpak package in the flathub repository.
The Flatpak package features:
Maintained by the community.
64-bit modern PC only.
Run in box with flatpak daemon.
Take more disk space than native deb package.
Install Blender Flatpak package:
To install the package, open terminal either by searching from activities overview screen or by pressing Ctrl+Alt+T on keyboard. When terminal opens, run following commands one by one.
And it can be easily removed via flatpak uninstall org.blender.Blender command.
4. Blender Portable Linux Tarball:
The Blender website provides Linux Tarball in its download page. Just grab the package, extract in your file manager, and right-click run the executable file from generated folder will launch the program.
No installation required, but only works for Linux on 64-bit modern desktop PC and laptop.
5. Install Blender from Ubuntu PPA:
Some Ubuntu users do NOT like the Snap and Flatpak packages. Besides portable Linux tarball, third-party PPAs is one of the choices.
The PPA package features:
Native deb packges.
Able to upgrade through “Software Updater”.
Maintained by unofficial third-parties.
There are quite a few Ubuntu PPAs contains the 3D creation software package. You can find them in THIS PAGE.
So far, the Rob Savoury’s PPA contains the most recent Blender 2.93.4 (check the link) packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04 and higher for 64-bit PC. However, it was built with updated FFmpeg libraries that might break other package dependencies in your system.
To install Blender from the PPA, open terminal and run the commands below one by one:
sudo add-apt-repository ppa:savoury1/ffmpeg4
sudo add-apt-repository ppa:savoury1/blender
sudo apt-get update
sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install blender
And to remove the PPA packages, run following commands one by one in terminal to purge the PPA repositories which will also downgrade the installed packages:
The command will generate “CMakeCache.txt” in “build” folder under source. You can edit the file to change build options.
5.) Finally build Blender if everything goes OK. Depends on how many CPU core that you have, you may change -j4 (4 threads) to -j8 to speed up the process.
And finally install Blender via sudo make install if make succeed.
For Ubuntu users, there are quite a few ways to get Blender running. The easiest and official way is search for and installing the SNAP package from Ubuntu Software. However, the old .deb package in universe repository support more processors, e.g., Apple Silicon, Raspberry Pi and other Mobile devices. To test without installing, there’s Linux portable tarball present in official download page. And third-party Ubuntu PPAs maintains most recent packages in native .deb format. Also, advanced users may build it from source with free options.
Mozilla Firefox 93.0 was officially released today. The release features AVIF image support and further security improvements.
The AV1 image format (AVIF) is an image file format for storing images or image sequences compressed with AV1 in the HEIF file format. It offers significant file size reduction compare to JPEG, PNG and WebP. Google Chrome added it support since version 85. By releasing v93.0, Firefox now has AVIF image support.
Some PDF files have interactive fields to fill in data. Since Firefox 83, the built-in PDF viewer supports filling fields such as text, check boxes, and radio buttons. In the new release, it adds more forms (XFA-based forms, used by multiple governments and banks) support.
Firefox PDF viewer filling forms
To protect against potentially malicious or unsafe downloads, Firefox now blocks insecure HTTP downloads on a secure HTTPs web page, and blocks downloads in sandboxed iframes, unless the iframe is explicitly annotated with the allow-downloads attribute. Though, an option is available to select download anyway.
Other changes in Firefox 93 include:
Automatically unload tabs on Windows, when system is running out of memory.
Prompt to finish installation for macOS users first time running Firefox from a mounted .dmg file.
Improved SmartBlock and new Referrer Tracking Protections.
Fixed working with Orca screen reader.
And various security fixes.
How to Get Firefox 93.0:
Ubuntu will build and publish the latest Firefox packages through the security & updates (main) repository in next few days (check the launchpad build page). The best choice is just wait and upgrade Firefox using “Software Updater” once available.
For the release note, as well as download link for the portable tarball that contains non-install executable file to launch Firefox, go to:
The graphical auto shutdown app KShutdown released version 5.90 with feature to reboot from Linux into another OS automatically.
KShutdown is a free open-source app that provides a simple Qt based user interface. It allows users to automatically shutdown, restart, hibernate, sleep, log-out, or run a command on certain time, after a period of time, on user inactivity or other event.
The app is getting more and more powerful. The latest 5.90, beta for next 6.0 release, introduced experimental multi-booting support. User can now automatically reboot from Linux into another OS, such as Windows, from Grub menu entries.
KShutdown reboot into another OS
The new feature needs administrator user privilege to get access ‘/boot/grub/grubenv’. The app however does not apply it properly so far, and user need to start it manually via sudo kshutdown from command line.
And it does not read the Grub menu automatically, though it can be set manually in ‘Tools -> Configure KShutdown -> Restart’. Use the app ‘Grub Customizer’ to get the menu entries.
Manually write Grub Menu entries (from grub-customizer)