Linux

Execute bash script from URL on Linux command line

source <(curl -s https://senormedia.com/bash.sh)
bash <(curl -s https://senormedia.com/bash.sh)

Install with curl as well pass arguments

curl -s https://senormedia.com/bash.sh | bash -s arg1 arg2
Flag "-s" makes shell read from stdin.
bash <(wget -qO- https://senormedia.com/bash.sh)
wget -O - https://senormedia.com/bash.sh| bash

Install firmware Linux Debian Buster or Stretch

Go to link https://www.debian.org/releases/stable/armel/ch06s04.html.en

extract zip

open terminal in folder or cd into directory of firmware tar

sudo dpkg -i *.deb

basically, what this does is fills in the rest of the name in place of the * character. You may encounter an error saying dependencies not met, if you see this then you can run

sudo apt-get install -f

Things to do after installing Linux Debian Buster or Stretch

Keep Debian up to date
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
su -
apt-get install sudo
adduser "USERNAME" sudo
apt-get update
apt-get upgrade
reboot
install dash to dock extension

Configure non-free repositories

Open /etc/apt/sources.list using Nano text editor:

sudo nano /etc/apt/sources.list

//Add contrib non-free after main
example 
deb http://deb.debian.org/debian/ buster-updates main non-free contrib


sudo apt update
sudo apt upgrade
sudo reboot
sudo nano /etc/default/grub
sudo update-grub

[display-posts id=”36″]

Things to do after installing Ubuntu

sudo apt update && sudo apt upgrade && sudo apt full-upgrade
sudo ufw enable
sudo ufw status
sudo apt install gufw -y
sudo apt install gnome-tweak-tool -y
sudo apt-get install synaptic -y
Third-party Media Codecs & Extras

By default, Ubuntu does not provide any media codec to play multimedia files. So to enjoy movies, music, and entertaining application, you need to install media codecs. Use the following code into Terminal.

sudo apt install ubuntu-restricted-extras

Here I recommend installing the free version of libavcodec also to avoid an issue while performing media task with video editors or transcoder. Use the following code.

sudo apt install libavcodec-extra

Moreover, to enable encrypted DVD playback, you have to install… “libdvd-pkg.”

sudo apt install libdvd-pkg
sudo add-apt-repository ppa:linrunner/tlp
sudo apt update
sudo apt install tlp tlp-rdw
sudo apt install flatpak

And then, install the Flatpak plugin for GNOME Software Center.

sudo apt install gnome-software-plugin-flatpak

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
clean partial packages using a command

sudo apt-get autoclean

You can auto cleanup apt-cache

sudo apt-get clean

You can clean up of any unused dependencies

sudo apt-get autoremove
sudo apt purge ubuntu-web-launchers
apt-get install libvirt-bin libvirt-doc
kvm-ok

Install The Packages
sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
Add Your User To The Groups
$ sudo adduser username libvirt
$ sudo adduser username libvirt-qemu

View Some Of Our Services