Based on https://askubuntu.com/questions/1204571/how-to-install-chromium-without-snap
- Remove existing firefox
sudo apt auto remove firefox
- Add Debian buster repository. Create a file /etc/apt/sources.list.d/debian.list with the following content:
#!/data/data/com.termux/files/usr/bin/bash -e | |
cd "${HOME}" | |
## termux-exec sets LD_PRELOAD so let's unset it before continuing | |
unset LD_PRELOAD | |
## Workaround for Libreoffice, also needs to bind a fake /proc/version | |
## Default user is "kali" | |
user="kali" | |
home="/home/$user" | |
start="sudo -u kali /bin/bash" |
Based on https://askubuntu.com/questions/1204571/how-to-install-chromium-without-snap
sudo apt auto remove firefox
read this first https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification/generating-a-new-gpg-key
to better copy key use
gpg --armor --export <key_ID> > key.txt
open key.txt
from notepad and use it in github
Error probably may look like this
root@clenon:~# echo "test" | gpg --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
test
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device
Holding program is important when it dircetly running its compiled binary
for example in windows compiled file are in .exe
format that means they are applications and can be launched by a click
At this contition conio.h
has the thing we require
we getch();
to hold output
This is a c code example to use pointers in swapping and adding two variable
- we use getch at last to hold the process
#include <stdio.h>
#include
This process requires Superuser privilages.
we need systmd-nspawn application for doing this whole process. so we need to install it first. This pacakge is name as systemd-container
in most of the linux distributions and system-nspwan
in some distributions
sudo apt install -y systemd-container
sudo apt install -y systemd-nspawn
Basically defconf Realine
error occurs when there are missing packages,so to install the Just use
# If you are not root user
sudo apt install -y readline-common dialog perl
# if you are root user
apt install -y readline-common dialog perl
Whatever your linux distributions is if you see the error just install perl
,readline-common
,dialog
to solve the problem
# https://elixir.bootlin.com/linux/v4.3/ident/CAP_LAST_CAP | |
# first creating a file with 0 inside file | |
echo 0 > ~/cap_last_cap | |
# Next step is to bind the file cap_last_cap to /proc/sys/kernel/cap_last_cap | |
#for proot-distro with ubuntu-18.04 the command looks like | |
proot-distro login ubuntu-18.04 --bind cap_last_cap:/proc/sys/kernel/cap_last_cap |