Tags » Ubuntu.

How to install gtk-youtube-viewer from Github source into Ubuntu 18.04 LTS using a bash shell script

cd
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv ED75B5A4483DA07C
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9A2FD067A2E3EF7B
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EA8F35793D8809A
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9D6D8F6BC857C906
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8B48AD6246925553
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7638D0442B90D010
sudo apt update
sudo apt install git libncurses5-dev libtinfo-dev libreadline-dev pkg-config libgtk2.0-dev
sudo rm -rf youtube-viewer
git clone https://github.com/trizen/youtube-viewer
cd youtube-viewer
sudo cpan install CPAN ExtUtils::PkgConfig Module::Build inc::latest PAR::Dist Term::ReadLine::Gnu::XS Unicode::GCString LWP::Protocol::https Data::Dump JSON Gtk2 File::ShareDir
perl Build.PL --gtk
sudo ./Build installdeps
sudo ./Build install
# for best playback performance, choose mplayer as video player backend for gtk-youtube-viewer program
Ubuntu

How to generate new Hiren's Boot CD .iso image in Ubuntu 16.04 LTS from Github source

cd
sudo apt update
sudo apt install git
git clone --depth=1 --recursive https://github.com/HBCD/Hiren-s-Boot-CD-reborn.git
cd Hiren-s-Boot-CD-reborn
git pull --recurse-submodules
git submodule update --remote --recursive
mkisofs -R -D -J -l -joliet-long  -o ./myhbcd.iso -b HBCD/grldr -c HBCD/boot.cat -hide-joliet HBCD/boot.cat -hide HBCD/boot.cat -no-emul-boot -N -boot-info-table -V HirensBootCD  -boot-load-size 4 CD
ls -larth *.iso
Ubuntu

எப்படி லினக்சு இயங்குதளத்தில் கோப்பக பிழைகளைச் சரி செய்வது / How to rectify File System Errors in Linux OS?

பிழைகள்/Error: dmesg கட்டளையின் கடைசி 4 வரிகள்

[ 306.140067] EXT4-fs (vda1): error count since last fsck: 2
[ 306.140096] EXT4-fs (vda1): initial error at time 1522993704: __ext4_get_inode_loc:4100: inode 6555: block 570… 74 more words

Linux

Procedure to copy mp3 files from Youtube playlist in Ubuntu 17.10 to Android smartphone

# Procedure to copy mp3 files from Youtube playlist to Android smartphone
# Prerequisites: Ubuntu 17.10, bash shell, mp3gain, parallel (to use multi-core processors)
# Prerequisites: Google Chrome Web browser in Ubuntu, AirDroid on Android smartphone

#VARIABLES
TOOL=youtube-dl
INSTALLDIR=~/$TOOL

# install mp3gain (if not installed)
if ! 236 more words
Ubuntu

How to check if Ubuntu kernel is vulnerable to Spectre/Meltdown CPU bug using bash shell script

sudo apt update
sudo apt install git
cd
rm -rf spectre-meltdown-checker
git clone https://github.com/speed47/spectre-meltdown-checker.git
cd spectre-meltdown-checker
chmod +x spectre-meltdown-checker.sh
sudo ./spectre-meltdown-checker.sh

grep CONFIG_PAGE_TABLE_ISOLATION=y /boot/config-`uname -r` && echo "patched :)" || echo "unpatched :("
grep cpu_insecure /proc/cpuinfo && echo "patched :)" || echo "unpatched :("
dmesg | grep "Kernel/User page tables isolation: enabled" && echo "patched :)" || echo "unpatched :("
uname -a
Ubuntu