Saturday, 10 September 2022

How to update snap-store


1. ps aux | grep snap


  Find <process id> for the snap-store process 

  ... <process id> ... ... /snap/snap-store/???/usr/bin/snap-store
 
2. kill -9 <snap_store_proces_id>
 
3. sudo snap refresh snap-store
snap-store 41.3-63-gbd822db from Canonical✓ refreshed
 
 

Saturday, 16 July 2022

How To Install Zoom Client on Ubuntu 22.04 LTS

  1. sudo apt -y install wget
  2. wget https://zoom.us/client/latest/zoom_amd64.deb
  3. sudo apt install ./zoom_amd64.deb

Friday, 10 June 2022

How to Add a Directory to PATH in Linux and run burp - BurpSuiteCommunity



1. Check what directories are in your $PATH

echo $PATH

/opt/BurpSuiteCommunity/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

2. Add directory to PATH temporarly 

 export PATH="/opt/BurpSuiteCommunity/bin:$PATH"


3. Add directory to PATH permanently   

vim ~/.bashrc

export PATH="/opt/BurpSuiteCommunity:$PATH"

4. Execute command:

    cd /opt/BurpSuiteCommunity/

    sudo ln -s /opt/BurpSuiteCommunity/BurpSuiteCommunity burp

5. Run command:

    burp

 

Thursday, 20 January 2022

Problem with external monitor via HDMI or matrix on screen?

 Try rollback to previous kernel 5.11

and execute command 

sudo ubuntu-drivers autoinstall

should be ok

Friday, 17 December 2021

Purge/uninstall Minecraft from Ubuntu

 

Example for Minecraft:

  • Find out the package name:

    $ apt-cache search minecraft
    
    
  • Purge the package and its dependencies:

    $ sudo apt-get autoremove --purge minecraft
    [...some output...]
    

Thursday, 2 September 2021

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset),

 

apt-get install multipath-tools
 
manually
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 
locale-gen en_US.UTF-8
dpkg-reconfigure locales 
or
edit /etc/profile
add this lines to this file
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 
 
 

can't set the locale; make sure $LC_* and $LANG are correct

 /etc/locale.gen

uncoment  

  en_GB.UTF-8
  en_US.UTF-8


run locale-gen as root

 

 

How to update snap-store