Debian 9 Installation

Installing Debian GNU/Linux via USB

su root

restart: reboot, sync, init 6

shutdown: shutdown -h now, sync, init 0

Downloading Debian CD/DVD images via HTTP/FTP debian-9.9.0-i386-DVD-1.iso

Installing Debian GNU/Linux 9.9 in Dell Computer i386 via usb

  1. Debian GNU/Linux installer boot menu choose Graphical Install
  2. Select a language Chinese (Simplified)
  3. Configure the network 
  4. Hostname: debian
  5. Set up users and passwords (root)
  6. Configure the clock (default)
  7. Partition disks (recommended for new users)
  8. Software selection (don' t select any software)
  9. Finish the Installation

# https://jingyan.baidu.com/article/6d704a134fde4c28db51ca8b.html
restart computer
debian login: username
Password: ___________
username@debian:~$ su root
____________ # enter root password here
root@debian:/home/username# vi /etc/apt/sources.list
# https://www.runoob.com/linux/linux-vim.html
# modified # debian install cdrom 
# remember commands: pwd, cd, cd.., cd /, ls, cp, dmesg, mount
root@debian:/etc/apt# apt-get install sudo
root@debian:/etc/apt# sudo apt-get install python # install python 2.7.13-2
root@debian:/etc/apt# sudo apt-get install python-pip # install pip 
root@debian:/etc/apt# sudo apt-get install python-numpy # install numpy
root@debian:/etc/apt# sudo apt-get install python-scipy # install scipy
root@debian:/etc/apt# sudo apt-get install python-matplotlib # install matplotlib
root@debian:/etc/apt# su username

https://www.cnblogs.com/yuwensong/p/3860013.html
#root@debian:/etc/apt# sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
# https://www.scipy.org/install.html
# https://www.runoob.com/w3cnote/python-pip-install-usage.html

username@debian:~$ gcc --version
username@debian:~$ g++ --version
username@debian:~$ vi
#include <stdio.h>
int main()
{
   printf("This is my first Linux C program! \n");
   return 0;
}
:wq linuxc.c
username@debian:~$ gcc linuxc.c -o lc
username@debian:~$ ./lc
This is my first Linux C program!
# Linux C (first linux C)

# https://www.linuxidc.com/Linux/2018-03/151117.htm
username@debian:~$ python
>>> import numpy as np
>>> x = np.arange(1, 3, 0.01)
>>> y = np.sin(x)
>>> import matplotlib.pyplot as plt
>>> plt.plot(x,y)
# error here

https://blog.csdn.net/sh20100621/article/details/91492010

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值