Thursday, April 20, 2023

Ubuntu 18.04 Older Notes.

uget
sudo apt-add-repository ppa:plushuang-tw/uget-stable
sudo apt-get update
sudo apt-get install uget aria2

vlc
$ sudo add-apt-repository ppa:videolan/master-daily

deb http://ppa.launchpad.net/videolan/master-daily/ubuntu focal main
$ sudo apt update
$ sudo apt install vlc qtwayland5
$ sudo apt install libavcodec-extra

sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes


Download it from here: https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/pinguybuilder_18.4-1_all-alpha.deb/download

Once downloaded ‘CD’ to the folder where it is and run:

sudo dpkg -i pinguybuilder_18.4-1_all-alpha.deb
sudo apt-get install -f

add-apt-repository ppa:ubuntuhandbook1/audacity
apt update && sudo apt install audacity

git clone http://github.com/lwfinger/rtlwifi_new.git -b extended
cd rtlwifi
make
sudo make install
reboot

apt-get install ultracopier

sudo systemctl hibernate

This did not work for me. I try pm-hibernate which did not work for me either until I added missing package uswsusp

sudo apt install uswsusp  

install libelf-dev, libelf-devel or elfutils-libelf-devel"

apt install openshot

Things has to be done after installing Linux Lite 5.6

Remove Thunderbird
apt remove thunderbird

Remove libreoffice
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Go to folder  /home/<yourusername>/.local/share/applications and delete files Libreoffice-calc, Libreoffice-writer & Libreoffice-impress
Again go to the folder  /etc/skel/.local/share/applications and delete files Libreoffice-calc, Libreoffice-writer & Libreoffice-impress

Install Deluge / Transmission
apt install deluge
apt install transmission

Install testdisk for file recovery software
apt install testdisk

#Balena-etcher download for usb-flashing (startup disk)
apt install usb-creator-gtk

Install playonlinux for MS office etc
apt install playonlinux and install MS office 2016 - 32 bit
search the opt pacakge from virtualbox.com for ubuntu and install it for VMs.

Install pip3
apt install python3-pip

Install audacity - an audio editor
apt install audacity

Install openshot - a video editor
apt install openshot

#install cubic
apt install cubic

#Remastersys (optional)
apt-get install remaster-iso

Install Xtreme Download Manager
https://itsfoss.com/xtreme-download-manager-install/

Install Libreoffice
Download the latest Libre office and extract go to DEBS directory and run the below command
dpkg -i *.deb

Install neofetch
apt install neofetch

Install mouse server
dpkg -i mouseserver

Remove orphan packages
sudo apt-get install deborphan
deborphan
orphaner

wget https://go.skype.com/skypeforlinux-64.deb
apt install ./skypeforlinux-64.deb

pdfsam for pdf manipulations

Install brave browser
sudo apt install apt-transport-https curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser

screen recorder
apt install simplescreenrecorder

Software Ubuntu Budgie 22.04.2 LTS

Remove Thunderbird
apt remove thunderbird

Remove libreoffice
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Libreoffice latest
Download latest package from Libreoffice, extract the deb packages
https://www.libreoffice.org/download/download-libreoffice/
dpkg -i *.deb

xdm Downloader setup
https://xtremedownloadmanager.com/#downloads

vlc player - install inside the snap
snap install vlc

Download the atom deb package from the portal
dpkg -i atom*.deb
apt install -f

Deluge Torrent
apt install deluge

playonlinux wine frontend Software
apt install playonlinux - Remove this from budgie, if it fails.
2013 Office installation test - Did not support office 2016 yet

Virtualbox
Download latest from
https://www.virtualbox.org/wiki/Linux_Downloads
apt install virtualbox
apt install -f

Audio editor
apt install audacity

Install testdisk for file recovery software
apt install testdisk

Install openshot video editor
add-apt-repository ppa:openshot.developers/ppa
apt update
apt install openshot-qt python3-openshot

Install pip3
apt install python3-pip

Remove orphan packages
sudo apt-get install deborphan
deborphan

Install neofetch
apt install neofetch

Install mouse server
dpkg -i mouseserver

screen recorder with voice
apt install obs-studio

pdf manipulations
https://download.qoppa.com/pdfstudio/PDFStudio_linux64.sh
chmod +x PDFStudio_linux64.sh
./PDFStudio_linux64.sh
PDF Sam
https://github.com/torakiki/pdfsam/releases/download/v5.0.3/pdfsam-5.0.3-linux.tar.gz

Necessary steps after installing Ubuntu 20.04 LTS

Ubuntu 20.04 LTS soft
 

1.#apt install transmission # Transmission
2.https://subhra74.github.io/xdm/#downloads # Xtreme downloader
3.#apt install ultracopier  #Ultracopier
4.#apt install gnome-tweak-tool  #Gnome tweaks
5.#apt install gnome-chess  #Gnome-chess

6.PlayonLinux
apt install wine64
apt install winetricks
apt install playonlinux

