Open henryliangt opened 9 months ago
eog --version
sudo apt-get install eog
display -version
sudo apt-get install imagemagick
geeqie --version
sudo apt-get install geeqie
lsb_release -d
cat /etc/lsb-release
cat /etc/os-release
hostnamectl
dpkg -l | grep itk-snap
which fiji
ls -l
cd
cat xxx
less
touch xx
mkdir xx
cp a.txt b.txt
cp -r dir another_location
mv a.txt /s/s/
mv a.txt b.txt rename
rm -i a.txt
nano
clear
下载,解压,直接运行
./ImageJ-linux64
如果权限不对,
chmod +x ImageJ-linux64
sudo apt-get install aptitude
sudo aptitude install itksnap
sudo apt update
sudo apt install itk-snap
都无法找到源。
sudo add-apt-repository ppa:itk-snap/itk-snap-3.8
sudo add-apt-repository ppa:itk-snap/itk-snap-3.8 ERROR: ppa 'itk-snap/itk-snap-3.8' not found (use --login if private)
sudo apt update
sudo apt install itk-snap
也无法找到源。
查看安装文件源:
ls /etc/apt/sources.list.d/
cat /etc/apt/sources.list.d/filename
software-properties-gtk
看下,修改试试。
sudo nano /etc/apt/sources.list.d/neurodebian.sources.list
不行就删除。
sudo rm /etc/apt/sources.list.d/neurodebian.sources.list
然后更新APT包列表
sudo apt update
增加源:
**sudo** gedit /etc/apt/sources.list
增加这个官方源
deb http://cz.archive.ubuntu.com/ubuntu xenial main
paste in the url list.
save
sudo apt update
Ctrl Alt T
which itksnap
./itksnap
sudo ./itksnap
Text Editors:
sudo apt install gedit
gedit filename.txt
sudo apt install mousepad
mousepad filename.txt
sudo apt install pluma
pluma filename.txt
sudo apt install kate
kate filename.txt
vs code
code filename.txt
check package installed or not.
activate env in jupyter notebook
!conda activate %conda activate env
paste in the command 粘贴命令成文件,晚点调用运行 source /home/henry/anaconda3/env/sjtu/bin/activate
%run /home/env.sh
which environment am I in? Mac / Linux
echo $VIRTUAL_ENV
Windows
echo %VIRTUAL_ENV%
JupyterNotebook