25
September
2023
17:43

Matching Linux Green packages to Linux Mint

25 September 2023 17:43

Linux Green is missing some Linux Mint packages, as I wrote in previous article. For example, Linux Green does not include the LibreOffice office suite, some system utilities, and VirtualBox. How to bring the composition of Linux Green packages to Linux Mint?

After comparing package composition and kernel versions, I wrote terminal commands to improve the Linux Green system:

Upgrading the kernel version to 6.2

sudo apt install linux-hwe-6.2-headers-6.2.0-33
sudo apt install linux-headers-6.2.0-33-generic
sudo apt install linux-modules-6.2.0-33-generic
sudo apt install linux-image-6.2.0-33-generic
sudo apt install linux-modules-extra-6.2.0-33-generic

sudo apt-get dist-upgrade

sudo update-initramfs -u
sudo update-grub

Installing missing packages in Linux Green

Packages are installed at the user's discretion

1) Welcome screen

sudo apt install mintwelcome

2) Mozilla FireFox browser (optional) and Thunderbird email client (optional)

Thunderbird email client

sudo apt install thunderbird

Mozilla FireFox browser
The firefox browser was removed from the Green Linux repository, like snap, so I installed it according to instructions for installing FireFox on Linux.

  • downloaded the browser for Linux from the page https://www.mozilla.org/ru/firefox/linux/

  • unpacked the archive

    cd ~/Загрузки
    tar xjf firefox-*.tar.bz2

  • moved the resulting "mozilla" folder to the /opt directory

    sudo mv firefox /opt

  • created a soft symbolic link from the executable file /usr/local/bin/firefox to the path /usr/local/bin/firefox

    sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox

  • downloaded the desktop file to be able to launch the firefox application from the start menu:

    wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -O ~/firefox.desktop
    cat ~/firefox.desktop
    sudo cp ~/firefox.desktop /usr/share/applications

  • logged out of the current session -logout

  • in the new session, the Mozilla FireFox browser appeared in the start menu in the "Internet" group.

3) Office package LibreOffice 7 with full translation of the menu into Russian and Russian help

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice
sudo apt install libreoffice-l10n-ru libreoffice-help-common libreoffice-help-ru

4) A simple application for keeping a list of notes

sudo apt install gnote

5) Network utility "Network connections" nm-connection-editor for creating and editing VPN connections (for the "network-manager" applet)

sudo apt install network-manager-gnome

6) GNOME system utilities for graphically editing users and rights:

Adds menu items to the "Options" section -"Users and groups", "Time and date" etc.

sudo apt install gnome-system-tools

7) On-screen keyboard application

sudo apt install onboard 

8) IRC chat (optional)

sudo apt install hexchat

9) Program for downloading Torrent (optional)

sudo apt install transmission-gtk 

10) MIME type editor

sudo apt install xfce4-mime-settings 

Installing Oracle Virtualbox (optional)

Installing VirtualBox is a little more complicated - you need to add the key and third-party repository to the list and update the package cache.

wget -qO- https://www.virtualbox.org/download/oracle_vbox_2016.asc |  gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/oracle-virtualbox.gpg  > /dev/null

echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian jammy contrib" | sudo tee /etc/apt/sources.list.d/oracle-virtualbox.list

sudo apt update

sudo apt install virtualbox virtualbox-qt

Installing missing packages in Linux Mint

If this is the main system - Linux Mint, you can make the composition of its packages as in Linux Green:

1) Installing Yandex browser in Linux Mint

wget -qO- https://repo.yandex.ru/yandex-browser/YANDEX-BROWSER-KEY.GPG |  gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/yandex-browser.gpg  > /dev/null
sudo apt-get update
sudo apt-get install yandex-browser-stable

2) Sticky - “sticky” notes on your desktop

Sticky is included in Ubuntu 22.04 "Jammy" and derivatives Linux Mint 21, Linux Green 21. For OS versions lower than 22.04 (for example, Linux Mint 19.3), Sticky cannot be built due to an unmet package dependency gir1.2-xapp-1.0 (>=2.2.11). Building sticky from sources in Linux Mint 21.1 and higher is possible, but does not make sense, because it's easier to run one command

sudo apt install sticky

instead of a lot of actions:

sudo apt install git-hub build-essential debhelper python3 dh-python 
sudo apt install gir1.2-glib-2.0 gir1.2-gtk-3.0 gir1.2-xapp-1.0 gir1.2-gspell-1
sudo apt install python3-gi python3-xapp
git clone https://github.com/collinss/sticky.git
cd sticky
dpkg-buildpackage --no-sign
cd ..
sudo dpkg -i sticky*.deb


Related publications