WINEPREFIX=~/.wine/office2013 WINEARCH=win32 winecfg
cd /home/pna/.wine/
WINEPREFIX=~/.wine/office2013 WINEARCH=win32 winetricks
WINEPREFIX=~/.wine/office2013 WINEARCH=win32 winetricks msxml6
WINEPREFIX=~/.wine/office2013 WINEARCH=win32 wine filename.exe


7.KVM Refer https://linuxconfig.org/install-and-set-up-kvm-on-ubuntu-20-04-focal-fossa-linux
#apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
#ip a  #note down the LAN interface
#vim /etc/network/interfaces
auto br0

iface enp0s3 inet manual

iface br0 inet dhcp
    bridge_ports enp0s3
:wq - save the file

#adduser pna libvirt
#adduser pna libvirt-qemu

8.#apt install audacity - Audacity
9.#apt install vim - vim

10.Tor browser
#apt install torbrowser-launcher
#torbrowser-launcher

11.Libre office (Download the latest package and run dpkg -i *.deb)

12.VLC Refer: https://linuxconfig.org/ubuntu-20-04-vlc-installation
sudo apt install vlc
sudo apt install vlc-plugin-access-extra libbluray-bdj libdvdcss2
vlc

13.Google Chrome
sudo apt install gdebi-core wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb
google-chrome

14.#apt install terminator - Terminator
15.mouse server  # remote from phone
16.#apt install pinta # Image editor
17.#apt install kdenlive # Kdenlive - Videoeditor
18.#apt-get install lmms # Musicsoftware
19.#apt install testdisk #Testdisk
20.#apt-get install ansible -y
21.#apt install usb-creator-gtk  #Ubuntu startup disk
22.#apt install devede #Devede writer
23.#apt install brasero #brasero

24. Works only vob format
apt install pv
pv *.VOB > output.vob

25.#apt install blender  #Blender-3d editor
26.#apt install gimp  #Gimp Image Editor

27.#apt-get install ffmpeg
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4

28.#apt install pulseaudio-equalizer
apt install pavucontrol

29.#apt install soundconverter
30.Putty configuration / Termius from Ubuntu Software

31.#apt install docker.io
systemctl enable --now docker
usermod -aG docker pna
docker --version

32.sudo apt install chrome-gnome-shell

33.Cubic installation for remastersys ubuntu
sudo add-apt-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install cubic

apt install syslinux-utils
isohybrid /path/to/custom_iso.iso

34.apt-get install plank #dock for ubuntu

35.apt install squashfs-tools
http://www.linux-live.org/ - Download
#cd /tmp
#build

8.Virtualbox / 9.VMware15 pro - CU7J2-4KG8J-489TY-X6XGX-MAUX2

11.Openshot Videoeditor
sudo add-apt-repository ppa:openshot.developers/ppa
sudo apt update
sudo apt install openshot-qt

15.screen recorder - Ctrl+Alt+Shift+R to start or stop recording.
screenshot
sudo apt-add-repository ppa:sylvain-pineau/kazam
sudo apt update
sudo apt install kazam
sudo apt upgrade

Enable hibernate
 pm-hibernate

    $ sudo -i
    $ cd /var/lib/polkit-1/localauthority/50-local.d/
    $ gedit com.ubuntu.enable-hibernate.pkla

    [Re-enable hibernate by default in upower]
    Identity=unix-user:*
    Action=org.freedesktop.upower.hibernate
    ResultActive=yes
    [Re-enable hibernate by default in logind]
    Identity=unix-user:*
    Action=org.freedesktop.login1.hibernate
    ResultActive=yes

26.wget -O nero-64bit.deb http://drive.noobslab.com/data/apps/nero/nerolinux-4.0.0.0b-x86_64.deb
dpkg -i nerolinux
nero linux: 9M1K-0098-P3HL-PK6P-T6UA-1E5X-E557-8X41

30. zip -re output_file.zip file1 folder1
31. rm /var/lib/dpkg/lock-frontend

32. apt install cockpit
33. apt install nodejs
34. apt install screenfetch
35. apt install winbind cabextract (msxml6)
36. apt-get -y install python3-pip

Tuesday, April 4, 2023

How to Fix Error: Failed to Download Metadata for Repo ‘AppStream’ in CentOS 8.x

In CentOS8, you might have got the below error while updating the packages via yum/dnf.

"How to Fix Error: Failed to Download Metadata for Repo ‘AppStream’ in CentOS 8.x"

The below is the Cause of This Error:

You may well be aware that CentOS Linux 8 died a premature death, it reached the End Of Life (EOL) on December 31st, 2021, thus it no longer receives development resources from the official CentOS project.

This means that after Dec 31st, 2021, to update your CentOS installation, you are required to change the mirrors to CentOS Vault Mirror, where they will be archived permanently.

Here is the fix:

Type the below commands one by one fix the above error. It works good.

#sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
#sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
#dnf update

This is referred from https://www.tecmint.com/error-failed-to-download-metadata-for-repo-appstream/