My personal Clear Linux software installation guide

After browsing around and trying to make my system finally work i decided to publish my personal software configuration guide created for myself to easier reproduce my configuration steps in future. Any advices or critics extremely welcomed!

Copy is here clearlinux/README.md at master · artempanin/clearlinux · GitHub

My Personal Clear Linux setup guide

Content

General Settings

Cleanup (carefully check what you removing!)

sudo swupd bundle-remove evolution
sudo swupd bundle-remove geary
sudo swupd bundle-remove totem
sudo swupd bundle-remove gnome-music
sudo swupd bundle-remove gnome-screenshot
sudo swupd bundle-remove evince

Configure swupd

sudo swupd mirror --max-parallel-downloads=20

Additional network tools

sudo swupd bundle-add wget network-basic clr-network-troubleshooter

“Dash to panel” install

cd ~/Downloads && git clone https://github.com/home-sweet-gnome/dash-to-panel.git
cd dash-to-panel && make install

Installation finished, navigate to gnome tweaks and enable it at “extensions”

Freshpaper (BING wallpapers daily, love it!)

sudo pip install freshpaper

Just put a “freshpaper” in terminal , and wallpaper will be changed to most recent one

Wine (for winscp and other windows software)

sudo swupd bundle-add wine

Internet software

Install brave

sudo su -
swupd bundle-add package-utils
pip install python-dateutil
dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
dnf download brave-browser
rpm -U --nodeps brave-browser*.rpm
rm -f brave-*.rpm
sed -i 's\/usr/bin/brave-browser-stable\env FONTCONFIG_PATH=/usr/share/defaults/fonts /usr/bin/brave-browser-stable\g' /usr/share/applications/brave-browser.desktop
exit

Telegram

flatpak install flathub org.telegram.desktop

Protonmail Desktop Client installation with AppImage

mkdir ~/.apps
cd ~/.apps/ && wget https://github.com/unofficial-protonmail-desktop/application/releases/download/v1.2.1/Unofficial-desktop-client-for-ProtonMail-1.2.1.AppImage
chmod +x protonmail-desktop-unofficial*
sudo wget https://raw.githubusercontent.com/protonmail-desktop/application/master/src/main/images/Icon.png -O/usr/share/icons/hicolor/256x256/apps/protonmail.png
echo -e "[Desktop Entry]\nType=Application\nName=ProtonMail\nIcon=protonmail\nExec=.apps/Unofficial-desktop-client-for-ProtonMail-1.2.1.AppImage\nTerminal=false\nCategories=Network;" > ~/.local/share/applications/protonmail.desktop
update-desktop-database ~/.local/share/applications/

Nextcloud

flatpak install flathub org.nextcloud.Nextcloud

Virtualization software

Virtualbox 6.1.14 Install

sudo swupd bundle-add kernel-native-dkms
cd ~/Downloads && wget https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Linux_amd64.run
chmod +x VirtualBox-*.run
sudo ./VirtualBox-6.1.16-140961-Linux_amd64.run

Optional! In my case without this steps my laptop is not booting anymore

Find your boot partition by running (it will be the smallest one and named “EFI System”)

sudo fdisk -l

Creating mount point for boot partition. In my case boot partition is /dev/nvme0n1p1

sudo mkdir /media/boot && sudo mount /dev/nvme0n1p1 /media/boot/

No idea why, but this worked for me

sudo cp /media/boot/EFI/BOOT/BOOTX64.EFI /media/boot/EFI/org.clearlinux/mmx64.efi

Now, add your user to vboxusers group , otherwise USB pass-through will not work

sudo usermod -a -G vboxusers $USER

Signing virtualbox modules

cd ~/Documents && openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VirtualBox/"
sudo /usr/lib/modules/`uname -r`/build/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)
sudo mokutil --import MOK.der

Reboot!

sudo reboot

After reboot finish setup

sudo /sbin/vboxconfig

Now you can use Virtualbox as usual

Vmware Workstation 15.5.6

sudo swupd bundle-add kernel-native-dkms
cd ~/Downloads/ && wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-15.5.6-16341506.x86_64.bundle
chmod +x VMware-Workstation-Full-15*

Now you need to run bundle. It will ask you about folder location , answer is /etc/init.d

sudo ./VMware-Workstation-Full-15.5.6-16341506.x86_64.bundle

Now we need to fix kernel modules , just follow the steps

cd ~/Downloads && wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-15.5.6.tar.gz
tar -xzf workstation-15.5.6.tar.gz && cd vmware-host-modules-workstation-15.5.6/
tar -cf vmmon.tar vmmon-only && tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all

Now juts run Vmware Workstation and finish installation.

Only one problem that i am not solved yet, that after restart you need to run Vmware modules manually.

sudo /etc/init.d/vmware start

Office / Notes software

Simplenote installation with AppImage

mkdir ~/.apps
cd ~/.apps/ && wget https://github.com/Automattic/simplenote-electron/releases/download/v2.0.0/Simplenote-linux-2.0.0-x86_64.AppImage
sudo wget https://raw.githubusercontent.com/Automattic/simplenote-electron/develop/resources/images/icon_256x256.png -O/usr/share/icons/hicolor/256x256/apps/simplenote.png
echo -e "[Desktop Entry]\nType=Application\nName=SimpleNote\nIcon=simplenote\nExec=.apps/Simplenote-linux-2.0.0-x86_64.AppImage\nTerminal=false\nCategories=Office;" > ~/.local/share/applications/simplenote.desktop
update-desktop-database ~/.local/share/applications/

OnlyOffice Desktop Editiors

flatpak install flathub org.onlyoffice.desktopeditors

Flameshot screenshot utility

sudo swupd bundle-add qt-basic-dev
cd ~/Downloads/ && git clone https://github.com/lupoDharkael/flameshot && cd flameshot
cmake . && make -j4
sudo make install
cd ~/Downloads && rm -rf flameshot

Installation finished, navigate to Gnome Settings → Keyboard Shortcuts (scroll to the bottom) → +

Name: Any
Command: flameshot gui
Shortcut: bind something

Software development tools

Pycharm Professional Python IDE

flatpak install flathub com.jetbrains.PyCharm-Professional

Gitg

flatpak install flathub org.gnome.gitg

Atom

flatpak install flathub io.atom.Atom

System Administration

Winscp (sorry, but love this one)

cd ~/Downloads/ && wget https://winscp.net/download/WinSCP-5.17.6-Setup.exe

This will install Winscp , if you running Wine first time accept & install all required libs

wine WinSCP-5.17.6-Setup.exe

EasySSH

flatpak install flathub com.github.muriloventuroso.easyssh

Sqlitebrowser

cd ~/Downloads && git clone https://github.com/sqlitebrowser/sqlitebrowser.git && cd sqlitebrowser
cmake . && make -j4
sudo make install

Multimedia

Audacious music player

sudo swupd bundle-add audacious

VLC

flatpak install flathub org.videolan.VLC
11 Likes

I love this! :+1:

lol nice touch. :slight_smile:

This is a very useful piece. Thanks.

In my case Sqlitebrowser required the following devpkg to be installed first:

sudo swupd bundle-add devpkg-sqlite-autoconf

1 Like

A very interesting thread. Good job. I am waiting for interesting configurations of other users.

1 Like

Many thanks, this saved me a lot of time.

Thanks! Very usefull informations for a new user of CLR Linux like me.

1 Like