Ubuntu Git install

How To Install and Set Up Git on Ubuntu
https://phoenixnap.com/kb/how-to-install-git-on-ubuntu


sudo apt update
sudo apt install git -y
git --version

Managing your personal access tokens
https://docs.github.com/en/enterprise-server@3.9/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

Create and store your GitHub personal access token
https://www.pragmaticlinux.com/2023/05/create-and-store-your-github-personal-access-token/

nano ~/.git-credentials

Next, enter the following on the first line. Make sure to replace user with your account’s username and pass with your personal access token:

https://user:pass@github.com

git config --global credential.helper store

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Ubuntu : install Miniconda, Jupyter notebook

,

mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh

Quick command line install
https://docs.anaconda.com/miniconda/install/#quick-command-line-install

$: python –version
Python 3.12.8

/home/zsolt/Python_projects/anaconda:
conda create –prefix /home/zsolt/Python_projects/anaconda/tensorflow1/env
conda activate /home/zsolt/Python_projects/anaconda/tensorflow1/env
conda deactivate
sudo apt install python3-pip
cd /home/zsolt/Python_projects/anaconda/tensorflow1/
install notebook: conda install jupyter
start: jupyter notebook

Install TensorFlow with pip
https://www.tensorflow.org/install/pip

python3 -m pip install 'tensorflow[and-cuda]'
# Verify the installation:
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

python -c “import tensorflow as tf; print(tf.config.list_physical_devices(‘GPU’))”

pip install --upgrade pip
pip install tensorflow[and-cuda]

Verify:
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

####################################

cd /home/zsolt/Python_projects/anaconda/tensorflow1/

conda activate /home/zsolt/Python_projects/anaconda/tensorflow1/env

jupyter notebook

####################################

uninstall TensorFlow:
(ezzel töröltem /home/zsolt/miniconda3/ a duplán installált TensorFlow-t
pip uninstall tensorflow
pip uninstall tensorflow-gpu

#########################################
NEM így!

pip install tensorflow-hub

A Jupyter Notbook-ban futtatni, mert különben máshova telepíti:
!pip install tensorflow-hub

Motherboard type

Ubuntu:
sudo dmidecode -t baseboard

####
Disable Secure boot