본문 바로가기

[Personal] Items/Informations

[Ubuntu] Installation useful program for Ubuntu 22.04 LTS

1. Breaktimer

sudo snap install breaktimer

 

2. Sticky Notes

sudo apt-add-repository ppa:umang/indicator-stickynotes
sudo apt update
sudo apt install indicator-stickynotes

 

3. Pycharm

sudo snap install pycharm-community --classic

 

4. Jupyter Notebook

sudo apt update && upgrade 

sudo apt install python3 
sudo apt install python3-pip 

sudo pip install jupyter 
# jupyter --version

 

Connect Jupyter Notebook to SSH connection

 

jupyter notebook --generate-config

python3
from notebook.auth import passwd
passwd()

vi /home/rpc/.jupyter/jupyter_notebook_config.py

 

Attach following code to opened file

  • c.NotebookApp.password = '[pw]'
  • c.NotebookApp.open_browser = False
  • c.NotebookApp.ip = '*'
  • c.NotebookApp.allow_origin = '*'
  • c.NotebookApp.password_required = True

 

Install Anaconda env and NBextensions

 

sudo apt update 
sudo apt install curl -y 

curl --output anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2022.10-Linux-x86_64.sh
bash anaconda.sh

# Attach environment variable of conda command 
sudo vi ~/.bashrc
export PATH=~/anaconda3/bin:~/anaconda3/condabin:$PATH

conda install -c conda-forge jupyter_contrib_nbextensions

 

5. R & Rstudio

sudo apt update 
sudo apt upgrade 

sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'

sudo apt install r-base

 

Solution for libicu66 package error

 

You need to download the libicu66 package from the following webiste : https://www.ubuntuupdates.org/package/core/focal/main/base/libicu66    

 

cd ~/Downloads
sudo dpkg -i libicu66_66.1-2ubuntu2_amd64.deb

 

wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2022.12.0-353-amd64.deb
sudo dpkg -i rstudio-2022.12.0-353-amd64.deb

 

6. DB(MySQL, PostreSQL)

 

7. Steam

sudo apt install steam

 

8. Git

sudo apt-get install git

git --version

git config --global user.name [name]
git config --global user.mail [mail]

git clone [repo url]

 

Source : https://foxtrotin.tistory.com/435